aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/aggregate.pm
Commit message (Collapse)AuthorAge
* add plugin safe/rebuild info (part 1 of 2)Joey Hess2008-08-03
| | | | too many plugins.. brain exploding..
* remove default values in getsetupJoey Hess2008-07-26
| | | | | They were a bit confusing, since they did not actually set the default, and example values are sufficient.
* turn booleans into questionsJoey Hess2008-07-26
|
* added getsetup hooks for all plugins up to recentchangesJoey Hess2008-07-25
|
* fixesJoey Hess2008-07-14
|
* use prune to delete rendered filesJoey Hess2008-07-14
| | | | This handles deleting empty directories too.
* Fix aggregateinternal migration so it skips expired entries, and deletes outputSimon McVittie2008-07-15
|
* Merge commit 'smcv/aggregateinternal' into aggregateinternalJoey Hess2008-07-14
|\ | | | | | | | | | | Conflicts: IkiWiki/Plugin/aggregate.pm
| * Use _aggregated as extension for internalized aggregationSimon McVittie2008-07-15
| |
* | changes to debug message printingJoey Hess2008-07-14
|/
* Add aggregateinternal mode to ikiwiki-transition.Simon McVittie2008-07-14
| | | | | | | | | | Usage: 1. Update all pagespecs that use aggregated pages to use internal() 2. ikiwiki-transition aggregateinternal $srcdir $htmlext (where $srcdir and $htmlext are the srcdir and htmlext options in your .setup file) 3. Add aggregateinternal to your .setup file 4. Rebuild the wiki
* Merge commit 'origin/master' into aggregateinternalSimon McVittie2008-07-14
|\
| * switch preprocess hooks to use error functionJoey Hess2008-07-13
| |
* | Make aggregated items be internal pages if --aggregateinternal is used.Simon McVittie2008-07-12
|/ | | | | | | | This addresses <http://ikiwiki.info/todo/aggregate_to_internal_pages/> in a simple way. With this approach, a flag day is required, on which all users of aggregated pages start to inline them using the internal() pagespec; after that, the aggregateinternal option can safely be switched on in the setup file (and the old aggregated pages can be deleted by hand).
* `template` option for aggregate.pm.Bernd Zeimetz2008-06-21
| | | | | Allows to specify the template file which is used to create the html pages.
* When calling decode_utf8 on known-problimatic content in aggregate, ↵Joey Hess2008-05-28
| | | | explicitly pass 0 (FB_DEFAULT) as the second parameter. Apparently perl 5.8 needs this to avoid crashing on malformed utf-8, despite its docs saying it is the default.
* aggregate: Add support for web-based triggering of aggregation for people ↵Joey Hess2008-05-05
| | | | stuck on shared hosting without cron. (Sheesh.) Enabled via the `aggregate_webtrigger` configuration optiom.
* aggregate: Correct a mistake in the code that dummy up a guid for feeds ↵Joey Hess2008-04-03
| | | | lacking one.
* load HTML::Entities at topJoey Hess2008-03-14
| | | | Used in several subs, not all of which load it on demand, this seems simpler.
* no need to use HTML::Entities, as it's loaded on demand by code belowJoey Hess2008-03-12
|
* implement aggregate_locking designJoey Hess2008-02-03
| | | | | | | | | | Now aggregation will not lock the wiki. Any changes made during aggregaton are merged in with the changed state accumulated while aggregating. A separate lock file prevents multiple concurrent aggregators. Garbage collection of orphaned guids is much improved. loadstate() is only called once per process, so tricky support for reloading wiki state is not needed. (Tested fairly thuroughly.)
* add aggregate locking functionsJoey Hess2008-02-03
|
* * aggregate: Revert use of forking to not save state, that was not the rightJoey Hess2008-02-03
| | | | approach.
* * aggregate: Forking a child broke the one state that mattered: ForcingJoey Hess2008-02-02
| | | | the aggregating page to be rebuilt. Fix this.
* merged the recentchanges branchJoey Hess2008-01-29
| | | | misc fixes
* add missing test to avoid uninitialised value when a page with metadata is ↵Joey Hess2008-01-29
| | | | removed
* aggregate.pm: Replace Unicode apostrophe with ASCII to unbreak buildJosh Triplett2008-01-26
| | | | | | | gettext choked on a Unicode apostrophe in the aggregate plugin, which appeared in a new error message in commit 4f872b563300e4a277cac3d7ea2a999bcf75d1ff. Replace it with an ASCII apostrophe.
* * aggregate: Fork a child process to handle the aggregation. This simplifiesJoey Hess2008-01-24
| | | | | | the code, since that process can change internal state as needed, and it will automatically be cleaned up for the parent process, which proceeds to render the changes.
* * aggregate: Don't let feeds set creation times for pages in the future.Joey Hess2008-01-16
|
* * aggregate: Include copyright statements from rss feed as meta copyrightJoey Hess2008-01-08
| | | | | | directives. * aggregate: Yet another state saving fix (sigh). * aggregate: Add hack to support feeds with invalidly escaped html entities.
* * aggregate: Only save state if it was already loaded.Joey Hess2008-01-05
|
* round days old messageJoey Hess2008-01-02
|
* I *think* that this comment is out of date.Joey Hess2007-12-30
|
* * aggregate: Fix stupid mistake introduced when converting it to useJoey Hess2007-12-30
| | | | | | | 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.
* loadstate needs to be called even if no pages are being builtJoey Hess2007-12-16
|
* * meta: Drop support for "meta link", since supporting this for internalJoey Hess2007-12-16
| | | | | | | | | | | | | | | | 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.
* improve use of seen hashJoey Hess2007-10-30
|
* * Fix an aggregate plugin expiry bug. Over time, it's possible for the sameJoey Hess2007-10-30
| | | | | | 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.
* * Various minor bug fixes for silly mistakes in the code, thanks to thejoey2007-07-28
| | | | various reviewers.
* * Add a htmlext config option, this can be used to make ikiwiki generatejoey2007-07-25
| | | | html files with a different extension.
* improve messagesjoey2007-05-21
|
* Clear state after performing aggregation, since it could hypotheticallyjoey2007-05-21
| | | | | | 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.
* * Change the aggregate plugin's locking strategy. Now it defers loading statejoey2007-05-21
| | | | | | 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.
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | 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.
* improve messagejoey2007-04-23
|
* * Fix aggregator to not warn when a feed contains no body content at all.joey2007-04-23
| | | | | * Work around bug #420636 by, if XML::Parser crashes, running the feed content though Encode::decode_utf8.
* * Optimise displaytime, trimming maybe 6% off the build time.joey2007-04-10
|
* another htmlpage call that is no longer appropriatejoey2007-04-01
|
* * Finally apply the index.html patch, with thanks to everyone who workedjoey2007-04-01
| | | | | | 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.
* fix error message to include urljoey2007-03-31
|