018871f4 | 19-Jun-2018 |
Brend Wanders <brend@13w.nl> |
Change `const` use to `var` for Safari 9 (on iOS)
Safari 9 in iOS does not support the use of `const` in strict mode. Unfortunately, some of us are stuck with Safari 9 due to not being able to upgra
Change `const` use to `var` for Safari 9 (on iOS)
Safari 9 in iOS does not support the use of `const` in strict mode. Unfortunately, some of us are stuck with Safari 9 due to not being able to upgrade.
I am a big fan of progressive enhancement, but because all javascript code is packed together and sent off to the client, this small incompatibility breaks all javascript for safari 9 browsers. Switching these two keywords makes everything work again.
There are no other uses of `const` in the codebase as far as I can find. This change has little to no impact on anything else, but slighlty extends the range of supported browsers.
show more ...
|
b78f68bc | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
some small fixes for PSR2 |
0c3a5702 | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
split changelog classes into their own namespace
The remaining functions in inc/changelog.php should be moved into a utility class. |
1696f725 | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
remove debugging stuff from detail.php
we haven't needed this in years |
f61b7422 | 08-Jun-2018 |
Christian McKenna <mckchr@banenor.no> |
translation update |
b16fbc3f | 08-Jun-2018 |
Michael Große <grosse@cosmocode.de> |
Use json for the response to dw_locktimer |
f7d14abd | 08-Jun-2018 |
Michael Große <grosse@cosmocode.de> |
✨(dw_locktimer) plugins may reuse to add fields and callbacks
Plugins may want to add further fields to be present when saving drafts. Plugins may want to execute some js functionality that should b
✨(dw_locktimer) plugins may reuse to add fields and callbacks
Plugins may want to add further fields to be present when saving drafts. Plugins may want to execute some js functionality that should be timed to the saved draft/refreshed lock.
If a plugin does another init() to attach the dw_locktimer to its own editor, then the default callback would be added a second time, causing unexpected and undesired behavior.
This includes the changes from the following commits: 6ef45cc1c69591eb7facf381ef4bcf88e3aaa1c0 6ca947f3ad455df4fca1a3076b174b7b2688bd89 0fff419cc95b9783dd33ab02ffb3bd7806d5fcde 87bed8b672a166d073948bcb4ca49aaa81dc880c
show more ...
|
c49e647b | 06-Jun-2018 |
Michael Große <grosse@cosmocode.de> |
(editor) draft status is semantically not part of the toolbar
This change is useful for plugins that may want to implement their own toolbar (and thus hide the default toolbar), but still would l
(editor) draft status is semantically not part of the toolbar
This change is useful for plugins that may want to implement their own toolbar (and thus hide the default toolbar), but still would like to let the locktimer set the draft status.
show more ...
|
fe227084 | 07-Jun-2018 |
Andreas Gohr <gohr@cosmocode.de> |
removed safemode hack
Safemode has been removed in PHP 5.4.0. We finally no longer need to deal with this insanity. |
f8dcd5b0 | 01-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
do not initialize the configuration in constructor
The class gets instantiated for showing the admin menu. There's no need to always load the whole configuration there. It's only needed when the Con
do not initialize the configuration in constructor
The class gets instantiated for showing the admin menu. There's no need to always load the whole configuration there. It's only needed when the Config screen is actually shown. So loading it in handler() instead should be good enough.
show more ...
|
f74addc3 | 01-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
remove support for _cautionList |
b71f2463 | 01-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
an empty class is valid, only truly no class is bad |
7a0ee538 | 01-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
show other errors in undefined settings again
This reestablishes the mechanism of adding errors as Sepcial classes to the undefined list. |
e7296041 | 01-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
make undefined settings output work again |
fbe5f617 | 01-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
removed fixme that had been fixed |
4667676b | 01-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
clean settings data |
13b5250a | 26-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
removed constructor parameters we never use |
3b223df6 | 26-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
pass correct array in event |
80302b1f | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
readd PLUGIN_CONFIG_PLUGINLIST event |
53f3816e | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
do not drop undefined settings when saving the configuration |
f37fd93e | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
fix numericopt setting
In 55a4f137738ef5718cc047e5fb802e1c6d0a409f a bug was introduced that
* forced resaving the config even if it hadn't changed * prevented setting the value to an empty string
fix numericopt setting
In 55a4f137738ef5718cc047e5fb802e1c6d0a409f a bug was introduced that
* forced resaving the config even if it hadn't changed * prevented setting the value to an empty string once set
show more ...
|
8356fe60 | 25-May-2018 |
Christopher Smith <chris@jalakai.co.uk> |
improve update() comments |
e901cf74 | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
make abstract test abstract again |
d6987bdd | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
fixed updateSettings iteration |
28cc4f40 | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
make the onoff setting more boolean
We now parse true and false as well as some common strings |