| Commit message (Expand) | Author | Age |
* | move osm.js to osm underlay and osm does not need javascript underlay | Joey Hess | 2012-03-03 |
* | properly link to javascript underlay | Antoine Beaupré | 2012-03-03 |
* | split off the javascript in a separate file | Antoine Beaupré | 2012-03-03 |
* | add osm.png•••Add an underlay for the osm plugin.
Update links to right path to icon. Note that the osm plugin has a
pervasive bug in how it links to icons; it assumes the site is at /.
I did not attempt to fix that; it should be using urlto() to make a correct
relative link.
| Joey Hess | 2012-03-03 |
* | reindentation and style•••no code changes
| Joey Hess | 2012-03-03 |
* | add osm plugin | Joey Hess | 2012-03-03 |
* | shortcut: Support Wikipedia's form of url-encoding for unicode characters•••I think it's the wrong encoding, seems like mojibake to me, but it works
now. Closes: #661198
| Joey Hess | 2012-03-03 |
* | Drop the version attribute on the generator tag in Atom feeds.•••Removing the version means that rebuilds are reproducible over time.
Both the generator tag and its version attribute are optional:
http://tools.ietf.org/html/rfc4287#section-4.2.4
| Paul Wise | 2012-03-03 |
* | Fix a snail mail address. Closes: #659158 | Joey Hess | 2012-02-08 |
* | fix display of page name in recentchanges after a revert•••When the wiki is in a subdir of the git repo, a web revert would show
in recentchanges as eg, doc/index, instead of just index.
This happened because decode_git_file caches a $prefix that is dependant
on the $git_dir setting, and the revert code runs with a different
$git_dir, which polluted the $prefix for later.
Fix this by adding a with_git_dir that juggles the variables properly.
| Joey Hess | 2012-02-07 |
* | revert change to prettydate•••Its strftime is from Date::Format, doesn't have the problem, and using the
POSIX one breaks its %o.
| Joey Hess | 2012-02-02 |
* | Merge remote-tracking branch 'schmonz/portability' | Joey Hess | 2012-01-30 |
|\ |
|
| * | When generating scripts, give them the interpreter we generated them with. | Amitai Schlair | 2012-01-08 |
* | | calendar, prettydate: Fix strftime encoding bug•••strftime is a C function, it does not return decoded utf8.
Several places in ikiwiki manually decoded it, but at least two
forgot to.
Also, strftime might not return even encoded utf8, if LC_TIME is set
to a non-utf8 value. Went ahead and supported decoding whatever encoding
it uses.
The remaining direct calls to strftime() are all ones that first set
LC_TIME=C, in order to get times that are not for human display.
| Joey Hess | 2012-01-30 |
* | | Merge remote-tracking branch 'schmonz/cvs' | Joey Hess | 2012-01-30 |
|\ \ |
|
| * | | Move cvs_keyword_subst_args() down with the other internal support routines. | Amitai Schlair | 2012-01-26 |
| * | | Uncomment the CVS keyword substitution mode tests, and make them pass:•••Extract cvs_keyword_subst_args() and ensure it runs in $config{srcdir}.
Using Perl's -T operator appears to work equally well, perhaps switch?
| Amitai Schlair | 2012-01-26 |
| * | | Mollify strictures about barewords. | Amitai Schlair | 2012-01-26 |
| * | | Merge branch 'master' of git://git.ikiwiki.info into cvs | Amitai Schlair | 2012-01-25 |
| |\ \ |
|
| * | | | No functional change: sort sub definitions.•••In the code:
* general plugin API calls (in plugins/write order),
* VCS plugin API calls (in plugins/write order), then
* internal support routines (in alphabetical order).
In the tests:
* general meta-behavior (in no particular order, yet),
* general plugin API calls (in plugins/write order),
* VCS plugin API calls (in plugins/write order), then
* internal support routines (in semi-logical order).
| Amitai Schlair | 2012-01-22 |
* | | | | Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533•••https://rt.cpan.org/Ticket/Display.html?id=74487
Gave up trying to support multiple YAML backends. The XS one requires ugly
manual encoding to get unicode right, and doesn't allow dumping yaml
fragments w/o the yaml header, but at least it doesn't randomly crash
on import like YAML::Mo has started to.
| Joey Hess | 2012-01-28 |
| |/ /
|/| | |
|
* | | | recentchangesdiff: truncate extremely large diffs•••A diff was already truncated after 200 lines. But it could still be
arbitrarily enormous, if a spammer or other random noise source likes long
lines. That could use a lot of memory to html encode etc the diff and fill
it into the template. Truncating after 100kb seems sufficient; it allows
for 200 lines of up to 512 characters each.
| Joey Hess | 2012-01-23 |
* | | | fix the nodiscount setting | Joey Hess | 2012-01-23 |
|/ / |
|
* | | mdwn: Added nodiscount setting, which can be used to avoid using the markdown... | Joey Hess | 2012-01-16 |
* | | attachment: Fix utf-8 display bug. | Joey Hess | 2012-01-15 |
* | | Workaround discount's eliding of <style> blocks. | Joey Hess | 2012-01-15 |
|/ |
|
* | workaround a bug in the discount perl binding•••Empty input, or input consisting soley of whitespace
caused an uninitialized value warning.
| Joey Hess | 2012-01-01 |
* | 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 |
* | remove x bit from comments.pm•••how did that get set?
| Joey Hess | 2011-12-27 |
* | tag plugin: encode categories using numeric values•••This ensures that RSS/Atom feeds produced are valid XML.
| Giuseppe Bilotta | 2011-12-24 |
* | Add path and path_natural sort orders•••(cherry picked from commit 272e0b2f17c33c625b494b07f581da400066a216)
| Simon McVittie | 2011-12-06 |
* | 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 |
* | apply Postel's law | Joey Hess | 2011-11-30 |
* | graphviz: Support wikilinks embedded in the graph.•••(Sponsored by The TOVA Company.)
| Joey Hess | 2011-11-30 |
* | store imagemap in %pagestate, rather than a file•••Using a file was sorta not right.
Note that when previewing, %pagestate is not saved, so
it has to rebuild the graph every time until that graph is saved;
then previews can use the cached data until the next time the graph
is changed.
Also note that it's stored in the destpage's pagestate. The imagemap
could vary between a page and an inlined page if wikilinks were supported.
| 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 |
* | 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 |
* | cannot reproduce | Joey Hess | 2011-11-23 |
* | cleanup now unused setting | Joey Hess | 2011-11-17 |
* | Always use true image size | Per Carlson | 2011-11-17 |
* | 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 |
* | 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 |
* | 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 |
* | 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 |
* | 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 |
* | Put in a workaround for #622591, by ensuring Search::Xapian gets loaded befor... | Joey Hess | 2011-08-07 |
* | mercurial: fix date parsing so test suite passes | Joey Hess | 2011-07-30 |