| Commit message (Expand) | Author | Age |
... | |
* | attachment: Fix utf-8 display bug. | Joey Hess | 2012-01-15 |
* | releasing version 3.20120115 | Joey Hess | 2012-01-15 |
* | Workaround discount's eliding of <style> blocks. | Joey Hess | 2012-01-15 |
* | Make backlink(.) work. Thanks, Giuseppe Bilotta. | Joey Hess | 2012-01-13 |
* | releasing version 3.20120109 | Joey Hess | 2012-01-09 |
* | correction | Joey Hess | 2012-01-04 |
* | On Debian, depend on libtext-markdown-discount. | Joey Hess | 2012-01-03 |
* | discount support•••mdwn: Can use the discount markdown library, via the
Text::Markdown::Discount perl module.
This is preferred if available since it's the fastest currently supported
markdown library, speeding up markdown rendering by a factor of 40.
That is to say, when only rendering a lot of markdown, discount is 40x
faster. When building a ikiwiki site, ikiwiki's other overhead gets in the
way, but I still see significant speedups. Building the ikiwiki docwiki
dropped from 62 to 45 seconds, for example.
However, when multimarkdown is enabled, Text::Markdown::Multimarkdown is
still used.
While discount contains some nonstandard markdown extensions,
including tables and footnotes, AFAICS most of them are not
enabled by default in the perl bindings.
I consider sticking to non-extended markdown a desirable thing, since this
is probably not the last markdown engine. In particular, sundown is waiting
in the wings to get packaged and get a perl binding.
----
Reviewing all the showdown extensions, here are the ones that are enabled:
centered paragraphs:
->centered<-
image sizes: [dust mite](http://dust.mite =150x150)
<style>..</style> blocks are eaten. The perl binding does not provide
access to the gathered CSS. This is not legal html anyway, so unlikely
to cause breakage.
| Joey Hess | 2012-01-01 |
* | releasing version 3.20111229 | Joey Hess | 2011-12-29 |
* | changelog | Joey Hess | 2011-12-24 |
* | remove vcs-browser•••not a fan of this field, and it changed again
| Joey Hess | 2011-12-07 |
* | coverage merged | Joey Hess | 2011-12-06 |
* | done | Joey Hess | 2011-12-06 |
* | typo | Joey Hess | 2011-12-05 |
* | Consume all stdin when rcs_receive short-circuits, to avoid git SIPIPE race.•••We had a weird problem where, after moving to a new, faster server,
"git push" would sometimes fail like this:
Unpacking objects: 100% (3/3), done.
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
What turned out to be going on was that git-receive-pack was dying due
to an uncaught SIGPIPE. The SIGPIPE occurred when it tried to write to
the pre-receive hook's stdin. The pre-receive hook, in this case, was
able to do all the checks it needed to do without the input, and so did
exit(0) without consuming it.
Apparently that causes a race. Most of the time, git forks the hook,
writes output to the hook, and then the hook runs, ignores it, and exits.
But sometimes, on our new faster server, git forked the hook, and it
ran, and exited, before git got around to writing to it, resulting in
the SIGPIPE.
write(7, "c9f98c67d70a1cfeba382ec27d87644a"..., 100) = -1 EPIPE (Broken
pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
I think git should ignore SIGPIPE when writing to hooks. Otherwise,
hooks may have to go out of their way to consume all input, and as I've
seen, the races when they fail to do this can lurk undiscovered.
I have written to the git mailing list about this.
As a workaround, consume all stdin before exiting.
| Joey Hess | 2011-12-05 |
* | releasing version 3.20111107 | Joey Hess | 2011-11-30 |
* | add missing license text | Joey Hess | 2011-11-30 |
* | graphviz: Support wikilinks embedded in the graph.•••(Sponsored by The TOVA Company.)
| Joey Hess | 2011-11-30 |
* | graphviz: Support urls embedded in the graph, by having graphviz generate an ...•••Also, I let preview mode write real files, rather than using data: uri.
Which is ok these days, since ikiwiki tracks files created during
previewing, and cleans them up later.
| Joey Hess | 2011-11-30 |
* | The umask setting can now be set to private, group, or public, avoiding the n... | Joey Hess | 2011-11-27 |
* | editpage: Fix FormattingHelp link on Discussion pages.•••In 875d550f1278215e6c87d3b78ff87db24c6d76b3 I for some reason
made $page be changed when creating a discussion page, which
broke the link on the edit page. Changing page seems unnecessary,
so reverted that part of the change.
| Joey Hess | 2011-11-27 |
* | reorder depends; git first | Joey Hess | 2011-11-19 |
* | img: Bugfix to width/height tags for scaled down image when only one dimensio... | Joey Hess | 2011-11-17 |
* | releasing version 3.20111106 | Joey Hess | 2011-11-06 |
* | Fix handling of discussion page creation links to make discussion pages in th...•••Broken by page case preservation feature added in 3.20110707.
| Joey Hess | 2011-11-06 |
* | Make the setup automator create YAML formatted files. | Joey Hess | 2011-11-06 |
* | changelog | Joey Hess | 2011-10-23 |
* | svn: Support subversion 1.7, which does not have .svn in each subdirectory.•••Involved dropping some checks for .svn which didn't add anything, since if
svn is enabled and you point it at a non-svn checkout, you get both pieces.
The tricky part is add and rename, in both cases the new file can be in
some subdirectory that is not added to svn.
For add, turns out svn has a --parents that will deal with this by adding
the intermediate directories to svn as well.
For rename though, --parents fails if the directories exist but are not
yet in svn -- which is exactly the case, since ikiwiki makes them
by calling prep_writefile. So instead, svn add the parent directory,
recursively.
tldr; svn made a reasonable change in dropping the .svn directories from
everywhere, but the semantics of other svn commands, particularly their
pickiness about whether parent directories are in svn or not, means
that without the easy crutch of checking for those .svn directories,
code has to tiptoe around svn to avoid pissing it off.
| Joey Hess | 2011-10-12 |
* | track escaping change in upstream template•••This is not belived to be XSS exploitable due to other checks in ikiwiki.
Thanks Olly Betts for review.
| Joey Hess | 2011-09-27 |
* | releasing version 3.20110905 | Joey Hess | 2011-09-05 |
* | Fix web revert of a file deletion.•••When reverting, an add is a remove, and a remove is an add.
| Joey Hess | 2011-09-05 |
* | Promote RPC::XML to a Recommends, since it's used by auto-blog.setup. Closes:... | Joey Hess | 2011-09-05 |
* | Avoid warning message when generating setup file if highlight is not installe...•••There's a nice message if the plugin is loaded and used and highlight is
not available, and a nice fallback. So no need for this other warning,
which can happen any time all plugins are loaded to generate a setup file.
| Joey Hess | 2011-09-05 |
* | Fix comments testsuite to not rely on Date::Parse's ability to parse the date...•••This is such a pity. smcv had these great dates, but squeeze's Date::Parse
cannot parse them.
Oh well, at least it makes for a great bug closure title.
| Joey Hess | 2011-09-05 |
* | inline: When indexing internal pages for searching, use the url of the inlini... | Joey Hess | 2011-09-01 |
* | search: Fix encoding bug in calculation of maximum term size. | Joey Hess | 2011-08-30 |
* | Use lockf rather than flock when taking the cgilock, for better portability.•••This kind of change is scary, but this particular lock is very simply
used and so it seems ok to make it even just for better portability to
SunOS. (People still use that?)
| Joey Hess | 2011-08-24 |
* | jquery source cleanup•••* Add unminified jquery js and css files to source.
* Update to jquery 1.6.2, and jquery-ui 1.8.14.
The full files are included in the source but not the binary.
I'm not minifying the files as part of build because I don't want ikiwiki
to build depend on a javascript minifier. (Let alone need one at runtime).
Nor do I want to deal with any breakage caused by the minifier. These
files were taken from the debian packages.
The jquery-tmpl full file was taken from revision
66bb852217c49ae8c9a8f2522150354ae80463de of its git repository, which
matches the minified file I already had. I did not want to deal with possible
breakage in newer versions; this thing claims to need an ancient version of
jquery (1.4.2), and is perhaps only working by luck with the newer versions
as it is.
| Joey Hess | 2011-08-24 |
* | Put in a workaround for #622591, by ensuring Search::Xapian gets loaded befor... | Joey Hess | 2011-08-07 |
* | typo | Joey Hess | 2011-08-05 |
* | Avoid using named capture groups in heredoc code for oldperl compatability.•••Also reordered heredoc part of regexp for consistency.
| Joey Hess | 2011-07-30 |
* | Fix escaping of html entities in tag names.•••Example case was a tag with & in its name, which resulted in a malformed
rss feed.
| Joey Hess | 2011-07-29 |
* | Fix escaping of html entities in permalinks. | Joey Hess | 2011-07-29 |
* | Fix typo in Danish translation of shortcuts page that caused expoentional reg...•••Complex regular subexpression recursion limit (32766) exceeded at
/home/joey/src/ikiwiki/IkiWiki.pm line 1532.
This doesn't fix the blowup potential itself, it just fixes the typo. :)
A sample page that causes the blowup is attached below for future
reference. The first directive is not terminated. Contributing are the
additional quotes around the following directives, which mean that they can
each be processed as a parameter to the first directive, or as an
individual directive. In resolving this ambiguity, the regexp blows up.
Happily, perl contains the explosion , so I don't think there is an exploit
here.
"[[!shortcut name=wiktionary url=\"https://secure.wikimedia.org/wiktionary/en/"
"[[!shortcut name=debss url=\"http://snapshot.debian.net/package/%s\"]]"
"[[!shortcut name=debwiki url=\"http://wiki.debian.org/%s\"]]"
"[[!shortcut name=fdobug url=\"https://bugs.freedesktop.org/show_bug.cgi?id=%s\" desc=\"freedesktop.org bug #%s\"]]"
"[[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]"
"[[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]"
"[[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]"
"[[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]"
"[[!shortcut name=gnomebug url=\"http://bugzilla.gnome.org/show_bug.cgi?id=%s\" desc=\"GNOME bug #%s\"]]"
"[[!shortcut name=linuxbug url=\"http://bugzilla.kernel.org/show_bug.cgi?id=%s\" desc=\"Linux bug #%s\"]]"
"[[!shortcut name=gmane url=\"http://dir.gmane.org/gmane.%s\" desc=\"gmane.%s\"]]"
"[[!shortcut name=gmanemsg url=\"http://mid.gmane.org/%s\"]]"
"[[!shortcut name=cpan url=\"http://search.cpan.org/search?mode=dist&query=%s\"]]"
"[[!shortcut name=ctan url=\"http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s\"]]"
"[[!shortcut name=hoogle url=\"http://haskell.org/hoogle/?q=%s\"]]"
"[[!shortcut name=iki url=\"http://ikiwiki.info/%S/\"]]"
"[[!shortcut name=ljuser url=\"http://%s.livejournal.com/\"]]"
"[[!shortcut name=rfc url=\"http://www.ietf.org/rfc/rfc%s.txt\" desc=\"RFC %s\"]]"
"[[!shortcut name=c2 url=\"http://c2.com/cgi/wiki?%s\"]]"
"[[!shortcut name=meatballwiki url=\"http://www.usemod.com/cgi-bin/mb.pl?%s\"]]"
"[[!shortcut name=emacswiki url=\"http://www.emacswiki.org/cgi-bin/wiki/%s\"]]"
"[[!shortcut name=haskellwiki url=\"http://haskell.org/haskellwiki/%s\"]]"
"[[!shortcut name=dict url=\"http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s\"]]"
"[[!shortcut name=imdb url=\"http://imdb.com/find?q=%s\"]]"
"[[!shortcut name=gpg url=\"http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s\"]]"
"[[!shortcut name=perldoc url=\"http://perldoc.perl.org/search.html?q=%s\"]]"
"[[!shortcut name=whois url=\"http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain\"]]"
"[[!shortcut name=cve url=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s\"]]"
"[[!shortcut name=cia url=\"http://cia.vc/stats/project/%s\"]]"
"[[!shortcut name=ciauser url=\"http://cia.vc/stats/user/%s\"]]"
"[[!shortcut name=flickr url=\"http://www.flickr.com/photos/%s\"]]"
"[[!shortcut name=man url=\"http://linux.die.net/man/%s\"]]"
"[[!shortcut name=ohloh url=\"http://www.ohloh.net/projects/%s\"]]"
"[[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]"
"[[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]"
| Joey Hess | 2011-07-26 |
* | po: Add `LANG_CODE` and `LANG_NAME` template variables. (intrigeri) | Joey Hess | 2011-07-19 |
* | mercurial: Implement rcs_diff. (Daniel Andersson) | Joey Hess | 2011-07-19 |
* | rcs_rename and rcs_remove also were in the big mercurial patch | Joey Hess | 2011-07-19 |
* | mercurial: Make both rcs_getctime and rcs_getmtime fast. (Daniel Andersson) | Joey Hess | 2011-07-19 |
* | apply the big mercurial patch•••* mercurial: openid nicknames are now used when committing. (Daniel Andersson)
* mercurial: implement rcs_commit_staged so comments, attachments, etc
can be used. (Daniel Andersson)
* mercurial: fix viewing of a diff containing non-utf8 changes.
(Daniel Andersson)
| Joey Hess | 2011-07-19 |
* | releasing version 3.20110715 | Joey Hess | 2011-07-15 |