History log of /dokuwiki/lib/ (Results 251 – 275 of 4519)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
f657e5d027-Apr-2023 Andreas Gohr <andi@splitbrain.org>

Add JSON based alternative to XMLRPC

XMLRPC is a rather outdated and old-fashioned protocol not much in use
anymore. Developers prefer simpler, JSON based APIs.

This adds a new "JSONRPC" API. Basic

Add JSON based alternative to XMLRPC

XMLRPC is a rather outdated and old-fashioned protocol not much in use
anymore. Developers prefer simpler, JSON based APIs.

This adds a new "JSONRPC" API. Basically it exposes exactly the same
method calls as the XMLRPC API but using JSON instead of XML. It's not a
classical REST API, but should be just as easy to use for developers.

Here is an example call using CURL:

curl http://localhost/dokuwiki/lib/exe/jsonrpc.phs \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $token" \
-d '["wiki"]'

Please note that the above uses the token auth implemented in #2432.
Authentication via basic auth or cookies would work as well.

show more ...

2e60baea20-Apr-2023 Andreas Gohr <andi@splitbrain.org>

Avoid flicker when highlighting a section

Previously, elements were wrapped in a div on hover and unwrapped when
the mouse was moved again. This generally worked okay, but led to
problems where the

Avoid flicker when highlighting a section

Previously, elements were wrapped in a div on hover and unwrapped when
the mouse was moved again. This generally worked okay, but led to
problems where the wrapped section contained elements with their own
rendering context (video, object, iframe, ...). The wrapping caused
rerendering of these elements resulting in flicker and layoutshift:

splitbrain/dokuwiki-plugin-vshare#13
cosmocode/dokuwiki-plugin-diagrams#4

This patch changes the higlighting mechanism to always wrap *all*
sections in a div and only toggle classes on hover. Class names have
been chosen to be backwardscompatible, so this should continue to work
as before in all templates.

show more ...

fabd7cce06-Apr-2023 Damien Regad <dregad@mantisbt.org>

PR review fixes

aef0dd8c05-Apr-2023 Damien Regad <dregad@mantisbt.org>

Improve Popularity plugin intro text

0f9b97d704-Apr-2023 Andreas Gohr <andi@splitbrain.org>

support SVG logo in dokuwiki template

Inspired by https://forum.dokuwiki.org/d/20964-logo-too-big this adds
SVG support for setting the logo in the dokuwiki template.

Note: This introduces a fixed

support SVG logo in dokuwiki template

Inspired by https://forum.dokuwiki.org/d/20964-logo-too-big this adds
SVG support for setting the logo in the dokuwiki template.

Note: This introduces a fixed height for the logo (64px), previously
users could decide their logo size by simply uploading it in the right
size. Users who want a larger sized logo will have to override the
height in a userstyle now

show more ...

5f55167d04-Apr-2023 Marek Adamski <fevbew@wp.pl>

translation update

1aa2c37f31-Mar-2023 Gerrit Uitslag <klapinklapin@gmail.com>

two extra '; are invalid php, also the translation tool does not accept this

https://github.com/dokufreaks/dokuwiki-translation/issues/109

d0eb8bfe30-Mar-2023 Andreas Gohr <andi@splitbrain.org>

simplify media manager panel height

The height of the panel was calculated in JavaScript, trying to use the
remaining space. With larger headers that lead to a relatively small
area. In addition the

simplify media manager panel height

The height of the panel was calculated in JavaScript, trying to use the
remaining space. With larger headers that lead to a relatively small
area. In addition the height calculation behaved weirdly on certain
resolutions (in some templates) resulting in a decreasing height on each
image interaction.

This patch simply sets the panel height 60% of the browser window using
the vh unit (which was not available when the media manager was
written).

To keep backward compatibility and not accidentally break a bunch of
templates, the height is still set from JavaScript but only once instead
of updating it on every resize operation.

A proper refactoring of the whole media manager code is still something
we need to tackle in the future, but this change should make it slightly
better.

show more ...

38afa93029-Mar-2023 Gilson Caldeira <gilsoncaldeira@gmail.com>

translation update

b4af56dc12-Mar-2023 Moritz Raguschat <moritz.raguschat@web.de>

Do not reminify minified plugin scripts

Adresses point 5) of #3645

af28745a12-Mar-2023 Andreas Gohr <andi@splitbrain.org>

extracted JS compressor into its own library

This moves our JavaScript compressor into its own composer dependency.

bb419b0123-Mar-2023 cadetill <cadetill@gmail.com>

translation update

1eb3939922-Mar-2023 fiwswe <53953985+fiwswe@users.noreply.github.com>

Correction to fix of corner case

Fixes https://github.com/dokuwiki/dokuwiki/pull/3928/commits/e7794be61135b07c6227c367ebf735ba94a2b200

IMHO paying the test on the same variable (`$size`) as in th

Correction to fix of corner case

Fixes https://github.com/dokuwiki/dokuwiki/pull/3928/commits/e7794be61135b07c6227c367ebf735ba94a2b200

IMHO paying the test on the same variable (`$size`) as in the original test in https://github.com/dokuwiki/dokuwiki/blob/775003a7dfc8824e655f040724abfb8255c6da03/lib/plugins/logviewer/admin.php#L143 is better/more clear than basing it on something caused as a result of that test, i.e. `$toread` having a specific value.

show more ...

9c69747921-Mar-2023 fiwswe <53953985+fiwswe@users.noreply.github.com>

Always close log file

Close the log file even when exceptions are thrown when trying to read from it.

e7794be621-Mar-2023 fiwswe <53953985+fiwswe@users.noreply.github.com>

Fix a corner case

When the log file is exactly 1 MB (MAX_READ_SIZE) In size, the first line(s) would not be shown.

775003a720-Mar-2023 Hamid <hamid0x4c@gmail.com>

Avoid out-of-memory problems in log viewer

fixes #3919

Squashed commit of the following:

commit 322d0846f39b0641ab7af69e24d1bd70a95b58b5
Author: Andreas Gohr <andi@splitbrain.org>
Date: Mon Mar

Avoid out-of-memory problems in log viewer

fixes #3919

Squashed commit of the following:

commit 322d0846f39b0641ab7af69e24d1bd70a95b58b5
Author: Andreas Gohr <andi@splitbrain.org>
Date: Mon Mar 20 18:45:30 2023 +0100

some more simplifications for the log viewer

* use exceptions to abort on read errors
* use the same fread call regardless of log size

commit b8a3dfbd90a77811db380510cc279f973c92bd01
Author: Hamid <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:49:41 2023 +0330

Fix code style

commit aa0e5b6692f9c26a9c22875111760803e280c9ac
Merge: 23b372c94 ac1d8211a
Author: Hamid <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:39:05 2023 +0330

Merge branch 'dokuwiki:master' into fix-display-large-log

commit 23b372c94d466ff3436177bf8386c879b78c5777
Merge: d82b8818c e410a7b8f
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:35:07 2023 +0330

Merge branch 'fix-display-large-log' of github.com:Adibzadeh/dokuwiki into fix-display-large-log

commit d82b8818c86f614f7d504cf19ad6d0492bb6d92f
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Mon Mar 20 17:29:43 2023 +0330

Use only fopen to read logfile

commit e410a7b8fa7663039bbdcfd6a90aed89877bb744
Author: Hamid <hamid0x4c@gmail.com>
Date: Sat Mar 18 10:30:19 2023 +0330

White-space removed

commit 8f1ad23f785b1cccb790b39371b8989514777a38
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Sat Mar 18 10:12:16 2023 +0330

Refactoring getLogLines and code improvements

commit 37a0e60c920343ff45ed12ede2cf96c2251108a3
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Sat Mar 18 00:27:27 2023 +0330

Refactoring and improve error handling

commit 25d3465289053130546c9066c82b0b620f596c33
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Sat Mar 18 00:00:59 2023 +0330

Translation for log errors in Fa and En

commit cc96b9babee12e4f4678380208685b3497a29b70
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Fri Mar 17 00:34:06 2023 +0330

code improve

commit 9c0e42285fc8d553e26c030d407d46f69f8c3d91
Author: Hamid <hamid0x4c@gmail.com>
Date: Tue Mar 14 18:16:23 2023 +0330

variable name fixed

commit 89124317ba2cccc12cb506f4d641a9e6288969e1
Author: Hamid <hamid0x4c@gmail.com>
Date: Tue Mar 14 18:13:30 2023 +0330

tab indent fix

commit b154bfde3ecd2039c16b8f8002ada291301e19b2
Author: Hamid Adibzadeh <hamid0x4c@gmail.com>
Date: Tue Mar 14 17:21:09 2023 +0330

fix #3919 log viewer runs into OOM

show more ...

e07ac4ba12-Mar-2023 Yves Nevelsteen <yves.nevelsteen@gmail.com>

translation update

a46a7ce310-Mar-2023 asivery <asivery@protonmail.com>

Fix: Do not garbage collect the JpegMeta object after reading a tag

4e4e74c510-Mar-2023 Andreas Gohr <andi@splitbrain.org>

jQuery and jQuery UI updates


/dokuwiki/data/deleted.files
/dokuwiki/inc/lang/af/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ar/jquery.ui.datepicker.js
/dokuwiki/inc/lang/az/jquery.ui.datepicker.js
/dokuwiki/inc/lang/be/jquery.ui.datepicker.js
/dokuwiki/inc/lang/bg/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ca/jquery.ui.datepicker.js
/dokuwiki/inc/lang/cs/jquery.ui.datepicker.js
/dokuwiki/inc/lang/cy/jquery.ui.datepicker.js
/dokuwiki/inc/lang/da/jquery.ui.datepicker.js
/dokuwiki/inc/lang/de-informal/jquery.ui.datepicker.js
/dokuwiki/inc/lang/de/jquery.ui.datepicker.js
/dokuwiki/inc/lang/el/jquery.ui.datepicker.js
/dokuwiki/inc/lang/eo/jquery.ui.datepicker.js
/dokuwiki/inc/lang/es/jquery.ui.datepicker.js
/dokuwiki/inc/lang/et/jquery.ui.datepicker.js
/dokuwiki/inc/lang/eu/jquery.ui.datepicker.js
/dokuwiki/inc/lang/fa/jquery.ui.datepicker.js
/dokuwiki/inc/lang/fi/jquery.ui.datepicker.js
/dokuwiki/inc/lang/fo/jquery.ui.datepicker.js
/dokuwiki/inc/lang/fr/jquery.ui.datepicker.js
/dokuwiki/inc/lang/gl/jquery.ui.datepicker.js
/dokuwiki/inc/lang/he/jquery.ui.datepicker.js
/dokuwiki/inc/lang/hi/jquery.ui.datepicker.js
/dokuwiki/inc/lang/hr/jquery.ui.datepicker.js
/dokuwiki/inc/lang/hu/jquery.ui.datepicker.js
/dokuwiki/inc/lang/hy/jquery.ui.datepicker.js
/dokuwiki/inc/lang/id/jquery.ui.datepicker.js
/dokuwiki/inc/lang/is/jquery.ui.datepicker.js
/dokuwiki/inc/lang/it/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ja/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ka/jquery.ui.datepicker.js
/dokuwiki/inc/lang/kk/jquery.ui.datepicker.js
/dokuwiki/inc/lang/km/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ko/jquery.ui.datepicker.js
/dokuwiki/inc/lang/lb/jquery.ui.datepicker.js
/dokuwiki/inc/lang/lt/jquery.ui.datepicker.js
/dokuwiki/inc/lang/lv/jquery.ui.datepicker.js
/dokuwiki/inc/lang/mk/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ml/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ms/jquery.ui.datepicker.js
/dokuwiki/inc/lang/nl/jquery.ui.datepicker.js
/dokuwiki/inc/lang/no/jquery.ui.datepicker.js
/dokuwiki/inc/lang/pl/jquery.ui.datepicker.js
/dokuwiki/inc/lang/pt-br/jquery.ui.datepicker.js
/dokuwiki/inc/lang/pt/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ro/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ru/jquery.ui.datepicker.js
/dokuwiki/inc/lang/sk/jquery.ui.datepicker.js
/dokuwiki/inc/lang/sl/jquery.ui.datepicker.js
/dokuwiki/inc/lang/sq/jquery.ui.datepicker.js
/dokuwiki/inc/lang/sr/jquery.ui.datepicker.js
/dokuwiki/inc/lang/sv/jquery.ui.datepicker.js
/dokuwiki/inc/lang/ta/jquery.ui.datepicker.js
/dokuwiki/inc/lang/th/jquery.ui.datepicker.js
/dokuwiki/inc/lang/tr/jquery.ui.datepicker.js
/dokuwiki/inc/lang/uk/jquery.ui.datepicker.js
/dokuwiki/inc/lang/vi/jquery.ui.datepicker.js
/dokuwiki/inc/lang/zh-tw/jquery.ui.datepicker.js
/dokuwiki/inc/lang/zh/jquery.ui.datepicker.js
/dokuwiki/inc/parserutils.php
scripts/jquery/jquery-ui-theme/images/ui-bg_glass_55_fbf9ee_1x400.png
scripts/jquery/jquery-ui-theme/images/ui-bg_glass_65_ffffff_1x400.png
scripts/jquery/jquery-ui-theme/images/ui-bg_glass_75_dadada_1x400.png
scripts/jquery/jquery-ui-theme/images/ui-bg_glass_75_e6e6e6_1x400.png
scripts/jquery/jquery-ui-theme/images/ui-bg_glass_95_fef1ec_1x400.png
scripts/jquery/jquery-ui-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png
scripts/jquery/jquery-ui-theme/images/ui-icons_222222_256x240.png
scripts/jquery/jquery-ui-theme/images/ui-icons_2e83ff_256x240.png
scripts/jquery/jquery-ui-theme/images/ui-icons_454545_256x240.png
scripts/jquery/jquery-ui-theme/images/ui-icons_888888_256x240.png
scripts/jquery/jquery-ui-theme/images/ui-icons_cd0a0a_256x240.png
scripts/jquery/jquery-ui-theme/smoothness.css
scripts/jquery/jquery-ui.min.js
scripts/jquery/jquery.min.js
scripts/jquery/update.sh
scripts/jquery/versions
b43a139510-Mar-2023 Andreas Gohr <andi@splitbrain.org>

MediaManager: remove check for removed option

The refshow option has been removed in
3e7e02779454686e1c639eb366a195bd1ab50458 and should not have been
checked anymore. This fixes a warning on PHP8 w

MediaManager: remove check for removed option

The refshow option has been removed in
3e7e02779454686e1c639eb366a195bd1ab50458 and should not have been
checked anymore. This fixes a warning on PHP8 when deleting a media
file.

Replaces #3912

show more ...

3f21dca708-Mar-2023 Gorm <gorm.chandler@gmail.com>

translation update

6554606706-Mar-2023 Aleksandr Selivanov <alexgearbox@yandex.ru>

translation update

24fc7b3406-Mar-2023 better <betterzhubo@live.com>

translation update

dd4d1f7428-Feb-2023 Jose Luis Sanches <jose.reis.sanches@gmail.com>

translation update

9349702013-Feb-2023 Andreas Gohr <andi@splitbrain.org>

AuthPlain user parsing fix. #3833

This removes workarounds we had for old PCRE versions. All modern PHP
releases should be workable with the Regex we have.

If splitting the user line results in les

AuthPlain user parsing fix. #3833

This removes workarounds we had for old PCRE versions. All modern PHP
releases should be workable with the Regex we have.

If splitting the user line results in less than 5 results, we log an
error and pad the result for further use.

show more ...

1...<<11121314151617181920>>...181