aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/feed.php
Commit message (Collapse)AuthorAge
* use correct FeedOptions methods. fixes #4203Andreas Gohr2024-02-11
| | | | | | 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
* 🤖 Rector and PHPCS fixessplitbrain2024-01-30
|
* remove obsolete feed creation codeAndreas Gohr2024-01-26
| | | | This was left over in #4156
* 🤖 Rector and PHPCS fixessplitbrain2024-01-26
|
* Feed creation refactoringAndreas Gohr2024-01-17
| | | | | | | | | | | | | | | | | | | | | | | 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.
* use $auth instanceof AuthPlugin instead of not null checkGerrit Uitslag2023-09-01
|
* Rector to rename print to echo callsAndreas Gohr2023-08-31
|
* coding style: control flow line breaksAndreas Gohr2023-08-31
|
* coding style: control flow whitespacesAndreas Gohr2023-08-31
|
* reformatting at top levelGerrit Uitslag2023-08-31
|
* coding style: function call spacingAndreas Gohr2023-08-30
|
* Apply rector fixes to bin and toplevelAndreas Gohr2023-08-30
|
* Fix titles in feedsAndreas Gohr2022-11-01
| | | | | The check introduced in 6fd2d4b0 did not work when media was set explicitly to false.
* fix warnings in feed.php. #3728Andreas Gohr2022-08-27
|
* fix linelengths in feed.phpAndreas Gohr2022-02-04
|
* Code Style fixjpedryc2022-01-27
|
* feed.php updates:jpedryc2022-01-26
| | | | | * search is disabled * code style fixes
* Renamed constant to RECENTS_ONLY_CREATIONPhy2020-03-09
| | | | This clarifies that it also works when requesting media changelog.
* Implemented only_new option for RSS feed, so you can request RSS feed that ↵Tero Kivinen2020-03-09
| | | | contains only new files.
* initialize rssRecentChanges flag to 0Phy2020-03-09
|
* Add option rss_show_deletedAurélien Martin2020-03-09
|
* deprecated trigger_event() in favor of a static method on EventAndreas Gohr2019-04-20
|
* First go at moving the plugin classes into their own namespaceAndreas Gohr2019-04-20
|
* Rename fields and add deprecated __get/__setMichael Große2019-02-14
| | | | | | These fields might still be accessed from the outside, so in order to not break backwards compatibility, this uses magic methods that emit deprecation errors.
* Refactor cache.php into different filesMichael Große2019-02-02
|
* split changelog classes into their own namespaceAndreas Gohr2018-06-15
| | | | | The remaining functions in inc/changelog.php should be moved into a utility class.
* do not disclose email or IP addresses of users through RSSAndreas Gohr2017-08-05
| | | | | | | | | | | The feed used to add real or fake email addresses to items (because some feed formats require them). The default RSS1.0 format did not show them, but that changed in the recent update of our FeedCreator classes. Now all code for that has been removed, always showing an @undisclosed.example.com email address. Because some feed readers may use the email address to distinguis authors, the mechanism to prepend the user name was kept.
* use composer based library for feed creator #1970Andreas Gohr2017-05-18
|
* Fix PHP7 evaluation order incompatibilityGerrit Uitslag2016-03-02
| | | | Fixes #1480
* Remove error supression for file_exists()Andreas Gohr2015-01-07
| | | | | | | In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
* scrutinizer documentations issuesGerrit Uitslag2014-09-29
|
* Merge pull request #626 from splitbrain/feedmodelistsortAndreas Gohr2014-05-25
|\ | | | | Added sort by date option to feed in list mode
| * add date sort option for list mode of feedGerrit Uitslag2014-03-20
| |
| * Improve encoding dir in rssListNamespace()Gerrit Uitslag2014-03-20
| |
* | username_link should show user's name in feed tooGerrit Uitslag2014-05-14
| |
* | use new $INPUT->valid() method in feed.phpAndreas Gohr2014-04-30
| |
* | add 404 status header to feed disabledGerrit Uitslag2014-03-18
| |
* | allow disabling the rss feedGerrit Uitslag2014-03-18
|/
* Merge branch 'master' into diff_navigationAndreas Gohr2014-03-14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (103 commits) Add a basic test case for the cache Events: Trigger a warning if the default action is not callable Fix caching (make the event callback public again) translation update translation update translation update translation update translation update translation update translation update avoid HTTP image screenshot urls. closes #595 translation update Extension manager: Fix cache extension to be .repo adjusted the office type color again another instance of empty() where an array key might not exist remove placeholder van denied.txt updated file icons once more removed 'not logged in' text, loginform is shown already Revert "added stripped bit to language file" fixed index file ... Conflicts: inc/html.php
| * Merge pull request #547 from splitbrain/chris_rssfeedfixesChristopher Smith2014-03-02
| |\ | | | | | | RSS feed fixes
| | * add security character '$' around REMOTE_USER in cache key to avoid key clashesChristopher Smith2014-02-26
| | |
| | * remove rendundant lineChristopher Smith2014-02-26
| | |
| | * add HOST and PORT to feed cache keyChristopher Smith2014-02-26
| | |
| | * make media links in rss feeds absoluteChristopher Smith2014-02-14
| | | | | | | | | | | | | | | | | | This resolves issues with broken images when the wiki feed is hosted by third parties (e.g. FeedBurner), as mentioned in FS#2931 comments.
| | * add missing '&' before 't' in url constructionChristopher Smith2014-02-14
| | |
* | | Merge remote-tracking branch 'origin/master' into diff_navigationGerrit Uitslag2014-02-23
|\| | | | | | | | | | | | | | Conflicts: inc/html.php
| * | Improve PHPDocs, rename auth_basic to DokuWiki_Auth_PluginGerrit Uitslag2014-02-17
| |/
* | Merge remote-tracking branch 'origin/master' into diff_navigationGerrit Uitslag2014-02-15
|\|
| * Fix RSS namespace listings containing hidden pagesMichael Hamann2013-12-02
| |
| * Revert "Exclude hidden pages (config["hidepages"]) from RSS feed (see ↵Michael Hamann2013-12-02
| | | | | | | | | | | | https://www.dokuwiki.org/config:hidepages)" This reverts commit f5151bdbf999043dfe1ba73a684d37b27ff6e021.