History log of /dokuwiki/inc/ (Results 1551 – 1575 of 6440)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2a85c69107-Sep-2017 Andreas Gohr <gohr@cosmocode.de>

abbreviated ternary operator

c7d61a4e07-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 ...

68667f4a06-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 ...

06917fce05-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 ...

5f28f72702-Sep-2017 Andreas Gohr <andi@splitbrain.org>

make top button a button. fixes #2045

b965a04402-Sep-2017 Andreas Gohr <andi@splitbrain.org>

added convenience method to display item as button

50ca245c02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

MenuItems: add possibility to set a different title attribute

3862da0e02-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 ...

27c0c39902-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.

cf71061d02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

added two more missing action icons

92ca7c1e02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

added missing icon for register

9ba4789802-Sep-2017 Andreas Gohr <andi@splitbrain.org>

load text in source action. fixes #2110

31110e1901-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.

affc7ddf01-Sep-2017 Andreas Gohr <andi@splitbrain.org>

added deprecation tags to the old action related tpl funcs

16a367d429-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 ...

0129933828-Aug-2017 Schplurtz le Déboulonné <Schplurtz@laposte.net>

use only language code, no language name

9cb3009327-Aug-2017 Марко М. Костић <marko.m.kostic@gmail.com>

translation update

1b4e006027-Aug-2017 Марко М. Костић <marko.m.kostic@gmail.com>

translation update

7675e70727-Aug-2017 Andreas Gohr <andi@splitbrain.org>

do not hide fatal exceptions during unit tests

d3d3f39a27-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.

6e4577dc27-Aug-2017 Andreas Gohr <andi@splitbrain.org>

undo unecessary action routing adjustments

b5e63f6327-Aug-2017 Марко М. Костић <marko.m.kostic@gmail.com>

translation update

59ed97f227-Aug-2017 Andreas Gohr <andi@splitbrain.org>

replace conditional with array_pad

This should reduce the complexity of the function

7eeb415a27-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 ...

2689c55f27-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 ...

1...<<61626364656667686970>>...258