| Commit message (Expand) | Author | Age |
* | Update IkiWiki::openiduser to work with Net::OpenID 2.x•••openiduser previously used a constructor that no longer works in 2.x.
However, all we actually want is the (undocumented) DisplayOfURL function
that is invoked by the display method, so try to use that.
(cherry picked from commit c3dd0ff5c7c10743107f203a5b456fdcd1b171df)
| Simon McVittie | 2009-07-07 |
* | Updated French debconf templates translation. Closes: #535103 | Joey Hess | 2009-06-29 |
* | img: Fix extra double quote with alt text. (smcv) | Joey Hess | 2009-06-16 |
* | releasing version 3.141 | Joey Hess | 2009-06-13 |
* | aggregate: Avoid resetting ctime when an item md5 changes.•••Besides being wrong to do, this could lead to the wrong item
being expired, as follows: If B is added and at the same time
A is changed, then A's ctime may be set to the current time,
while B's is set to its creation time. Thus the new item, A,
is incorrectly removed as older.
(This interacted especially badly with the bug fixed by
90b4d079605b72bb50d1da41402d994960e10937.)
| Joey Hess | 2009-06-12 |
* | aggregate: Fix storing of changed md5.•••The aggregate state merge code neglected to merge changes to the md5
field of an item. Therefore, if an item's md5 changed after initial
aggregation, it would be updated, and rewritten, each time thereafter.
This was wasteful and indirectly led to some expire problems.
| Joey Hess | 2009-06-12 |
* | Updated French translation. Closes: #532654 | Joey Hess | 2009-06-10 |
* | Disable the Preferences link if no plugin with an auth hook is enabled. | Joey Hess | 2009-06-09 |
* | meta: Add openid delegate parameter to allow delegating only openid or openid2. | Joey Hess | 2009-06-08 |
* | Optimise use of gettext, and avoid ugly warnings if Locale::gettext is not av...•••The test suite was emitting a lot of ugly gettext warnings;
setting LC_ALL didn't solve the problem for all locale setups
(since ikiwiki remaps it to LANG, and ikiwiki didn't know about
the C locale).
People also seem generally annoyed by the messages when
Locale::Gettext is not installed, and I suspect will be
generally happier if it just silently doesn't localize.
The optimisation came about when I noticed that the gettext
sub was doing rather a lot of work each call just to see
if localisation is needed. We can avoid that work by caching,
and the best thing to cache is a version of the gettext sub
that does exactly the right thing.
This was slightly complicated by the locale setting,
which might need to override the original locale (or lack
thereof) after gettext has been called. So it needs to invalidate
the cache in that case. It used to do it via a global variable,
which I am happy to have also gotten rid of.
| Joey Hess | 2009-06-08 |
* | goto: Support being passed a page title that is not a valid page name, to sup... | Joey Hess | 2009-06-06 |
* | pagecount: Fix broken optimisation for * pagespec. | Joey Hess | 2009-06-05 |
* | Setup automator: Check that each plugin added to the generated setup file can... | Joey Hess | 2009-06-05 |
* | Tighten up matching of bare words inside directives•••Do not allow an unterminated """ string to be treated as a series of bare
words. Fixes runaway regexp recursion/backtracking in strange situations.
(See 1d57a21c987a5e970df01efe10acdf69982c2d61 for test case.)
| Joey Hess | 2009-06-05 |
* | Avoid relying on translators preserving the case when translating "discussion... | Joey Hess | 2009-06-04 |
* | comment: Make comment directives no longer use the internal "_comment" form, ...•••Rationalle: Comments need to be user-editable so that they can be posted
via git commit etc.
The _comment directive is still supported, for back-compat.
| Joey Hess | 2009-06-02 |
* | releasing version 3.14 | Joey Hess | 2009-06-01 |
* | Danish translation update. Closes: #530877 | Joey Hess | 2009-05-28 |
* | Fix test suite to not rely on an installed copy of ikiwiki after underlaydir ... | Joey Hess | 2009-05-25 |
* | allow format to use any language supported by highlight•••format: Provide a htmlizefallback hook that other plugins can use to
handle formats that are not suitable for general-purpose htmlize hooks.
highlight: Use the hook to allow formatting of any language/extension,
without it needing to be enabled for standalone source files.
highlight: If the highlight perl binding is not available, fallback
safely to a passthrough mode.
| Joey Hess | 2009-05-23 |
* | highlight: New plugin supporting syntax highlighting of pretty much anything.•••* debian/control: Add suggests for libhighlight-perl, although
that package is not yet created by Debian's highlight source package.
(See #529869)
| Joey Hess | 2009-05-22 |
* | listdirectives: Avoid listing _comment directives and generally assume any di... | Joey Hess | 2009-05-22 |
* | ikiwiki-transition: deduplinks was broken and threw away all metadata stored ... | Joey Hess | 2009-05-22 |
* | ikiwiki-transition: Allow setup files to be passed to all subcommands that ne... | Joey Hess | 2009-05-20 |
* | Allow curly braces to be used in pagespecs•••And avoid a whole class of potential security problems (though
none that I know of actually existing..), by avoiding
performing any string interpolation on user-supplied data when translating
pagespecs.
| Joey Hess | 2009-05-18 |
* | More friendly display of markdown, textile in edit form selector (jmtd) | Joey Hess | 2009-05-16 |
* | Allow underlaydir to be overridden without messing up inclusion of other unde... | Joey Hess | 2009-05-07 |
* | ikiwiki-transition: If passed a nonexistant srcdir, or one not containing .ik... | Joey Hess | 2009-05-06 |
* | external: Fix pagespec_match and pagespec_match_list. Closes: #527281 | Joey Hess | 2009-05-06 |
* | Avoid %links accumulating duplicates. (For TOVA)•••This is sorta an optimisation, and sorta a bug fix. In one
test case I have available, it can speed a page build up from 3
minutes to 3 seconds.
The root of the problem is that $links{$page} contains arrays of
links, rather than hashes of links. And when a link is found,
it is just pushed onto the array, without checking for dups.
Now, the array is emptied before scanning a page, so there
should not be a lot of opportunity for lots of duplicate links
to pile up in it. But, in some cases, they can, and if there
are hundreds of duplicate links in the array, then scanning it
for matching links, as match_link and some other code does,
becomes much more expensive than it needs to be.
Perhaps the real right fix would be to change the data structure
to a hash. But, the list of links is never accessed like that,
you always want to iterate through it.
I also looked at deduping the list in saveindex, but that does
a lot of unnecessary work, and doesn't completly solve the problem.
So, finally, I decided to add an add_link function that handles deduping,
and make ikiwiki-transition remove the old dup links.
| Joey Hess | 2009-05-06 |
* | inline: Minor optimisation.•••When finding the pageurl, it was calling bestlink unnecessarily.
Since at this point $page contains the full name of the page that
is being inlined, there is no need to do bestlink's scan
for it.
This is only a minor optimisation, since bestlink is only called
once per displayed, inlined page.
| Joey Hess | 2009-05-05 |
* | ikiwiki-makerepo: Avoid using abs_path, as it apparently fails on nonexistant... | Joey Hess | 2009-05-05 |
* | turn python-support back on•••Should wait to upload until ikiwiki is fixed in testing.
| Joey Hess | 2009-05-04 |
* | releasing version 3.11 | Joey Hess | 2009-05-04 |
* | Avoid using python-support. Closes: #525086•••Uses new debhelper feature to turn off python-support.
The tiny python module included herein certianly doesn't
need all the python-support nonsense.
| Joey Hess | 2009-05-04 |
* | translation.mdwn: Typo fixes. Closes: #525753 | Joey Hess | 2009-04-27 |
* | Updated Danish translation from Jonas Smedegaard. Closes: #525751 | Joey Hess | 2009-04-27 |
* | pagespec_match_list added and used in most appropriate places•••* pagespec_match_list: New API function, matches pages in a list
and throws an error if the pagespec is bad.
* inline, brokenlinks, calendar, linkmap, map, orphans, pagecount,
pagestate, postsparkline: Display a handy error message if the pagespec
is erronious.
| Joey Hess | 2009-04-23 |
* | comments: Add link to comment post form to allow user to sign in if they wish... | Joey Hess | 2009-04-23 |
* | pagespec error/failure distinction and error display by inline•••* Add IkiWiki::ErrorReason objects, and modify pagespecs to return
them in cases where they fail to match due to a configuration or syntax
error.
* inline: Display a handy error message if the inline cannot display any
pages due to such an error.
This is perhaps somewhat incomplete, as other users of pagespecs do not
display the error, and will eventually need similar modifications to inline.
I should probably factor out a pagespec_match_all function and make it throw
ErrorReasons.
| Joey Hess | 2009-04-23 |
* | relativedate: Deal with clock skew.•••If the server has a clock running a bit ahead of the web browsing client,
relativedate could cause somewhat confusing displays like "3 seconds from now"
for just posted things.
As a hack, avoid displaying times in the future if they're less than a
small slip forward. I chose 30 minutes because both client and server could
be wrong in different directions, while it's still close enough that "just
now" is not horribly wrong.
| Joey Hess | 2009-04-23 |
* | websetup: If setup fails, restore old setup file. | Joey Hess | 2009-04-22 |
* | blogspam: Load RPC::XML library in checkconfig, so that an error can be print... | Joey Hess | 2009-04-22 |
* | websetup: Display stderr in browser if ikiwiki setup fails. | Joey Hess | 2009-04-22 |
* | Add python:Depends to control file. Closes: #525086 | Joey Hess | 2009-04-21 |
* | releasing version 3.10 | Joey Hess | 2009-04-18 |
* | Add a microblog template that is useful for inlining microblogging posts. | Joey Hess | 2009-04-11 |
* | inline: Add author info to archive display.•••This won't change it normally, and is useful if using archive
format to display some aggregated feed titles.
| Joey Hess | 2009-04-10 |
* | debian/control: Wrap fields. | Joey Hess | 2009-04-10 |
* | Add missing permalink support to archivepage and titlepage templates. | Joey Hess | 2009-04-10 |