aboutsummaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAge
* defer po and pot file updating until package build timeJoey Hess2008-03-21
| | | | | This allows make to be run without polluting the tree with lots of po file changes.
* external: Work around XML RPC's lack of support for null by passing a ↵Joey Hess2008-03-21
| | | | special sentinal value.
* Changed to a binary index file, written using Storable, for speedJoey Hess2008-03-21
| | | | | | | | During refresh of a wiki with 800 files, loadindex was using more total time than any other function, and saveindex was also in the top ten. Rewriting them to use Storable makes them three times as fast. 0.7 seconds is saved on my laptop in profiling mode.
* Precompile pagespecs, about 10% overall speedupJoey Hess2008-03-21
| | | | | | | | | | | | | | About 12% of ikiwiki runtime was spent in pagespec_match. It was evaling the same pagespec code over and over again. This changes pagespec_translate to return memoized, precompiled functions that can be called to match against a given pagespec. This also allows getting rid of the weird variable scoping trick that had to be in effect for pagespec_translate to be called -- the variables are now just fed into the function it returns. On my laptop, this drops build time for the docwiki from about 60 to 50 seconds.
* crazy optimisation to work around slow markdownJoey Hess2008-03-21
| | | | | | | | | | | | | | | | | | 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.)
* typoJoey Hess2008-03-21
|
* smiley: Detect smileys inside pre and tags, and do not expand.Joey Hess2008-03-21
|
* Close meta tag for redir properly.Joey Hess2008-03-21
|
* Store userinfo in network byte order for easy portability. (Old files will ↵Joey Hess2008-03-19
| | | | be automatically converted.)
* Time::Duration is no longer used, remove from docs and recommends.Joey Hess2008-03-19
|
* German translation update. Closes: #471540Joey Hess2008-03-18
|
* * Record new pages in %pagesources temporarily when previewing so thatJoey Hess2008-03-17
| | | | | things that need to know the page source or type can query it from there. Fixes previewing of tables when creating a new page.
* updateJoey Hess2008-03-17
|
* * Detect invalid pagespecs and do not merge them in add_depends,Joey Hess2008-03-17
| | | | as that can result in a broken merged pagespec that matches nothing.
* * Correct bug in encoding of %pagestate keys, fixes edittemplate.Joey Hess2008-03-17
|
* * external: Add getargv and setargv methods to allow access to ikiwiki'sJoey Hess2008-03-15
| | | | @ARGV.
* * htmltidy: Pass --markup yes, in case tidy's config file disabled it.Joey Hess2008-03-15
|
* * external: Fix support of XML::RPC::fault.Joey Hess2008-03-15
|
* updateJoey Hess2008-03-15
|
* updateJoey Hess2008-03-15
|
* * French translation update. Closes: #471010Joey Hess2008-03-15
|
* * Fix expiry of old recentchanges changeset pages.Joey Hess2008-03-14
|
* * Use absolute url for feedurl when filling out the feed templates.Joey Hess2008-03-12
| | | | Closes: #470530
* * Use forcebaseurl to make page previews be displayed with the html baseJoey Hess2008-03-12
| | | | | | set to the destination page. This avoids need for hacks to munge the urls in preview mode, which fixes several bugs. * Several destpage fixes in plugins.
* changelogJoey Hess2008-03-12
|
* * monotone: Require version 0.38 or greater, and stop using the mtnmergercJoey Hess2008-03-12
| | | | option. (Brian May)
* updateJoey Hess2008-03-11
|
* add changelog messagesJoey Hess2008-03-11
|
* * Remove locking code in git rcs_commit. I'm not sure if this was everJoey Hess2008-03-07
| | | | | | correct, and it's certianly not correct now, since the wiki is locked before rcs_commit is ever called, and should not be unlocked by rcs_commit either.
* * Fix example exclude regexp. Closes: #469691Joey Hess2008-03-06
|
* * Updated Spanish translation from Victor Moral.Joey Hess2008-03-06
|
* test for Text::Markdown::[Mm]arkdown and use the available oneJoey Hess2008-03-04
| | | | | | | | | | Markdown is such a splintered mess.. The current debian package provides only Text::Markdown::Markdown, while all versions of Text::Markdown support Text::Markdown::markdown, and old versions also support the capitalised version, while new ones don't. It's getting to the point where `grep /markdown/i %symbol_table` is the only sane way to figure out what function to call..
* * Use Text::Markdown::markdown, since version 1.0.16 of Text::MarkdownJoey Hess2008-03-04
| | | | | no longer supports Text::Markdown::Markdown. All old versions of Text::Markdown also support the lower-case version.
* * Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.Joey Hess2008-03-03
| | | | | | * rcs_diff is a new function that rcs modules should implement. * Implemented rcs_diff for git, svn, and tla (tla version untested). Mercurial and monotone still todo.
* Add robots tag to meta pluginmartin f. krafft2008-03-02
| | | | | | | | Add special handling for <meta name="robots" ...> which needs not be scrubbed as it's harmless. Signed-off-by: martin f. krafft <madduck@madduck.net> (cherry picked from commit b15d0299a7f7b147e89d8a202d6cca1c21491af2)
* Make directives generated by shortcuts accept a `desc` parameter.Adeodato Simó2008-03-02
| | | | (cherry picked from commit 252da396bfa728b99af7c9bb304a7b5f3f6d94e6)
* releasing version 2.40Joey Hess2008-02-29
|
* add changelog entryJoey Hess2008-02-29
|
* * ikiwiki-makerepo: Don't fail if the third argument ends in a slash.Joey Hess2008-02-24
|
* * inline: When forcing urls absolute for rss feeds, skip mailto and otherJoey Hess2008-02-24
| | | | such urls.
* Fix links generated by preprocessor directives when previewing.Joey Hess2008-02-24
| | | | | | | | | | As was already done for linkfication, links generated in a prevew page are relative to the top of the wiki, so it has to be told that the destpage is there. I was using "" to indicate this, but that may confuse some preprocessor plugins, which treat parameters with an empry value specially (sparkline is one such). Instead, use "/", which is more accurate anyway and works just as well.
* * Disable taint checking for all builds as people keep complaining about it,Joey Hess2008-02-24
| | | | and since all versions of perl seem to be hopelessly broken.
* * Fix another preview will_render bug. This one involved inline,Joey Hess2008-02-24
| | | | | | | | 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.
* retroactively add bug closure and CVE idsJoey Hess2008-02-20
|
* * tla: Remove call to escapeHTML when constructing recentchanges message;Joey Hess2008-02-20
| | | | | the html is escaped at a different level. Closes: #466495 * bzr, mercurial: Remove unused import of escapeHTML.
* * monotone: Add code to default mergerc file to runJoey Hess2008-02-14
| | | | _MTN/ikiwiki-netsync-hook when a commit is merged in from the net.
* * Preview limits the page dropdown to what's selected previouslyJoey Hess2008-02-14
| | | | | | | | (as preserving the full list across preview would be tricky). Userdirs were still being offered as an option there, remove them. * Fix a bug where user A created a page concurrently with user B, and when B previewed it would redirect B to A's new page, losing B's work. Instead, don't redirect and let conflict handling resolve it.
* * The search plugin needs to override <base> to point to the directoryJoey Hess2008-02-14
| | | | | | containing ikiwiki.cgi, but this should not change the urls to the style sheets etc. Add a new forcebareurl parameter to misctemplate to allow it to do that.
* * Depend on HTML::Scrubber, since the scrubber is enabled by default andJoey Hess2008-02-13
| | | | dies if its can't be loaded.
* * Setting NOTAINT=1 had no effect when building ikiwiki itself, fix this.Joey Hess2008-02-12
|