| 2a85c691 | 07-Sep-2017 |
Andreas Gohr <gohr@cosmocode.de> |
abbreviated ternary operator |
| c7d61a4e | 07-Sep-2017 |
Andreas Gohr <gohr@cosmocode.de> |
pass action name by reference. fixes #2117
This fixes plugins that expect that they can change the global $ACT instead of $event->data in the ACTION_ACT_PREPROCESS event.
This make the whole route
pass action name by reference. fixes #2117
This fixes plugins that expect that they can change the global $ACT instead of $event->data in the ACTION_ACT_PREPROCESS event.
This make the whole route a little bit uncleaner but would increase backwards compatibility.
I'm not sure how widespread the problem is and if adding this is a good idea.
show more ...
|
| 68667f4a | 06-Sep-2017 |
Michael Große <grosse@cosmocode.de> |
fix(ActionRouter): trigger ACTION_ACT_PREPROCESS for all actions
This should recreate the behaviour prior to #1933, where the event was triggered for all ACT values. Some plugins, like edittable, de
fix(ActionRouter): trigger ACTION_ACT_PREPROCESS for all actions
This should recreate the behaviour prior to #1933, where the event was triggered for all ACT values. Some plugins, like edittable, depend on the functionality.
show more ...
|
| 06917fce | 05-Sep-2017 |
Michael Große <grosse@cosmocode.de> |
fix: fix regex to return table secedit buttons
Since the hid is optional, it must also be optional in the regex. Also this commit introduced named capture groups to make it more obvious which part o
fix: fix regex to return table secedit buttons
Since the hid is optional, it must also be optional in the regex. Also this commit introduced named capture groups to make it more obvious which part of the regex captures what.
Also there is now an explicit hid generated for tables, to enable jumping to the correct section after finishing editing.
This was broken in 2571786c763e04c7abbf27c2245a5720878dc3f1 or #1966 respectively.
Known Issues: * since both title and hid are optional, a hid may be misinterpreted as a title if the title is not generated.
show more ...
|
| 5f28f727 | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
make top button a button. fixes #2045 |
| b965a044 | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
added convenience method to display item as button |
| 50ca245c | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
MenuItems: add possibility to set a different title attribute |
| 3862da0e | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
throw exception in nice_die during tests
Exits during testing will break the whole test suite. It makes more sense to throw an exception in that case. The exception's stack trace will help to debug
throw exception in nice_die during tests
Exits during testing will break the whole test suite. It makes more sense to throw an exception in that case. The exception's stack trace will help to debug the actual problem
show more ...
|
| 27c0c399 | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
reworked notifications to the test system
No globals required anymore, somewhat more general approach to sending data to the test system. Clean access through keys. |
| cf71061d | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
added two more missing action icons |
| 92ca7c1e | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
added missing icon for register |
| 9ba47898 | 02-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
load text in source action. fixes #2110 |
| 31110e19 | 01-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
introduce a MenuInterface
this helps tieing together the "normal" menus and the MobileMenu and makes them both implement a getItems() method. |
| affc7ddf | 01-Sep-2017 |
Andreas Gohr <andi@splitbrain.org> |
added deprecation tags to the old action related tpl funcs |
| 16a367d4 | 29-Aug-2017 |
Andreas Gohr <andi@splitbrain.org> |
refactor Ajax functions into a class
This doesn't really do much except wrapping the functions into a namespaced class. Autoloading takes care of loading the file. It's now possible to call lib/exe/
refactor Ajax functions into a class
This doesn't really do much except wrapping the functions into a namespaced class. Autoloading takes care of loading the file. It's now possible to call lib/exe/ajax.php multiple times in a test request.
show more ...
|
| 01299338 | 28-Aug-2017 |
Schplurtz le Déboulonné <Schplurtz@laposte.net> |
use only language code, no language name |
| 9cb30093 | 27-Aug-2017 |
Марко М. Костић <marko.m.kostic@gmail.com> |
translation update |
| 1b4e0060 | 27-Aug-2017 |
Марко М. Костић <marko.m.kostic@gmail.com> |
translation update |
| 7675e707 | 27-Aug-2017 |
Andreas Gohr <andi@splitbrain.org> |
do not hide fatal exceptions during unit tests |
| d3d3f39a | 27-Aug-2017 |
Andreas Gohr <andi@splitbrain.org> |
never redirect from a redirect action
during testing, redirects may not be executed, ActionAbort can default to redirecting which ould create an infinite loop. |
| 6e4577dc | 27-Aug-2017 |
Andreas Gohr <andi@splitbrain.org> |
undo unecessary action routing adjustments |
| b5e63f63 | 27-Aug-2017 |
Марко М. Костић <marko.m.kostic@gmail.com> |
translation update |
| 59ed97f2 | 27-Aug-2017 |
Andreas Gohr <andi@splitbrain.org> |
replace conditional with array_pad
This should reduce the complexity of the function |
| 7eeb415a | 27-Aug-2017 |
Michael Große <mic.grosse@googlemail.com> |
refactor: more extensible Content-Type header handling
This fixes the PHP Notice when $headers['Content-Type'] is unset. It also allows for easier extension later, e.g. adding handling for a JSON co
refactor: more extensible Content-Type header handling
This fixes the PHP Notice when $headers['Content-Type'] is unset. It also allows for easier extension later, e.g. adding handling for a JSON content-type.
show more ...
|
| 2689c55f | 27-Aug-2017 |
Michael Große <mic.grosse@googlemail.com> |
fix: access first element of associative arrays
This function might be called by an plugin with an array that has only string keys and hence no key 0. This would trigger an PHP Notice when trying to
fix: access first element of associative arrays
This function might be called by an plugin with an array that has only string keys and hence no key 0. This would trigger an PHP Notice when trying to get the first key's level.
show more ...
|