| #
46028c4c |
| 04-Jun-2020 |
Andreas Gohr <andi@splitbrain.org> |
Move defines to their own file
As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is in
Move defines to their own file
As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is invoked (I'm not sure why).
In general PSR2 discourages a mix of main code and function/class setup with the call to define() being considered main code.
This patch moves these the define calls to a separate new file, solving both of the above problems.
These are not all our defines. Instead I focused on the ones that are ENUM-like.
In the future we should think about what defines can be replaced by class constants and what other define() calls should be moved.
show more ...
|
| #
322ad074 |
| 02-Jun-2020 |
Andreas Gohr <andi@splitbrain.org> |
some minor improvements for the writability checks
* handle is_writable for non-existing pages correctly * Success and Fail are now color coded correctly
|
| #
556e996e |
| 02-Jun-2020 |
Andreas Gohr <andi@splitbrain.org> |
fixed message classes
In #3069 the internal structure of messages was accidentally changed to be numeric. This reintroduces the proper string constants.
I thought about keeping the integers and do
fixed message classes
In #3069 the internal structure of messages was accidentally changed to be numeric. This reintroduces the proper string constants.
I thought about keeping the integers and do the mapping in html_msgarea() but some plugins rely on inspecting the global $MSG so I don't want to change it.
show more ...
|
| #
0e20480f |
| 04-May-2020 |
Phy <git@phy25.com> |
Trigger event for msg()
Triggers INFOUTIL_MSG_SHOW.
|
| #
743c9a28 |
| 31-Jan-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
rename PagewordIndex to FulltextIndex
|
| #
be5c1ea2 |
| 19-Jan-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
move lookup() to PagewordIndex class, reduce term 'Indexer'
make similar MetadataIndex::lookupKey() and PagewordIndex::lookup()
|
| #
3f4a342b |
| 14-Jan-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
rewrite deprecated idx_* functions
|
| #
b47790f9 |
| 14-Jul-2019 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'utf8refactor' into psr2
* utf8refactor: replaced deprecated utf8 functions formatting cleanup mark old utf8 functions deprecated Some cleanup for the UTF-8 stuff Moved all ut
Merge branch 'utf8refactor' into psr2
* utf8refactor: replaced deprecated utf8 functions formatting cleanup mark old utf8 functions deprecated Some cleanup for the UTF-8 stuff Moved all utf8 methods to their own namespaced classes Create separate table files for UTF-8 handling
show more ...
|
| #
2b9c4a05 |
| 14-Jul-2019 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'master' into psr2
* master: (34 commits) fix color for noninstalled extensions show disabled extensions in gray warn about inaccessible repo api bugfix: access check was never
Merge branch 'master' into psr2
* master: (34 commits) fix color for noninstalled extensions show disabled extensions in gray warn about inaccessible repo api bugfix: access check was never cached First go on a CLI component for the extension manager use strict type comparison translation update translation update fix #dokuwiki__sitetools current item not in highlight due to Greebo change authplain: Add tests for group retrieval authplain: Add a simple method for retrieving user groups translation update Negative string offsets are allowed in PHP 7.1+ only improve memory check output fix and test php_to_byte() related to #2756 #2556 translation update translation update translation update translation update translation update ...
show more ...
|
| #
8cbc5ee8 |
| 10-Jun-2019 |
Andreas Gohr <andi@splitbrain.org> |
replaced deprecated utf8 functions
For now this uses full qualified namespaces, sensible imports may come later.
|
| #
eb2e46ca |
| 19-May-2019 |
Andreas Gohr <andi@splitbrain.org> |
use strict type comparison
|
| #
c6e971dd |
| 24-Apr-2019 |
Andreas Gohr <gohr@cosmocode.de> |
improve memory check output
Makes use of the adjusted php_to_bytes() method which correctly returns -1 for unlimited RAM and uses human readable sizes for output.
|
| #
e1d9dcc8 |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
First go at moving the plugin classes into their own namespace
|
| #
5a8d6e48 |
| 26-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
Rename HTTPClient namespace to HTTP
This should make namespace a bit more flexible in scope and allow us to move more functionality there later.
|
| #
198564ab |
| 17-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor HTTPClient into different files
|
| #
d8b49288 |
| 27-Feb-2019 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #2689 from splitbrain/refactorCachePSR2
Refactor cache.php to better conform with PSR 2
|
| #
0c5eb5e2 |
| 25-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor deprecation logging into its own class
This gives us the flexibility to handle both deprecated properties and methods/functions properly.
|
| #
b4b0b31b |
| 22-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Use deprecation helper
Instead of writing our own magic getters and setters for all variables that used to be public, this adds a trait that does that in a generic way. This trait was copied from Me
Use deprecation helper
Instead of writing our own magic getters and setters for all variables that used to be public, this adds a trait that does that in a generic way. This trait was copied from MediaWiki and adjusted to DokuWiki. The original author seems to be @tgr Tisza Gergő
The downside of this trait is that the properties keep their (potentially undesired) name. While that could be fixed within the helper, that might add unnecessary complexity. The name can change when support is dropped.
show more ...
|
| #
923e149a |
| 15-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Merge branch 'master' into psr2
|
| #
8f8499fa |
| 26-Oct-2018 |
peterfromearth <coder@peterfromearth.de> |
add logic if the server uses unlimited memory, memory_limit = -1
|
| #
56f47fda |
| 09-Sep-2018 |
Michael Große <mic.grosse@googlemail.com> |
Add guard for getVersion fallback
This protects against the current commit being packed and not available as an object and against zlib not being available.
More information about commits being
Add guard for getVersion fallback
This protects against the current commit being packed and not available as an object and against zlib not being available.
More information about commits being packed and thus not available can be found here: https://git-scm.com/book/en/v2/Git-Internals-Packfiles
show more ...
|
| #
be2e462d |
| 05-Jul-2018 |
Michael Große <grosse@cosmocode.de> |
✏️ Fix typo in variable name
|
| #
f519f9db |
| 05-Jul-2018 |
Michael Große <grosse@cosmocode.de> |
Add fallback if we cannot use git on the shell
Under some circumstances, there may be no git or no shell access available. This gets the commit date manually.
|
| #
067b4fb9 |
| 05-Jul-2018 |
Michael Große <grosse@cosmocode.de> |
make getVersion show the commit date, not checkout date
Currently, getVersion() shows the date when the HEAD of the local git repository was last changed, not the date of the current commit. This
make getVersion show the commit date, not checkout date
Currently, getVersion() shows the date when the HEAD of the local git repository was last changed, not the date of the current commit. This commit fixes that behavior.
show more ...
|
| #
9ddafced |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'master' into psr2
* master: (Draft) Fix exception when actually viewing a draft of a page (Draft): Add doc block for constructor ✅ Add unittest for deleteUsers remote API ca
Merge branch 'master' into psr2
* master: (Draft) Fix exception when actually viewing a draft of a page (Draft): Add doc block for constructor ✅ Add unittest for deleteUsers remote API call fix remote API call dokuwiki.deleteUsers translation update Use json for the response to dw_locktimer ✨(dw_locktimer) plugins may reuse to add fields and callbacks (editor) draft status is semantically not part of the toolbar Create new Draft class and move draft handling there translation update correctly avoid notice in init. avoid creating expensive stacktrace in dbg_deprecated() add method to EventHandler to check if an event is actually handled introduce INFO_DEPRECATION_LOG event
show more ...
|