aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/inline.pm
Commit message (Expand)AuthorAge
...
* minor optimisationJoey Hess2008-09-08
* editpage: New core plugin factoring out page editing to allow disabling it if...Joey Hess2008-09-05
* error if ping fails, rather than printing debugJoey Hess2008-08-11
* inline: Ignore parent dirs when sorting pages by title.Joey Hess2008-08-07
* add plugin safe/rebuild info (part 1 of 2)•••too many plugins.. brain exploding.. Joey Hess2008-08-03
* fix cgiurl checkJoey Hess2008-07-27
* remove default values in getsetup•••They were a bit confusing, since they did not actually set the default, and example values are sufficient. Joey Hess2008-07-26
* typoJoey Hess2008-07-26
* turn booleans into questionsJoey Hess2008-07-26
* predefine pingurlJoey Hess2008-07-26
* add getconfig for inline•••Also, moved the pingurl getopt parsing to inline. Joey Hess2008-07-25
* fix feed urls•••The fix for colons involved adding "./" to some urls. Due to the weird way inline called urlto, these snuck into feed urls and permalinks. Fix it by adding an optional third parameter to urlto. Joey Hess2008-07-25
* switch preprocess hooks to use error functionJoey Hess2008-07-13
* Rename [[!inline atomid="..."]] to [[!inline guid="..."]] to be consistent wi...Simon McVittie2008-07-12
* Accept [[!inline ... atomid="..."]] and use it to populate the feed's Atom <id>.•••This is often the same as the feed's <link> (in which case it can be omitted) but sometimes it's a urn:uuid: URN instead. Simon McVittie2008-07-12
* Move yesno function out of inline and into IkiWiki core, not exported.Joey Hess2008-07-12
* rename uuid to guidJoey Hess2008-07-12
* elide temp varJoey Hess2008-07-12
* inline plugin: if meta plugin is also enabled, and has collected a uuid for a...Simon McVittie2008-07-11
* editpage escaping fixes•••* The editpage form now uses the raw page name, not the page title, in its 'page' cgi parameter. Using the title was ambiguous and made it impossible to tell between some pages, like "foo/bar" and "foo__47__bar", sometimes causing the wrong page to be edited. * This change means that some edit links need to be updated. Force a rebuild on upgrade to this version. * Above change also allowed really fixing escaped slashes from the blogpost form. Joey Hess2008-07-06
* Pass a destpage parameter to the sanitize hook.•••Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.) Joey Hess2008-06-04
* inline: The optimisation in 2.41 broke nested inlines. Detect those and avoid...Joey Hess2008-05-31
* inline: Display a message if the 'pages' parameter is missing, before it just...Joey Hess2008-05-15
* Optimised file statting code when scanning for modified pages; cut the number...Joey Hess2008-05-07
* POSIX::setsid is not exported per defaultJoey Hess2008-05-06
* need to handle urls to images the same•••Also, simplified finding the url to the top of the site. Joey Hess2008-04-03
* Bug#473987: [PATCH] Links relative to baseurl mangled in atom/rss feeds•••tag 473987 +patch thanks Hi, The issue is that we need to convert relative links to absolute ones for atom and rss feeds -- but there are two types of relative links. The first kind, relative to the current document ( href="some/path") is handled correctly. The second kind of relative url is is relative to the http server base (href="/semi-abs/path"), and that broke. It broke because we just prepended the url of the current document to the href (http://host/path/to/this-doc/ + link), which gave us, in the first place: http://host/path/to/this-doc/some/path [correct], and http://host/path/to/this-doc//semi-abs/path [wrong] The fix is to calculate the base for the http server (the base of the wiki does not help, since the base of the wiki can be different from the base of the http server -- I have, for example, "url => http://host.name.mine/blog/manoj/"), and prepend that to the relative references that start with a /. This has been tested. Signed-off-by: Manoj Srivastava <srivasta@debian.org> Manoj Srivastava2008-04-03
* inline: Allow the "feedshow" parameter to take values greater than the value ...Joey Hess2008-03-23
* work around perl warningJoey Hess2008-03-21
* delete inline data after it's usedJoey Hess2008-03-21
* crazy optimisation to work around slow markdown•••Markdown is slow. Especially if it has to process an enormous page. The most common enormous page is currently the recentchanges page, which gets processed a lot, and contains very little actual markdown. Most of it is a big <div>, which markdown skips ... slowly. This is a rather sick optimisation to work around markdown's speed issues. Now inline inserts a small, dummy div, allows markdown to quickly render the actual page content, then replaces the dummy with the actual inlined pages later. Results: Rendering just a recentchanges page, with diffs included, dropped from 4.5 seconds to 2.7 seconds on my laptop. Building the entire wiki dropped from 46.6 seconds to 39.5 seconds. (It would be better if inline were a *post*-processor directive.) Joey Hess2008-03-21
* * Use absolute url for feedurl when filling out the feed templates.••• Closes: #470530 Joey Hess2008-03-12
* * inline: When forcing urls absolute for rss feeds, skip mailto and other••• such urls. Joey Hess2008-02-24
* * Fix another preview will_render bug. This one involved inline,••• which forced a scan of the page to make available metadata that appeared after the inline directive. Problem is that scan made it forget about any other files rendered due to the page. The scan also turns out to be unnecessary now, since meta persistently stores state and it's always available. So it was just removed. Joey Hess2008-02-24
* proper fix for the preview/will_render issueJoey Hess2008-02-04
* preview shouldn't show the feed buttons or post formJoey Hess2008-02-04
* * inline: Add new `allowrss` and `allowatom` config options. These can be••• used if you want a wiki that doesn't default to generating rss or atom feeds, but that does allow them to be turned on for specific blogs. Joey Hess2008-02-04
* * inline: When previewing, still call will_render on rss/atom files,••• just avoid actually writing the files. This is necessary because ikiwiki saves state after a preview (in case it actually *did* write files), and if will_render isn't called its security checks will get upset when the page is saved. Thanks to Edward Betts for his help tracking this tricky bug down. Joey Hess2008-02-04
* * inline: The template can check for FIRST and LAST, which will be••• set for the first and last inlined page. Useful for templates that build tables and the like. Joey Hess2008-01-28
* * meta: Run in scan mode again (more intelligently) and re-add support for••• meta link. * Fix support for the case where metadata appears after an inline directive. This was broken in version 2.16. Joey Hess2008-01-09
* fix some bad copy and pasted plugin idsJoey Hess2008-01-07
* correct variable scoping error in nils's patchJoey Hess2007-12-16
* rssurl and atomurl are only needed where $feeds is setNis Martensen2007-12-16
* Also increment feednum only if feeds are generatedNis Martensen2007-12-16
* Set page_numfeeds only if feeds are being generatedNis Martensen2007-12-12
* * inline: Add timeformat parameter to control how the ctime of••• inlined pages is displayed. Closes: #451019 Joey Hess2007-11-13
* use nulls to avoid ambiguitiesJoey Hess2007-10-25
* * Add handling of feeds for nested inlines, as well as support for a••• single page containing two different feeds. * Also fixed some places in inline that failed to use destpage correctly. Joey Hess2007-10-25
* * inline: add feedonly option, set feedonly=yes to get only the feed button••• but not inline the pages. joey2007-09-13
* * Correct generation of RFC 3339 format times for atom/rss feeds. Always use••• gmtime for these since a time zone is not specified. joey2007-09-02