Andreas Gohr
697ca7e2e1
fixed plugin name output on load error
2020-08-13 20:32:17 +02:00
Andreas Gohr
51c1fbb36b
no need to convert Errors to Exceptions
...
we handle Throwables anyway
2020-08-12 17:42:26 +02:00
Andreas Gohr
dbe0790d4c
FatalException and proper plugin detection
...
Using our own Exception makes it easier to differentiate fatal errors
from others in the log
2020-08-12 17:42:26 +02:00
Andreas Gohr
cb4cefebb3
add shutdown handler to even manage fatal errors
...
We can't catch some errors and they are not passed to the error_handler
either. But we can at least react to them in a shutdown function to show
a friendly message to the user and write our log.
2020-08-12 17:42:26 +02:00
Andreas Gohr
03e8a69a1e
reflow overlong line
2020-08-12 17:42:26 +02:00
Andreas Gohr
ffa84f8121
better exception handling on plugin loading
...
Now all important places where plugins are loaded are guarded by a
try/except. We're catching Throwables here to be able to catch stuff
like syntax errors early on (otherwise they will only be caught by our
ErrorConverter much too late). This means that this change requires PHP
7.0 minimum!
2020-08-12 17:42:26 +02:00
Andreas Gohr
0e69c9aff9
log stacktrace to error log
...
Ultimately the one responsible for fixing the problem will need this
anyway. Better log it right away for (hopefully) better bug reports
2020-08-12 17:42:26 +02:00
Andreas Gohr
7e0b27f2ad
guess which plugin was the source of an exception
...
This looks at filenames and classes involved in the stacktrace to see if
a plugin is referenced.
We're only guessing plugins here, because looking for templates may
cause false positives where templates load plugins.
2020-08-12 17:42:26 +02:00
Andreas Gohr
642e976cb6
introduce a global error handler
...
This transfers old style PHP errors into Exceptions and installs a
global exception handler. All exceptions caught by this handler are
logged to an error log and a meassage is shown to the end user. This
should finally get rid of "blank page" bug reports.
2020-08-12 17:42:26 +02:00
Andreas Gohr
04225b4a35
don't test on old PHP releases anymore
2020-08-12 17:41:18 +02:00
Andreas Gohr
3f874cb397
increase minimum PHP version to 7.2
2020-08-12 17:39:37 +02:00
Andreas Gohr
24486f8c92
fixed tests for cleanID and romanization for Greeklish
2020-08-12 16:47:08 +02:00
sintoris
1fa01e4a55
Improved the transliteration from greek to latin.
...
The patched version covers all greek letters and creates "greeklish" filenames
which use only roman letters and which are very readable to greek language
speakers.
2020-08-12 15:47:30 +02:00
Andreas Gohr
be15e51634
extension cli: do not try to upgrade bundled plugins
...
fixes #3227
2020-08-12 12:23:50 +02:00
Andreas Gohr
15b886048c
Merge pull request #3228 from annda/externallink-getter
...
Public access to patterns in external link parser
2020-08-12 12:05:53 +02:00
Anna Dabrowska
5c99934fa4
Public access to patterns in external link parser
2020-08-12 09:53:38 +02:00
Andreas Gohr
95b3bb8b3c
Merge pull request #3211 from rojenzaman/patch-1
...
"ı" character added to loweraccents.php
2020-08-10 15:28:57 +02:00
Henry Pan
78c3ba52a3
Merge pull request #3225 from dokuwiki-translate/lang_update_115_1596951590
...
Translation update (cs)
2020-08-09 10:36:06 -04:00
Petr Kajzar
b0760ac247
translation update
2020-08-09 07:41:12 +02:00
Henry Pan
be2e5391a8
Merge pull request #3223 from dokuwiki-translate/lang_update_114_1596786248
...
Translation update (zh)
2020-08-08 10:53:28 -04:00
Jenxi
cce551cd93
translation update
2020-08-07 09:46:12 +02:00
Henry Pan
d7fa198e5e
Merge pull request #3220 from dokuwiki-translate/lang_update_112_1596625609
...
Translation update (sk)
2020-08-05 12:27:38 -04:00
Henry Pan
a4f0b56ccf
Merge pull request #3221 from dokuwiki-translate/lang_update_113_1596633038
...
Translation update (sk)
2020-08-05 12:27:07 -04:00
Martin Michalek
67f1a0c115
translation update
2020-08-05 15:16:44 +02:00
Martin Michalek
b9b72303a4
translation update
2020-08-05 13:11:42 +02:00
Henry Pan
9d39854e66
Merge pull request #3219 from dokuwiki-translate/lang_update_111_1596591740
...
Translation update (zh-tw)
2020-08-04 21:59:22 -04:00
GHSRobert Ciang
fa33bdca3c
translation update
2020-08-05 03:46:04 +02:00
Henry Pan
e44ac5969a
Merge pull request #3213 from dokuwiki-translate/lang_update_109_1596119359
...
Translation update (ru)
2020-07-30 13:17:14 -04:00
Henry Pan
2db00dfc24
Merge pull request #3214 from dokuwiki-translate/lang_update_110_1596122861
...
Translation update (pt)
2020-07-30 13:16:09 -04:00
Paulo
dbdabbe012
translation update
2020-07-30 17:31:45 +02:00
Aleksandr Selivanov
2fcc9744ff
translation update
2020-07-30 16:31:12 +02:00
Guy Brand
054813bc7b
Release preparation
2020-07-29 11:32:06 +02:00
Rojen Zaman
a178f5e035
"ı" character added to loweraccents.php
...
The character "Lowercase dotless i" does not exist in the loweraccents.php file, I add to this.
2020-07-27 17:36:07 +03:00
Andreas Gohr
670dc13d7e
Installer: check for XML parser method. fixes #3207
2020-07-27 12:34:16 +02:00
Andreas Gohr
19ea627a05
temporarily use geshi master #3108
...
GeSHi/geshi-1.0#134 has been merged but a new release tag hasn't been
assigned, yet. Since this may take a while, this patch requires the master
branch. It should be reverted to a proper version again once it's
available.
2020-07-27 12:30:18 +02:00
Henry Pan
44d7799c4e
Merge pull request #3209 from dokuwiki-translate/lang_update_103_1595689363
...
Translation update (de)
2020-07-25 13:54:52 -04:00
Axel Schwarzer
f466f8ca3d
translation update
2020-07-25 17:06:12 +02:00
Andreas Gohr
499d9bcd90
hide extensions only when javascript is available
...
Progressive enhancement asks for having information available fon nonJS
users and transforming the interface by JS if available
2020-07-23 08:21:55 +02:00
Anna Dabrowska
56fc6b1541
More compact list of allowed file types in media uploader
2020-07-22 13:16:04 +02:00
Anna Dabrowska
0b30f01baa
Replace id with class in media uploader
2020-07-22 10:23:15 +02:00
Anna Dabrowska
6ed7a26d79
Display the list of allowed mime types in media uploader
2020-07-21 17:22:25 +02:00
Henry Pan
5463b52671
Merge pull request #3204 from dokuwiki-translate/lang_update_98_1594998123
...
Translation update (cs)
2020-07-17 13:49:15 -04:00
Petr Kajzar
2785e30792
translation update
2020-07-17 17:06:43 +02:00
Andreas Gohr
21e0c4ee85
Merge pull request #3166 from splitbrain/routerfix
...
Make router work with dotted page names. fixes #3165
2020-07-13 13:56:26 +02:00
Andreas Gohr
22222b3b00
Merge pull request #3176 from splitbrain/stylemgr
...
Style Manager Fixes
2020-07-13 13:37:31 +02:00
Andreas Gohr
a1c26920aa
adjust handling for greek characters. fixes #3188
...
This fixes an error in the case conversion table and removes "normal"
greek letters from the list of special characters. Mathematical symbols
based on greek letters are still considered special chars.
2020-07-01 11:02:39 +02:00
Andreas Gohr
5a56359cf3
skip redirect tests while httpbin is broken #3187
...
Until https://github.com/postmanlabs/httpbin/issues/617 is fixed or we
found an alternative, the redirect tests will be skipped.
2020-07-01 09:49:47 +02:00
Andreas Gohr
64604f4ea8
updated php-cli dependency
...
fixes a PHP 7.4 incompability
2020-07-01 09:40:56 +02:00
Andreas Gohr
0c5897cdc0
Merge pull request #3046 from takuy/media_resize_event
...
add new "MEDIA_RESIZE" event
2020-06-30 10:19:39 +02:00
Andreas Gohr
46a290c359
Merge pull request #3158 from ms101/issue3157-smd5-install
...
changed hash algo in install.php from smd5 to bcrypt
2020-06-30 09:23:55 +02:00