- Oct 30, 2018
-
-
Andreas Gohr authored
Since we want to check the access to the Admin plugins on an individual basis, we need to grant access to all logged in users at first. This means a user could access the admin page, but would not see any plugins available.
-
Andreas Gohr authored
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.
-
- Oct 26, 2018
-
-
peterfromearth authored
-
- Oct 17, 2018
-
-
Schplurtz le Déboulonné authored
-
Schplurtz le Déboulonné authored
-
- Oct 16, 2018
-
-
Quenti authored
-
- Oct 14, 2018
-
-
Dmytro Marchenko authored
-
Dmytro Marchenko authored
-
- Oct 12, 2018
- Oct 11, 2018
-
-
Adolfo Jayme Barrientos authored
-
- Oct 08, 2018
-
-
Michael Große authored
This syntax can be used by IDEA and other IDEs to mark the constants as deprecated in the editor.
-
- Sep 27, 2018
-
-
José Vieira authored
-
Thammi authored
-
- Sep 20, 2018
-
-
peterfromearth authored
-
- Sep 19, 2018
-
-
Masoud Sadrnezhaad authored
-
- Sep 15, 2018
-
-
no credits taken authored
-
Quenti authored
-
- Sep 12, 2018
-
-
Quenti authored
-
Aleksandr Selivanov authored
-
- Sep 11, 2018
-
-
Vyacheslav Strenadko authored
-
- Sep 10, 2018
-
-
Aaron Zhou authored
-
- Sep 08, 2018
-
-
Andy authored
-
- Sep 07, 2018
-
-
Andreas Gohr authored
This undoes the change in alignments. Those are useful when displaying text only emails in a monospace font. As discussed in https://github.com/splitbrain/dokuwiki/pull/2462#issuecomment-413786942
-
Andreas Gohr authored
The newlines serve the goal of keeping textlengths reasonably short in text only mails. This change was done by reverting the files back to the current master. As discussed in https://github.com/splitbrain/dokuwiki/pull/2462#issuecomment-413786942
-
Rainbow Spike authored
-
Rainbow Spike authored
This applies a lot of formatting fixes on the language files: 1. In EOF - trimmed all empty lines except one 2. After the title - one empty line strictly 3. Corrected links to national versions of documents in dokuwiki.org if they exits - 4example [[doku>namespaces]] to [[doku>ar:namespaces]] 4. Corrected some over-auto-translated links to "playground:playground" and "wiki:syntax" 5. Torn lines are collected in one in a large number of places (except for RTL languages) 6. Removed e-mail signatures that now is missing in the English set of files
-
- Aug 28, 2018
-
-
qezwan authored
-
- Aug 25, 2018
-
-
Wolterhon authored
-
- Aug 24, 2018
-
-
Salif Mehmed authored
-
- Aug 20, 2018
-
-
Peter 'Pessoft' Kolínek authored
-
- Aug 17, 2018
-
-
Andreas Gohr authored
When a remote resource exceeds the fetchsize but the remote server does not return a Content-Length, we read only the fetchsize amount of bytes but failed to detect that this was a partial read, thus a partial resource got cached. This fix will read fetchsize+1, which will then be correctly determined as too big and thrown away.
-
Michael Braun authored
While refactoring into inc/Action/Locked, the fall-through call to html_edit was missed. See 952acff9 This removed the edit box from the locked page, which is needed for users to get the page source or by etherpad lite plugin. This change re-adds the call to html_edit for the locked action. Signed-off-by:
Michael Braun <michael-dev@fami-braun.de>
-
- Aug 16, 2018
-
-
WIRESLINKEA authored
-
- Aug 10, 2018
-
-
lempel authored
-
- Aug 04, 2018
-
-
Khalid authored
-
- Aug 01, 2018
-
-
Aleksandr Selivanov authored
-
- Jul 27, 2018
-
-
Andreas Gohr authored
from http://mike.teczno.com/JSON/JSON.phps This fixes a problem on PHP 7.2. However ultimately this class should be dropped in favor of the native json_decode/json_encode functions.
-
Andreas Gohr authored
This should fix a warning in PHP 7.3
-
mahir authored
-