Commit Graph

10571 Commits

Author SHA1 Message Date
Phy cc4f6c2806
Fix comment 2020-05-03 23:26:30 -04:00
Phy 8277124305
show basename in extension manager list
This should help reduce confusions on extensions that have different name in
remoteInfo and localInfo.
2020-03-09 19:41:26 -04:00
Phy b2bc16e634
add remote/local forceSource to extension plugin and apply on ext search
Some info which is used for extension management (e.g. installed date, latest
version) is not being forced to pull from single source by those getters.

This closes #2965.
2020-03-09 19:35:07 -04:00
Henry Pan 7a0b5f30c2
Merge pull request #2136 from pandamasta/master
Add option rss_show_deleted
2020-03-09 18:04:44 -04:00
Phy 8de6bd9892
initialize rssRecentChanges flag to 0 2020-03-09 17:21:22 -04:00
Aurélien Martin 7b299f22af
Add option rss_show_deleted 2020-03-09 17:17:09 -04:00
Andreas Gohr 69a18e87a6
Merge pull request #3001 from dokuwiki-translate/lang_update_1452_1583738091
Translation update (ja)
2020-03-09 14:22:56 +01:00
HokkaidoPerson ef50b30460 translation update 2020-03-09 08:16:26 +01:00
Henry Pan b8b278447f
Merge pull request #2796 from schplurtz/drupal-and-seafile
add drupal and seafile password hash methods
2020-03-08 01:41:37 -05:00
Schplurtz le Déboulonné b98368cca0
fix typo in phpdoc comment 2020-03-07 12:17:04 -05:00
Phy b53267d3a1
Change cases of assertTrue in tests 2020-03-07 12:17:03 -05:00
Schplurtz le Déboulonné 862a2eaed2
fix missing $ in variable use 2020-03-07 12:17:03 -05:00
Schplurtz le Déboulonné 0f43ea44ae
add drupal and seafile hash methods 2020-03-07 12:16:56 -05:00
Andreas Gohr 47350e5c85
Merge pull request #2993 from splitbrain/issue1892
Add random_bytes check in installer
2020-03-04 18:18:15 +01:00
Andreas Gohr 728db97892
Merge pull request #2802 from splitbrain/interwiki-remove-golucky
Remove Google Lucky for non-existing interwiki links
2020-03-04 15:52:14 +01:00
Andreas Gohr bcb9e6dfd9
Merge pull request #2985 from movatica/fix_fperm
Fixed inconsistent handling of falsy values on fperm setting
2020-03-04 15:13:43 +01:00
Andreas Gohr 2cf4f729e4
Merge pull request #2987 from splitbrain/issue1716
calculate content min-height based on height of aside and pagetool
2020-03-04 15:10:58 +01:00
Andreas Gohr ef2fb1a85c
Merge pull request #2992 from kalenpw/master
Consistent capilization of io_saveFile and psr-2 formatting
2020-03-04 15:09:04 +01:00
Phy 5930516826
Remove obsolete attributes at <script> tag
Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag:

1. "type" attribute defaults to "application/javascript", so there is no need to specify that. The recent value "text/javascript" is obsolete in favor of the default "application/javascript", as stated e.g. here: https://www.iana.org/assignments/media-types/media-types.xhtml#text

2. "charset" attribute of the <script> tag defaults to encoding be the same as the encoding of the script element's node document. As DokuWiki's default encoding is "utf-8", there is no need to specify this encoding in external resources. See: https://html.spec.whatwg.org/multipage/scripting.html#the-script-element

Manual merging, closes #2921.

Co-Authored-By: petrkajzar <58340153+petrkajzar@users.noreply.github.com>
2020-03-02 10:03:06 -05:00
kalenpw 30ee886704 Use getters instead of deprecated property 2020-02-28 22:21:52 -07:00
Phy 387250efa9
Add random_bytes check in installer
Fixes #1892. This will be triggered by:

- PHP 7+: "If an appropriate source of randomness cannot be found, an Exception will be thrown"
- paragonie/random_compat: PHP 5.6 support will fail if urandom is not readable
2020-02-28 23:36:35 -05:00
kalenpw 033eb35b20 Consistent capilization of io_saveFile and psr-2 formatting 2020-02-28 20:06:17 -07:00
Andreas Gohr f17724f821
Merge pull request #2991 from bleistivt/patch-2
Show pencil symbol on preview
2020-02-28 22:32:56 +01:00
bleistivt 2f19acc241
Show pencil symbol on preview 2020-02-28 20:05:22 +01:00
Henry Pan 4bb9157a2f
Merge pull request #2990 from dokuwiki-translate/lang_update_1450_1582877913
Translation update (no)
2020-02-28 08:03:31 -05:00
Torgeir Blesvik 35253a835c translation update 2020-02-28 09:21:11 +01:00
Henry Pan ef401fdcd7
Merge pull request #2989 from splitbrain/jquery-migrate-3.1
jquery-migrate: replace on()/trigger() shorthand and use prop() for disabled attr
2020-02-26 19:05:39 -05:00
Phy 050990ca53
jquery-migrate: replace on()/trigger() shorthand and use prop() for disabled attr
Related to #1546.
2020-02-23 23:22:29 -05:00
Phy 649a27258d
calculate content min-height based on height of aside and pagetool
Fixes #1716. Before it will only set min-height based on aside height.

I added a current height check before applying min-height, because there might be a min-height CSS on .page in stylesheet, and I want to respect that and only apply if necessery.
2020-02-22 15:28:25 -05:00
Andreas Gohr 6cb645bfb1
Merge pull request #2969 from splitbrain/workflowAdjustments
GitHub workflow adjustments
2020-02-22 21:26:56 +01:00
Andreas Gohr 6d7e4f8269
Merge pull request #2983 from ssahara/extension-manager
refactor Extension manager
2020-02-20 13:41:03 +01:00
Satoshi Sahara f11bfd3666 check linktype of bugtrackerURL
The "report bugs" link in the plugin's home page may be located to the same page in some extensions.
2020-02-20 19:34:08 +09:00
Michael Große 36faf6960d
Split out temporary code style excludes
Splitting them out allows for plugins to use _test/phpcs.xml as the
basis for their own linting without having an overly permissive coding
standard.
Also, this makes it more obvious and painful that these are just
intended as temporary exceptions and should be actually fixed.

The rule `Generic.ControlStructures.InlineControlStructure.NotAllowed`
has its comment adjust to make it clear that this is an intended
deviation from the PSR-2/PSR-12 coding standard.

The rule `PSR1.Classes.ClassDeclaration.MissingNamespace` has to remain
in the DokuWiki coding standard as the plugin base classes can currently
not reasonably be in namespaces.
2020-02-19 10:55:56 +01:00
Satoshi Sahara a72f333f8e fix url parameter separator in gui::tabURL() 2020-02-19 14:51:56 +09:00
Satoshi Sahara b0b7d1963c revert aliasing FormWriter class 2020-02-19 14:35:28 +09:00
Satoshi Sahara ad4abe1df5 lowercase variable name 2020-02-19 10:10:16 +09:00
movatica 9fdcc8fcd8 Respect fmode config setting
Fix hardcoded fmode overriding user config, which breaks with nondefault environments.
2020-02-18 21:46:31 +01:00
movatica 3aa7587497 Fixed inconsistent handling of falsy values on fperm setting
The $conf['fperm'] value was checked in multiple files using different methods.
This can cause permission trouble with restricted environments, i.e. when chmod is forbidden and file permissions are non-default.
Now, all checks use implicit cast to boolean which leads to consistent behaviour.

Also, a misleading variable was renamed in context to better understand one of the checks.
2020-02-18 19:29:53 +01:00
Satoshi Sahara b49dd295c3 set action attribute for form tags 2020-02-18 21:47:22 +09:00
Satoshi Sahara bc580cbb8c label.block design compatibility
render <br> after <input> tag inside <label class="block"> elements.
to be compatible with Doku_Form::form_textfield(), form_filefield()
2020-02-18 20:01:32 +09:00
Satoshi Sahara 1d4a5a70d1 fix bundled extension list 2020-02-16 11:35:36 +09:00
Satoshi Sahara cd80a50546 bugfix: not work enable/disable plugin buttons 2020-02-15 08:42:57 +09:00
Satoshi Sahara 67fb6a5d05 rewrite code using Form\Form class 2020-02-15 08:40:56 +09:00
Satoshi Sahara 86e8f706d2 coding style 2020-02-15 01:55:20 +09:00
Satoshi Sahara 3656381456 Merge remote-tracking branch 'upstream/master' into extension-manager 2020-02-12 08:13:41 +09:00
Satoshi Sahara cf83359537 PSR-12 coding style 2020-02-12 08:13:06 +09:00
Satoshi Sahara 7be7cd38d3 respect conf['target'] for Docs and Bugs links
fix #2912
2020-02-11 23:05:06 +09:00
Satoshi Sahara f531b2b251 better variable name 2020-02-11 22:42:32 +09:00
Andreas Gohr d4f6a7852c
Merge pull request #2959 from splitbrain/fixDoku_ParserCompat
Restore Doku_Parser backward compatibility
2020-01-28 22:03:06 +01:00
Andreas Gohr 77bf62cbb3
Merge pull request #2974 from splitbrain/deferJS
Defer javascript and add feature Flag
2020-01-28 22:02:24 +01:00