- Sep 11, 2017
-
-
Michael Große authored
-
- Sep 07, 2017
-
-
Andreas Gohr authored
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.
-
- Sep 06, 2017
-
-
Michael Große authored
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.
-
- Sep 05, 2017
-
-
Michael Große authored
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 2571786c 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.
-
- Sep 02, 2017
-
-
Andreas Gohr authored
-
Andreas Gohr authored
-
Andreas Gohr authored
-
Andreas Gohr authored
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
-
Andreas Gohr authored
No globals required anymore, somewhat more general approach to sending data to the test system. Clean access through keys.
-
Andreas Gohr authored
-
Andreas Gohr authored
-
Andreas Gohr authored
-
- Sep 01, 2017
-
-
Andreas Gohr authored
this helps tieing together the "normal" menus and the MobileMenu and makes them both implement a getItems() method.
-
Andreas Gohr authored
-
- Aug 29, 2017
-
-
Andreas Gohr authored
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.
-
- Aug 27, 2017
-
-
Марко М. Костић authored
-
Марко М. Костић authored
-
Andreas Gohr authored
-
Andreas Gohr authored
during testing, redirects may not be executed, ActionAbort can default to redirecting which ould create an infinite loop.
-
Andreas Gohr authored
-
Марко М. Костић authored
-
Andreas Gohr authored
This should reduce the complexity of the function
-
Michael Große authored
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.
-
Michael Große authored
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.
-
Michael Große authored
If an config value is not set in the input lines, initialize it as empty string to prevent PHP Notices complaining about $line[1] being not set.
-
Michael Große authored
A PHP Notice occurred when $url didn't contain a '?'.
-
Andreas Gohr authored
-
LarsDW223 authored
Test code for workflow 'show - sectionedit - save/cancel' (with modifications in test classes and 'send_redirect()' and 'act_dispatch()'.
-
Andreas Gohr authored
-
Andreas Gohr authored
-
Phy authored
If SSL is not supported, a HTTP request will be made. In the log the request type will be indicated, but on the frontend no additional message would be shown (I think it's better to notify admins about non-SSL situations, but currently when this fetch encounter error, no error message will be shown, so it's better not to add any warning).
-
Andreas Gohr authored
-
Andreas Gohr authored
-
- Aug 25, 2017
-
-
Phy authored
-
- Aug 23, 2017
-
-
Phy authored
-
- Aug 20, 2017
-
-
Phy authored
-
- Aug 16, 2017
-
-
Phy authored
-
- Aug 15, 2017
-
-
Andreas Gohr authored
-
Andreas Gohr authored
This makes it a little easier to splice new elements into position
-
Andreas Gohr authored
-