History log of /dokuwiki/inc/ (Results 1476 – 1500 of 6649)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
64cdf77930-Oct-2018 Andreas Gohr <gohr@cosmocode.de>

add event to check access to admin plugins

This adds a new method that capsulates the access check that has to be
done to decide if an admin plugin's page should be shown to the user.
The default im

add event to check access to admin plugins

This adds a new method that capsulates the access check that has to be
done to decide if an admin plugin's page should be shown to the user.
The default implementation is the same as before, relying only on the
forAdminOnly() method and the users' isadmin or ismanager status.

Admin plugins themselves can override the method to do additional
checks. In this patch, I added that to the usermanager plugin which will
only return true if the current auth backend can list users.

However the real idea behind this change is that the new method emits a
new event called ADMINPLUGIN_ACCESS_CHECK which would allow plugins to
overwrite it. This way it could be possible to give certain user groups
access to certain admin plugins without giving them admin or manager
permissions.

Note: this does not change how the "Admin" link is shown, it still
depends on ismanager or isadmin. A plugin as mentioned above would need
to influence the display via the MENU_ITEMS_ASSEMBLY event.

Note: this only covers the basic access check. Admin plugins may need
further adjustments for access to other parts of the plugin (like AJAX
components). An additional commit will update this for the bundled
plugins.

show more ...

8f8499fa26-Oct-2018 peterfromearth <coder@peterfromearth.de>

add logic if the server uses unlimited memory, memory_limit = -1

e9fede2022-Oct-2018 Phy <git@phy25.com>

unify send_redirect(wl()) parameters
- always use absolute URL
- use static string instead of array if no concat is required
- use '&' instead of '&amp;'

cc21cb5022-Oct-2018 Andreas Gohr <andi@splitbrain.org>

Update inc/Action/Search.php

Co-Authored-By: schplurtz <schplurtz@laposte.net>

918638dc21-Oct-2018 Schplurtz le Déboulonné <Schplurtz@laposte.net>

use wl() when reditecting old style search url

fixes #2546

f1a7f0c218-Oct-2018 Schplurtz le Déboulonné <schplurtz@laposte.net>

translation update

64bd72d316-Oct-2018 Quenti <pages_quentin@hotmail.com>

translation update

45c4a35b14-Oct-2018 Dmytro Marchenko <dmytro.marchenko1989@gmail.com>

translation update

d2dde00e14-Oct-2018 Dmytro Marchenko <dmytro.marchenko1989@gmail.com>

translation update

1b26602513-Oct-2018 Phy <git@phy25.com>

getRecents(): prevent non-exist changelog error. Fixes #2440.

This is based on #2506 but with a different approach to deal with unknown read error: If file function doesn't return an array, set it t

getRecents(): prevent non-exist changelog error. Fixes #2440.

This is based on #2506 but with a different approach to deal with unknown read error: If file function doesn't return an array, set it to an empty array. Somewhat pythonic?

show more ...

635df88513-Oct-2018 Phy <git@phy25.com>

revert text direction change for translation (fa) in #2508

226545d113-Oct-2018 Riccardo <riccardo.furlato@gmail.com>

translation update

7848880f11-Oct-2018 Adolfo Jayme Barrientos <fito@libreoffice.org>

translation update

c163dbef08-Oct-2018 Michael Große <grosse@cosmocode.de>

�� Better deprecation annotation for DOKU_TPL*

This syntax can be used by IDEA and other IDEs to mark the constants as
deprecated in the editor.

ea78ef0a27-Sep-2018 José Vieira <jmsv63@gmail.com>

translation update

0db7a50d27-Sep-2018 Thammi <thammi@chaossource.net>

Hide login form on denied page if login is disabled

2eaa056720-Sep-2018 peterfromearth <coder@peterfromearth.de>

add check if a page has once existed and show new onceexisted page

1759e99919-Sep-2018 Masoud Sadrnezhaad <masoud@sadrnezhaad.ir>

translation update

f25f0dfc15-Sep-2018 no credits taken <someone@cambodia.kh>

translation update

743792d015-Sep-2018 LarsGit223 <lars_paulsen@web.de>

Another scrutinizer fix.

d31a159915-Sep-2018 LarsGit223 <lars_paulsen@web.de>

Added type check to fix scrutinizer message.

102cdbd715-Sep-2018 LarsGit223 <lars_paulsen@web.de>

Auth/Mailer: properly handle usernames including a comma

Prevent splitting of e-mail addresses at the wrong point by enclosing a username in '"'.
The "To" e-mail address in the notification mail was

Auth/Mailer: properly handle usernames including a comma

Prevent splitting of e-mail addresses at the wrong point by enclosing a username in '"'.
The "To" e-mail address in the notification mail was malformed if a new user was added
and included a ',' in it's name. Fixes #1569.

show more ...

e062763915-Sep-2018 Quenti <mozilla@quentino.fr>

translation update

68d9ab9012-Sep-2018 Quenti <mozilla@quentino.fr>

translation update

fbdd6dea12-Sep-2018 Aleksandr Selivanov <alexgearbox@yandex.ru>

translation update

1...<<51525354555657585960>>...266