| a81f3d99 | 24-Apr-2019 |
Andreas Gohr <gohr@cosmocode.de> |
fix and test php_to_byte() related to #2756 #2556
This refactors the php_to_byte() method to properly return integers always. A bug when reading byte sizes under 10 bytes was fixed. Infinity (signal
fix and test php_to_byte() related to #2756 #2556
This refactors the php_to_byte() method to properly return integers always. A bug when reading byte sizes under 10 bytes was fixed. Infinity (signaled by a -1 in php.ini) is now returned as -1.
According to [1] PHP supports size shortcuts for (K)ilobytes, (M)egabytes and (G)igagbytes only. The support for Tera- and Petabytes has been removed.
[1] https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
show more ...
|
| 451969ab | 22-Apr-2019 |
Michael Große <mic.grosse@googlemail.com> |
Move Subscription class to deprecated.php
This class has been replaced by the classes in the dokuwiki/Subscriptions namespace. |
| 704a815f | 22-Apr-2019 |
Michael Große <mic.grosse@googlemail.com> |
♻️ Split up ChangesSubscriptionSender into multiple classes
This should better adhere to SRP and simplify things. |
| c47e6665 | 22-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Minor optimizations in PluginController |
| c904b9fb | 22-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Snake to Camel case fixes inn PluginController |
| 091ad7bd | 22-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Fix snake->camel case, doc blocks
For compatibility reasons, the methods have not been renamed. |
| 7c9b63b7 | 22-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
minor code simplification |
| 42f12f7d | 22-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
snake to camel case fixes in EventHandler
For compatibility reasons with basically all existing plugins, the methods have not been renamed. Instead the appropriate check is ignored. |
| 1935a891 | 21-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Move list of plugin types to plugin controller constant
There is no need to have them in a global variable. |
| 75d66495 | 20-Apr-2019 |
Michael Große <mic.grosse@googlemail.com> |
♻️ Don't use deprecated subscription methods |
| 9c22b77c | 20-Apr-2019 |
Michael Große <mic.grosse@googlemail.com> |
Automatic code style fixes for subscription classes |
| 47de339b | 20-Apr-2019 |
Michael Große <mic.grosse@googlemail.com> |
✅ Fix Subscriptions tests
This splits up and slightly refactors the tests for the refactored subscriptions classes |
| 479c05b1 | 20-Apr-2019 |
Michael Große <mic.grosse@googlemail.com> |
♻️ Extract subscription classes for PSR 2
This allows us to rename the snake_case methods and to group them in a more sensible manner. |
| fdf261bd | 20-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Avoid accessing the evet system before it's intialized
reimplements cbfa1cdd75e162a1a8fac054453f4554f96e3362 |
| 89614c82 | 20-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
Avoid processing events before the Event System is intiialized |
| fbccc3e6 | 20-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
isEnabled instead of isDisabled
Boolean Methods with a negative name are a bit confusing. Getting false for an enabled plugin? Better check for Enabled status. |
| f219f385 | 20-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
removed get_directory() method from PluginController
This method did absolutely nothing and just returned the plugin name. |
| 2a93a6ad | 16-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
fix type hints
thos broke during refactoring |
| 3a7140a1 | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
moved plugin controller to Extension namespace |
| c630f659 | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
removed deleted file from autoloader |
| cbb44eab | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated trigger_event() in favor of a static method on Event |
| e1d9dcc8 | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
First go at moving the plugin classes into their own namespace |
| 749c0023 | 20-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
some PSR-2 fixes for the Mailer class
The defines might need to be moved elsewhere |
| e8407ed1 | 17-Apr-2019 |
HaoNan <haonan@zhuoming.info> |
translation update |
| e75dc655 | 17-Apr-2019 |
Roberto Bellingeri <bellingeri@netguru.it> |
translation update |