Commit Graph

6385 Commits

Author SHA1 Message Date
Andreas Gohr 413313a155 Merge branch 'logging'
* logging:
  added JavaScript based filter mechanism
  added logging configuration
  replaced out calls to dbglog with new Logger calls
  added convenience methods to log to our default facilities
  added logviwer admin plugin
  added log dir to git
  central logging mechanism
2020-12-03 20:01:57 +01:00
Andreas Gohr b102b83e6d Merge branch 'globalErrorHandling'
* globalErrorHandling:
  fixed plugin name output on load error
  no need to convert Errors to Exceptions
  FatalException and proper plugin detection
  add shutdown handler to even manage fatal errors
  reflow overlong line
  better exception handling on plugin loading
  log stacktrace to error log
  guess which plugin was the source of an exception
  introduce a global error handler
2020-12-03 20:01:33 +01:00
ANDRE BASSANI DE FREITAS a7d03b81e6 translation update 2020-11-25 23:56:40 +01:00
Andreas Gohr 769d8ef12d
Merge pull request #3346 from splitbrain/userrevert
Allow revert action for logged in users only
2020-11-25 21:03:29 +01:00
Andreas Gohr f015cb7680
Merge pull request #3344 from splitbrain/smileys
SVG based smileys
2020-11-25 20:58:40 +01:00
Andreas Gohr 190782098e stricter user check in AbstractUserAction 2020-11-25 20:57:38 +01:00
Satoshi Sahara 5525369fbf set proper revinfo when media meta file is not available
MediaChangelog::getRevision() may return false when media changes meta file is missing, cause error unsupported operand types.
2020-11-22 16:51:30 +09:00
Andreas Gohr 601a1f6035 Allow revert action for logged in users only
This should prevent accidental reverts by bots on open wikis
2020-11-20 23:13:47 +01:00
Andreas Gohr b09504a9ba SVG based smileys
This patch replaces our old gif based smileys by SVG based ones from the
Twemoji project. This allows for scaling the emojis with the text
they're used in.
2020-11-20 00:46:01 +01:00
Andreas Gohr 0465ea44b5
Merge pull request #3310 from splitbrain/mediacsp
Restrictive Content-Security-Policy for media #1045
2020-11-19 21:13:46 +01:00
Andreas Gohr 8b07fee4b3
Merge pull request #3251 from splitbrain/slika
use Slika for image resizing and cropping
2020-11-19 15:46:36 +01:00
Andreas Gohr e71d33ca86 scrutinizer fix 2020-11-19 15:34:02 +01:00
Petr Kajzar 079f521b03 translation update 2020-11-14 09:21:11 +01:00
Thien Hau b22e7f793f translation update 2020-10-31 15:21:39 +01:00
GHSRobert Ciang 65e83d3f06 Remove strings and files not yet translated 2020-10-28 11:45:50 +08:00
GHSRobert Ciang 0b1a77853a Initial batch of Minnan localization 2020-10-27 22:39:35 +08:00
qezwan fe23cd0436 translation update 2020-10-16 01:16:15 +02:00
Andreas Gohr 6cda96e3cf Restrictive Content-Security-Policy for media #1045
This adds a CSP header for all media delivered through our fetch.php
dispatcher. This should revent any scripts etc. to be executed when
scriptable media, like SVG is used.

Suggestions on finetuning the policy are welcome.

The policy is added to the MEDIA_SENDFILE event, so plugins can easily
influence it. The way it is passed as an array should make it easier to
modify from plugins as well.

I put the mechanism to send the header into it's own class in the HTTP
namespace. Additional methods from inc/httputils could be moved here
later. The method might also be interesting for #2198 and #1676.
2020-10-14 15:10:47 +02:00
Andreas Gohr a7e2efd2e2 replace deprecated function calls #3266 2020-10-13 15:29:48 +02:00
Syntaxseed 8368419bb5 Fix proper param order and use main function name instead of alias 'join'. 2020-10-13 13:59:35 +02:00
Andreas Gohr 0afbc17471
Merge pull request #3198 from ssahara/form
refactor html_* functions into Ui class member using Form\Form class
2020-10-13 13:42:24 +02:00
Andreas Gohr 96da53f636
Merge pull request #2443 from splitbrain/fixGetVersion
🐛 make getVersion() show the commit date, not checkout date
2020-10-13 13:15:56 +02:00
Andreas Gohr 206d3a69f5
Merge pull request #2433 from splitbrain/issue2399
Fixed broken link rendering for external links at start of line
2020-10-13 13:10:58 +02:00
Henry Pan 8e7c7f2f4d
Merge pull request #3304 from dokuwiki-translate/lang_update_189_1602308893
Translation update (ckb)
2020-10-10 11:14:15 -04:00
Gerrit Uitslag d7230743d8
Merge pull request #3302 from dokuwiki-translate/lang_update_186_1602307691
Translation update (ckb)
2020-10-10 10:34:10 +02:00
Henry Pan 34e9bd7c90
Merge pull request #3301 from dokuwiki-translate/lang_update_185_1602307627
Translation update (ckb)
2020-10-10 02:26:29 -04:00
Wrya 3990d3796c translation update 2020-10-10 07:51:39 +02:00
Wrya f40182a65d translation update 2020-10-10 07:32:44 +02:00
Wrya 2c5153f3d8 translation update 2020-10-10 07:31:24 +02:00
Wrya e5af74508c translation update 2020-10-10 07:27:54 +02:00
Crowdsource Kurdish 55b5a0954c translation update 2020-10-08 13:35:14 +02:00
Gerrit Uitslag d85ba5cce7
Merge pull request #3294 from dokuwiki-translate/lang_update_175_1602144872
Translation update (ckb)
2020-10-08 11:31:31 +02:00
Gerrit Uitslag a88cfa89fa
Merge pull request #3293 from dokuwiki-translate/lang_update_174_1602144759
Translation update (ckb)
2020-10-08 11:31:11 +02:00
Wrya 26d2ad0f01 translation update 2020-10-08 10:19:23 +02:00
Wrya 83b4ec5cf6 translation update 2020-10-08 10:18:02 +02:00
Wrya 0cc185e1de translation update 2020-10-08 10:16:42 +02:00
qezwan 5d251c7417 translation update 2020-10-08 02:16:29 +02:00
qezwan 29d503b13d translation update 2020-10-07 22:51:12 +02:00
qezwan 93d8575f80 translation update 2020-10-07 14:21:11 +02:00
Gerrit Uitslag c63d8a8587
Merge branch 'master' into lang_update_144_1601929169 2020-10-05 23:46:49 +02:00
Gerrit Uitslag 7a3616a3b3
Merge branch 'master' into lang_update_143_1601927185 2020-10-05 23:44:39 +02:00
Gerrit Uitslag b222229977
Merge branch 'master' into lang_update_139_1601923825 2020-10-05 23:41:17 +02:00
Gerrit Uitslag 3b73e66802
Merge branch 'master' into lang_update_138_1601923258 2020-10-05 23:37:08 +02:00
qezwan 66de2ac1b1 translation update 2020-10-05 22:20:35 +02:00
qezwan 8ae95f3d84 translation update 2020-10-05 21:50:33 +02:00
qezwan 2927f24d2f translation update 2020-10-05 21:15:19 +02:00
qezwan 0af567848f translation update 2020-10-05 20:55:05 +02:00
qezwan 471830b4f8 translation update 2020-10-05 20:45:12 +02:00
Satoshi Sahara 09e982a83e use EDIT_FORM_ADDTEXTAREA
change event name to prevent breaks in old HTML_EDIT_FORMSELECTION or early proposed EDIT_FORM_ALTERNATE event handler, such as edittable plugin
2020-09-27 11:59:39 +09:00
Satoshi Sahara 2162df3af4 update phpdoc 2020-09-13 09:55:38 +09:00