aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
Commit message (Collapse)AuthorAge
* * Fix stupid bug in date matching, patch from Roland Mas. Closes: #381132joey2006-08-02
| | | | * Added many unit tests for pagespec_match.
* * Memoize pagespec translation, this speeds up a build of the ikiwiki treejoey2006-08-02
| | | | by 10% or so.
* stupid perl..joey2006-08-02
|
* backlink is just the reverse of link, so..joey2006-08-02
|
* oy, case-insensativity lost!joey2006-08-02
|
* better use gmtime herejoey2006-08-02
|
* * Renamed GlobLists to PageSpecs.joey2006-08-02
| | | | | | | | | | | | | | * 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.
* allow hooks to add options even to --setupjoey2006-07-30
|
* * ikiwiki can now download and aggregate feeds with its new aggregatejoey2006-07-30
| | | | | | | | plugin, so it's possible to implement a Planet using ikiwiki! * --setup --refresh no longer rebuilds wrappers. Use --setup --refresh --wrappers to do that. * Add %IkiWiki::forcerebuild to provide a way for plugins like aggregate to update pages that haven't changed on disk.
* forgot to add thisjoey2006-07-30
|
* * Add a run_hooks function for the common task of running all hooks of ajoey2006-07-30
| | | | | | | given type. * Add a savestate hook. * Don't put blog post forms on pages if there's no cgiurl set. * Reformat front page.
* last minute fix from faidonjoey2006-07-29
|
* * Locale patch from Faidon:joey2006-07-29
| | | | | | | | - Adds a locale setting to setup files. - Proper local time, if the locale configuration option is used. - Support for UTF-8 (or ISO-8859-X) filenames in SVN. Before this patch, commiting (or even rcs_updating) on repositories with UTF-8 filenames was impossible.
* * Add getopt hook type, this allows plugins to add new command-line options.joey2006-07-28
| | | | * Add --tagbase option to tag plugin.
* * Support a w3mmode, which lets w3m run ikiwiki using its local CGIjoey2006-07-07
| | | | support, to edit pages etc without a web server.
* * Memoize abs2rel, which is still kinda slow, for another 30% speedupjoey2006-07-04
| | | | in time to build the doc wiki.
* * Work around very innefficient behavior in File::Spec::abs2rel. Resultjoey2006-07-04
| | | | | | | is a savings of 2 pointless fork/execs per link calculation, which results in ~25% speedup of ikiwiki building its own doc wiki, and about 35% speedup displaying RecentChanges!
* remove leading dot from default_pageextjoey2006-07-04
| | | | | | fix preview to not assume it's the default page type, and instead get the type from the page
* re-improve regexpjoey2006-07-04
|
* improve regexpjoey2006-07-03
|
* use "use open" pragma to avoid manually needing to specify utf8 everywherejoey2006-07-03
| | | | | | | and also to set default stdio mode change filetype to return undef, not "unknown"
* * Support htmlize plugins and make mdwn one such plugin, which is enabled byjoey2006-07-03
| | | | default (of course!). Based on a patch by Faidon Liambotis.
* Encode is used in nearly all code paths so stop loading it on demandjoey2006-07-03
|
* * Support pages with utf8 filenames. Patch by Faidon Liambotis.joey2006-07-03
|
* modify to actually workjoey2006-07-02
|
* * Centralised all calls to HTML::Template and force all the templatesjoey2006-07-02
| | | | to be read as utf8.
* * Support pinging services such as Technorati using XML-RPC to notify themjoey2006-06-27
| | | | about changes to rss feeds.
* * -CSD does not affect modules, so readfile() was not using the utf-8 inputjoey2006-06-15
| | | | | | | | | | | layer, which led to lots of problems; make it force read files as utf-8. Closes: #373203 * writefile() likewise needs to use the utf8 output layer. * Remove the -CSD from ikiwiki's hashbang since it's useless to have it there. * Revert some of the decode_utf8 changes in CGI.pm that seem unnecessary given the readfile fix. * Add utf-8 testcases for readfile and htmlize.
* * Patch from Dr. Zini to add link() and backlink() to globlists. This allowsjoey2006-06-02
| | | | | | | | | | | for some handy stuff like: - Using links as a kind of tag; creating blog pages that list all pages containing a given tag/link or not containing some other tag. - Subscribing to mail notifications whenever a change is made to a page that is a backlink of page foo. Ie, "Please notify me of changes in all pages that link to my home page in the wiki" - Locking any pages that are linked to from a particular page, so that lists of locks can be exposed in the wiki.
* * Add --timeformat config option to allow changing how dates are displayed.joey2006-05-29
| | | | | Note that as a side effect, dates will now be displayed using the local timezone, not as GMT.
* * --getctime had bitrotted (well I only ever used it the once so far..),joey2006-05-26
| | | | | | | | | | | | * When inlining a page in another one, links from the inlined page are now expanded the same as they are when rendering the inlined page as a standalone page. So rather than being expanded from the POV of the inlining page, they are expanded from the POV of the inlined page. For example, a link from blog/foo to "bar" will now link to blog/bar if it exists. Previously this needed to be a link explicitly to "blog/bar"; such links will also continue to work. (This was slightly complex to do as the link still has to be constructed relative to the inlining page.)
* * The page name and parent links has switched from using a <h1> to a styledjoey2006-05-26
| | | | | | | | | | <span>, so pages can use <h1> internally instead of needing to use <h2>. * Updated all of ikiwiki's own wiki pages for that. * Add pagetemplate hook, which can be used by plugins that want to mess around with adding new stuff to the page template. * Remove headercontent; the search plugin now adds the search box to the header by registering a pagetemplate hook, and other plugins should do similarly.
* * Allow discussion links on pages to be turned off with --no-discussion.joey2006-05-05
|
* * Removed --sanitize and --no-sanitize, replaced with --plugin htmlscrubberjoey2006-05-05
| | | | and --disable-plugin htmlscrubber.
* dirname, basename, bestlink, linkify, pagetitle, titlepage.joey2006-05-04
| | | | | * Allow links of the form [[some page|page]], with whitespace in the link text.
* rather a lot of changes to make hyperestraier search be a plugin, allowingjoey2006-05-03
| | | | | | | | | | | | | | for other types of search engine plugins if wanted, and also opening up a lot of new possibilities for other kinds of plugins later some notable changes along the way: - lots of new hook types: cgi, render, delete - wrapper files fixed to support config strings with newlines in them - HEADERCONTENT in page template useful for plugins. Probably needs to be expanded to more such for other places plugins might want to add content. - remove unnecessary wrappers field from config info stored in wrappers
* change plugin interface to use named parameters for flexabilityjoey2006-05-03
|
* * Patch from Thomas Schwinge to switch from --svn to --rcs=svn, etc,joey2006-05-02
| | | | | | | | | | to pave the way for adding other RCS support. This also changes the setup files, where before they had svn => 1 or svn => 0, now they have rcs => "svn" or rcs => "". * Add a debian/NEWS file with upgrade notes. * Load whatever rcs module is specified, so new ones can be just dropped in as plugins and work. * Add some basic docs about writing RCS modules.
* * Split off an IkiWiki.pm out of ikiwiki and have all the other modules usejoey2006-05-02
it, this will allow for adding a unit test suite.