| #
a5debd11 |
| 14-May-2026 |
Andreas Gohr <andi@splitbrain.org> |
remove valid_input_set(), inline the only remaining callers
The Input::valid() method on $INPUT already provides the cleaner API originally requested in #667. The last two callers in Subscribe.php v
remove valid_input_set(), inline the only remaining callers
The Input::valid() method on $INPUT already provides the cleaner API originally requested in #667. The last two callers in Subscribe.php validated against a local $params array (not $_POST/$_GET) and need to throw a specific exception, so inline a small in_array + throw at those call sites rather than carry the legacy helper.
The class could probably be made cleaner but that's beyond the scope of this change.
Closes #667
show more ...
|
| #
093fe67e |
| 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
updated rector and applied it
|
| #
6c16a3a9 |
| 14-Sep-2023 |
fiwswe <fiwswe@fwml.de> |
Use str_starts_with/str_ends_with
|
| #
177d6836 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow whitespaces
|
| #
dccd6b2b |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: function call spacing
|
| #
73022918 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: PSR12.Classes.ClassInstantiation.MissingParentheses
|
| #
8c7c53b0 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: class declaration braces
|
| #
6723156f |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/Action
|
| #
79a2d784 |
| 05-Jan-2022 |
Gerrit Uitslag <klapinklapin@gmail.com> |
import classes, replace dbglog, simplify, remove unused statements, and other warnings from IntelliJ
update phpdocs, rename dokuwiki/Ui/Draft to PageDraft
|
| #
848cb786 |
| 23-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Ui\Subscribe class replaces tpl_subscribe()
|
| #
820934dc |
| 19-May-2019 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'psr2-pluginredux' into psr2
* psr2-pluginredux: Minor optimizations in PluginController Snake to Camel case fixes inn PluginController Fix snake->camel case, doc blocks minor c
Merge branch 'psr2-pluginredux' into psr2
* psr2-pluginredux: Minor optimizations in PluginController Snake to Camel case fixes inn PluginController Fix snake->camel case, doc blocks minor code simplification snake to camel case fixes in EventHandler Move list of plugin types to plugin controller constant Avoid accessing the evet system before it's intialized Avoid processing events before the Event System is intiialized isEnabled instead of isDisabled removed get_directory() method from PluginController fix type hints moved plugin controller to Extension namespace removed deleted file from autoloader deprecated trigger_event() in favor of a static method on Event First go at moving the plugin classes into their own namespace
show more ...
|
| #
75d66495 |
| 20-Apr-2019 |
Michael Große <mic.grosse@googlemail.com> |
♻️ Don't use deprecated subscription methods
|
| #
cbb44eab |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated trigger_event() in favor of a static method on Event
|
| #
b2c9cd19 |
| 12-Apr-2018 |
Andreas Gohr <gohr@cosmocode.de> |
renamed ActionRouter::checkPermissions to checkPreconditions
As discussed in #1933
|
| #
272271fc |
| 18-May-2017 |
Andreas Gohr <andi@splitbrain.org> |
have all subscription handling in subscribe action
uses the explicit redirect abort on success
|
| #
480336a3 |
| 31-Mar-2017 |
Andreas Gohr <andi@splitbrain.org> |
no longer rely on actionOk when checking if actions are disabled
loadAction() and checkAction() are now public and could be used within actionOK(). However some weird circular references prevent tha
no longer rely on actionOk when checking if actions are disabled
loadAction() and checkAction() are now public and could be used within actionOK(). However some weird circular references prevent that. In addition, actionOK is also used to check for things that aren't Actions (yet) like 'rss' and 'top'.
show more ...
|
| #
ec701221 |
| 31-Mar-2017 |
Andreas Gohr <andi@splitbrain.org> |
explicitly declare method visibility
|
| #
ab583a1b |
| 11-Feb-2017 |
Andreas Gohr <andi@splitbrain.org> |
more doc block fixes
|
| #
64ab5140 |
| 10-Feb-2017 |
Andreas Gohr <andi@splitbrain.org> |
start of a refactoring the action routing
This is neither complete nor working, yet
|