| #
8788dbbd |
| 06-May-2026 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
| #
9313ce6d |
| 08-Apr-2026 |
Andreas Gohr <andi@splitbrain.org> |
SearchIndex: fix TypeError when $highlight is passed uninitialized
FulltextSearch::pageSearch() type-hints $highlight as array, but callers passed uninitialized variables (null). Initialize to [] at
SearchIndex: fix TypeError when $highlight is passed uninitialized
FulltextSearch::pageSearch() type-hints $highlight as array, but callers passed uninitialized variables (null). Initialize to [] at all call sites and add a guard in the deprecated ft_pageSearch() wrapper.
show more ...
|
| #
e1272c08 |
| 07-Apr-2026 |
Andreas Gohr <andi@splitbrain.org> |
SearchIndex: add backward compatibility wrappers
Add deprecated wrappers for idx_* and ft_* functions that were removed when inc/indexer.php and inc/fulltext.php were replaced by the new Search clas
SearchIndex: add backward compatibility wrappers
Add deprecated wrappers for idx_* and ft_* functions that were removed when inc/indexer.php and inc/fulltext.php were replaced by the new Search classes. These wrappers delegate to the new architecture and ensure existing plugins continue to work.
Deprecated standalone functions: idx_get_indexer, idx_getIndex, idx_lookup, idx_listIndexLengths, idx_indexLengths, ft_pageSearch, ft_backlinks, ft_mediause, ft_pageLookup, ft_snippet, ft_pagesorter, ft_snippet_re_preprocess, ft_queryParser.
Deprecated methods on Indexer: lookupKey, getPages, addMetaKeys, renameMetaValue, getPID, lookup.
Also migrates remaining core callers (Ajax, FeedCreator, ApiCore) to use the new classes directly and fixes a UTF-8 case folding bug in MetadataSearch title lookups.
show more ...
|
| #
093fe67e |
| 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
updated rector and applied it
|
| #
7e23bd08 |
| 11-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
use correct FeedOptions methods. fixes #4203
This makes feed.php use the correct methods for setting the feed type and content-type header. It also adds the missing type definition for RSS 1.0
|
| #
64e1c19b |
| 08-Feb-2024 |
Nickeau <gerardnico@users.noreply.github.com> |
Reintroduce the FEED_DATA_PROCESS event
As explained here:
https://github.com/dokuwiki/dokuwiki/issues/4191
|
| #
72c714a3 |
| 26-Jan-2024 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
| #
cf9a4884 |
| 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
feed: use default favicon as very last resort
The dokuwiki logos we deliver in the wiki namespace are preferable.
|
| #
4554d54d |
| 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
feed: set item date. fixes #2960
The date was completely missing in the recent refactor. This readds it and uses a unix timestamp as suggested in #2960
|
| #
a94c17ee |
| 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
style fixes
|
| #
1136941d |
| 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
feed: set tagline as subtitle. fixes #2239
|
| #
fe9d054b |
| 15-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Feed creation refactoring
This breaks up the humongous functions from feed.php into multiple classes. To keep compatibility with existing Plugin events, the basic principle of how the feed is assemb
Feed creation refactoring
This breaks up the humongous functions from feed.php into multiple classes. To keep compatibility with existing Plugin events, the basic principle of how the feed is assembled has not been changed:
* depending on the given mode and other options lose arrays of items are gathered * these items are then converted (again based on the various options) into proper FeedItems * the FeedItems are then added to the Feed
The conversion from loosely typed item data to something more structured is now done by the FeedItemProcessor classes. Some very basic tests have been added. It does not cover erverything but covers more than before (which was nothing).
Manual testing before merging this is highly recommended. I am not confident that I ported over everything correctly.
No new features have been added, but especially media support could and should be improved in the future.
show more ...
|