| Commit message (Expand) | Author | Age |
* | look up avatar at comment post time•••There is a tension between looking up the avatar at post time
and build time. I have not yet decided which is better.
Lookup at build time has the benefit that if a user changes their
email address, or sets up their own federated libravatar
server, on rebuild their new avatar will show up.
It also allows getting a https version of the avatar easily if
the site was using http but was changed to use https.
And it can look up avatars for posts that have already been made.
Which is a nice thing, especially as we roll this out, eh?
But it has a drawback, that it depends on the sessiondb contents
for emails and so rebuilding a site w/o that will lose info.
And, it means dns lookups every time a comment is rendered. A page
with a lot of comments on it would render them all whenever another is
posted or the page is changed, and that could significantly slow things
down. (This could be amelorated by caching the lookups.)
Since I'm undecided, I have moved it into a function that could be called
either way. Currently looking up only at post time.
| Joey Hess | 2011-03-30 |
* | check site url for https•••HTTPS won't be set when rebuilding a site at the command line
| Joey Hess | 2011-03-30 |
* | robustness fix•••Don't fail if libravatar fails for some reason. Reasons I can think
of:
* too old version to do openid lookups (fall back to email lookup)
* network problem perhaps
| Joey Hess | 2011-03-30 |
* | indentation | Joey Hess | 2011-03-30 |
* | comments: add OpenID-based avatars (libravatar.org)•••This requires version 1.04 or later of Libravatar::URL.
| Francois Marier | 2011-03-30 |
* | comments: serve avatars over https in https wikis | Francois Marier | 2011-03-30 |
* | comments: add avatar picture of comment author•••Use Libravatar::URL to pull the avatar picture for the comment
author if we have an email address for him/her.
| Francois Marier | 2011-03-30 |
* | meta plugin: script support•••(cherry picked from commit 44c5b27f88fdbfb4fdd061f600039e490eaeff92)
| Giuseppe Bilotta | 2011-03-28 |
* | meta: Security fix; don't allow alternative stylesheets to be added on pages ... | Joey Hess | 2011-03-28 |
* | comment: Better fix to avoid showing comments of subpages, while not breaking... | Joey Hess | 2011-03-28 |
* | Revert "comment: Don't show comments of subpages on parent pages. (Fixes bug ...•••This reverts commit b34d31142b9fed28ec9cf77fe0c5d9f405d48c84.
This was the wrong approach. It broke inlining of comment(*) on eg, a
toplevel comment page.
| Joey Hess | 2011-03-28 |
* | fix targetpage replacement to support 3 argument form•••Oddly, this hadn't caused any visible breakage. Possibly inline,
which is the only thing to use targetpage, resolves the function
to the "real" one before po gets loaded?
| Joey Hess | 2011-03-24 |
* | avoid stomping on inline's rootpage sub if it's not already present•••If the inline plugin is not being loaded, or is perhaps loaded after po
(when IkiWiki::Setup::getsetup loads all the plugins, for example),
po should not inject its custom rootpage sub, as that will lead to a
redefinition error message when inline loads.
| Joey Hess | 2011-03-24 |
* | fix var name | Joey Hess | 2011-03-21 |
* | comment about locking | Joey Hess | 2011-03-21 |
* | call aggregate checkconfig last•••Since the plugin abuses the checkconfig hook to launch aggregation when in
--aggregate mode, it should give other plugins that have checkconfig hooks
a chance to run before they are possibly used in rendering the aggregated
content.
| Joey Hess | 2011-03-21 |
* | Avoid escaping / characters in filenames when building the cgiurl, as this co... | Joey Hess | 2011-03-21 |
* | aggregate: Read cookies from ~/.ikiwiki/cookies by default. Also, the cookiej... | Joey Hess | 2011-03-21 |
* | darcs: Fix multiple issues preventing rcs_diff from working. | Joey Hess | 2011-03-02 |
* | comment: Don't show comments of subpages on parent pages. (Fixes bug introduc... | Joey Hess | 2011-02-27 |
* | avoid uninitialized value warning when running -dumpsetup•••Here wikistatedir has not been configured.
| Joey Hess | 2011-02-25 |
* | inline: allow assigning an id to postform/feedlink•••This allows per-form/feedlink group customization without having to
resort to counting.
(cherry picked from commit b134feb0dc2d9a8ff7ae447537fa8bc02811aabd)
| Giuseppe Bilotta | 2011-02-22 |
* | inline: base feed urls on included page name•••Second (forgotten) half of bb8f76a4a04686def8cc6f21bcca80cb2cc3b2c9.
This ensures that the link URL and page title in the feed are the
correct ones.
| Giuseppe Bilotta | 2011-02-22 |
* | Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in 3.... | Joey Hess | 2011-02-21 |
* | Merge remote branch 'smcv/ready/transient-recentchanges' | Joey Hess | 2011-02-09 |
|\ |
|
| * | Only unlink excess recentchanges from srcdir if not in transientdir | Simon McVittie | 2011-01-07 |
| * | Put recent changes in the transient underlay | Simon McVittie | 2011-01-07 |
* | | map: don't create useless </ul><ul> sequences•••With the previous logic, same-level items would go down one level and
then again up one level closing and re-opening UL tags each time. The
resulting redundant lists caused whitespace layout issues in the
rendered pages.
Adjust the "moving up?" logic to check if the current item base is
different from the previous item _base_. Adjust the "going down?" logic
by moving it to an earlier phase and checking for (1) parent item not being
what it should be and (2) remaining bits; the root is grown unconditionally as
long as (2) is verified.
| Giuseppe Bilotta | 2011-02-09 |
* | | Merge remote branch 'smcv/ready/transient-tag'•••Conflicts:
t/tag.t
| Joey Hess | 2011-02-09 |
|\ \ |
|
| * | | tag: default to tag_autocreate_commit=1 as intended | Simon McVittie | 2011-01-07 |
| * | | tag: optionally write autocreated tags to the transient underlay•••For the moment, have the tag test keep the old behaviour.
| Simon McVittie | 2011-01-07 |
| |/ |
|
* | | Merge remote branch 'smcv/ready/transient-autoindex' | Joey Hess | 2011-02-09 |
|\ \ |
|
| * | | autoindex: default to autoindex_commit=1 as intended | Simon McVittie | 2011-01-22 |
| * | | Don't create autoindex pages just because of transient things | Simon McVittie | 2011-01-22 |
| * | | Allow autoindex files to be written into the transient underlay•••As with the tag plugin, for the moment keep the old behaviour in the test.
| Simon McVittie | 2011-01-22 |
| * | | Merge branch 'ready/autoindex-autofile' into HEAD | Simon McVittie | 2011-01-22 |
| |\ \
| | |/
| |/| |
|
| | * | autoindex: stop tracking deletions, use generic autofile tracking instead•••- Migrate the set of deletions to the {autofile} set, since it has
more or less the same effect. This affects the "deleted" case in the
test.
- If a page has just been deleted, add it as an autofile anyway: by
the time gen_autofile is called, it'll be in the list of deleted files,
so it'll just be added to {autofile}. This affects the "gone" case
in the test.
- Behaviour change: we don't forget that a page with no reason to be
re-created was deleted. This affects the 'expunged' and 'reinstated'
cases in the test.
| Simon McVittie | 2011-01-22 |
| | * | autoindex: use add_autofile•••This does cause a minor regression: index pages are now committed
individually rather than being a single commit per rebuild.
This also means the autoindex regression test needs to trigger the
autofile generation pass.
| Simon McVittie | 2011-01-22 |
* | | | minor optimisation•••Assume the aggregated content is only going to be in one of the
directories, and so stop if it's successfully removed from the
transientdir.
| Joey Hess | 2011-02-09 |
* | | | Merge remote branch 'smcv/ready/transient-aggregate' | Joey Hess | 2011-02-09 |
|\ \ \ |
|
| * | | | Put newly aggregated pages in the transient underlay | Simon McVittie | 2011-01-07 |
| |/ / |
|
* | | | Merge remote branch 'smcv/transient-relative-api' | Joey Hess | 2011-02-09 |
|\ \ \ |
|
| * | | | Add add_literal_underlay and use it for the transient underlay•••This means we don't need to import Cwd and use abs_path.
| Simon McVittie | 2011-01-07 |
| |/ / |
|
* | | | Merge remote branch 'smcv/ready/transient' | Joey Hess | 2011-02-09 |
|\| | |
|
| * | | Assume obsolete transient pages have the same extension as the changed page | Simon McVittie | 2011-01-07 |
| * | | GC unused pages in the transient underlay | Simon McVittie | 2011-01-07 |
| * | | Add transient plugin, which adds ~/.ikiwiki/transient as an underlay•••This can contain auto-generated things, like tag pages; if edited
they'll automatically migrate into source code control.
| Simon McVittie | 2011-01-07 |
* | | | htmltidy: Avoid breaking the sidebar when websetup is running.•••Problem was this: websetup loads all plugins, but does not checkconfig
them. So, htmltidy's recently added configurable command setting was unset;
this resulted in its sanitize hook failing; the sanitize hook is called
when a sidebar was enabled, and this caused the sidebar to not display.
I put in a fix, but the underlying problem is that websetup loads all
plugins but leaves them in an unconfigured and possibly broken state while
trying to display its forms.
Probably the long-term fix is to have it cache the original hook states from
before loading the plugins, and restore it after getting their configuration.
Or, even to get the configuration using a subprocess, as plugins may do things
outside the hook system.
| Joey Hess | 2011-02-03 |
* | | | editpage: Avoid inheriting internal page types. | Joey Hess | 2011-02-01 |
* | | | run po checkconfig last so it can see underlays added in other checkconfig hooks | Joey Hess | 2011-01-25 |