summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/aggregate.pm
AgeCommit message (Collapse)Author
2008-01-02round days old messageJoey Hess
2007-12-30I *think* that this comment is out of date.Joey Hess
2007-12-30* aggregate: Fix stupid mistake introduced when converting it to useJoey Hess
the needsbuild hook. This resulted in feeds not being removed when pages were updated, and probably other bugs. * aggregate: Avoid uninitialised value warning when removing a feed that has an expired guid.
2007-12-16loadstate needs to be called even if no pages are being builtJoey Hess
2007-12-16* meta: Drop support for "meta link", since supporting this for internalJoey Hess
links required meta to be run during scan, which complicated its data storage, since it had to clear data stored during the scan pass to avoid duplicating it during the normal preprocessing pass. * If you used "meta link", you should switch to either "meta openid" (for openid delegations), or tags (for internal, invisible links). I assume that nobody really used "meta link" for external, non-openid links, since the htmlscrubber ate those. (Tell me differently and I'll consider bringing back that support.) * meta: Improved data storage. * meta: Drop the hackish filter hook that was used to clear stored data before preprocessing, this hack was ugly, and broken (cf: liw's disappearing openids). * aggregate: Convert filter hook to a needsbuild hook.
2007-10-30improve use of seen hashJoey Hess
2007-10-30* Fix an aggregate plugin expiry bug. Over time, it's possible for the sameJoey Hess
page name to be expired and reused for several distinct guids. When this happened, the expiry code counted each past guid that had used that page name as a currently existing page, and thus expired too many pages.
2007-07-28* Various minor bug fixes for silly mistakes in the code, thanks to thejoey
various reviewers.
2007-07-25* Add a htmlext config option, this can be used to make ikiwiki generatejoey
html files with a different extension.
2007-05-21improve messagesjoey
2007-05-21Clear state after performing aggregation, since it could hypotheticallyjoey
change after the lock is dropped, and before the lock is regained by the build process. The state will now be reloaded by the build process.
2007-05-21* Change the aggregate plugin's locking strategy. Now it defers loading statejoey
until the wiki is building and already locked, unless it's aggregating. When aggregating, it does not wait for the lock if it cannot get it, and instead exits, to prevent aggregating processes from piling up.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
2007-04-23improve messagejoey
2007-04-23* Fix aggregator to not warn when a feed contains no body content at all.joey
* Work around bug #420636 by, if XML::Parser crashes, running the feed content though Encode::decode_utf8.
2007-04-10* Optimise displaytime, trimming maybe 6% off the build time.joey
2007-04-01another htmlpage call that is no longer appropriatejoey
2007-04-01* Finally apply the index.html patch, with thanks to everyone who workedjoey
on and supported creating it (especially Tumov). This adds a "usedirs" option that makes ikiwiki use foo/index.html instead of foo.html as output page names. It is not yet enabled by default.
2007-03-31fix error message to include urljoey
2007-03-08typojoey
2007-03-08* Correct a deadlock that could occur in post-commit if the aggregate pluginjoey
was enabled and tried to lock the already locked wiki.
2007-03-07more i18n improvementsjoey
2007-02-15* Many changes to make ikiwiki very resistant to write failuresjoey
including out of disk space situations. ikiwiki should never leave truncated files, and if the error occurs during a web-based file edit, the user will be given an opportunity to retry. Inspired by the many ways Moin Moin destroys itself when out of disk. :-) * Fix syslogging of errors.
2007-01-14fehjoey
2007-01-14fix broken format string, manual unfuzzyjoey
2007-01-14* In the aggregator, check for and deal with post filenames that arejoey
longer than the maximum file length.
2007-01-03fix whitespacejoey
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-11-08* Make sure to check for errors from every eval.joey
2006-11-08* Enable utf8 file IO in aggregate plugin.joey
* Fix some issues with the new registration form.
2006-11-06typojoey
2006-11-04* Fix issue with aggregate plugin updating expired pages.joey
2006-11-01* Implemented expiry options for aggregate plugin.joey
* Use precalculated backlinks info when determining if files need an update due to a page they link to being added/removed. Mostly significant if there are lots of pages. * Remove duplicate link info when saving index. In some cases it could pile up rather badly. (Probably not the best way to deal with this problem.)
2006-10-13* Make the aggregate plugin emphasize error messages.joey
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-09-07shorten furtherjoey
2006-09-07remove the "0 new", it's not very usefuljoey
2006-09-02* Add processed date to aggregate preprocessor directive status output.joey
2006-08-28bugnumjoey
2006-08-17* Fix a bug in the aggregator introduced last version that caused alljoey
aggregator state to be lost during a non-aggregating build.
2006-08-16* Fix an infinite loop in the aggregator when finding a unique filename.joey
2006-08-16* Add some locking to prevent 2 aggregators from running at once.joey
2006-08-13* The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.joey
* Add --version. * Man page format fixups. * Add a %pagecase which maps lower-case page names to the actual case used in the filename. Use this in bestlinks calculation instead of forcing the link to lowercase. * Also use %pagecase in various other places that want to check if a page with a given name exists. * This means that links to pages with mixed case names will now work, even if the link is in some other case mixture, and mixed case pages should be fully supported throughout ikiwiki. * Recommend rebuilding wikis on upgrade to this version.
2006-08-05misc changesjoey
2006-08-04use htmlpage a couple of places instead of hardcoding the extensionjoey
2006-08-04oopsjoey
2006-08-04* Make aggregator save permalinks and author name to pages as metadata.joey
* Add permalink and author support to meta plugin, affecting RSS feeds and blog pages. * Change titlepage() to encode utf-8 alnum characters. This is necessary to avoid UTF-8 creeping into filenames in urls. (There are still some other ways that it can get in.)
2006-08-03* Try to handle relative links in aggregated feeds. However,joey
the current support is a crude hack due to limitations of XML::Feed: xml:base is not supported, neither is Content-Location. And of course, relative links in RSS feeds are ill-undefined..
2006-08-02oopsjoey
2006-08-02* Renamed GlobLists to PageSpecs.joey
* PageSpecs can now include nested parens, "and", and "or". This remains backwards compatible to the old GlobList format. It's implemented by treating the GlobList as a very limited microlanguage that is transformed to perl code that does the matching. * The old GlobList format is deprecated, and I encourage users to switch to using the new PageSpec format. Compatability with the old format will be removed at some point, possibly by 2.0. * Wiki rebuild needed on upgrade to this version due to PageSpec change. * Add support for creation_month and creation_year to PageSpec. Closes: #380680 * Changes to index file encoding.