Commit Graph

17558 Commits (0bac7cb776cf8b49d99b7a7b24e7542b075b250c)

Author SHA1 Message Date
http://smcv.pseudorandom.co.uk/ 4b21b29dae updated (many) branches 2011-01-07 20:37:54 +00:00
Simon McVittie d851ae76f6 Put newly aggregated pages in the transient underlay 2011-01-07 20:19:58 +00:00
Simon McVittie 512d860c16 Only unlink excess recentchanges from srcdir if not in transientdir 2011-01-07 20:13:01 +00:00
Simon McVittie 44abf016b3 Put recent changes in the transient underlay 2011-01-07 20:13:01 +00:00
Simon McVittie 40f85e5c91 tag: default to tag_autocreate_commit=1 as intended 2011-01-07 20:11:38 +00:00
Simon McVittie f695bdd843 tag test: write tag pages into the transient underlay 2011-01-07 20:11:19 +00:00
Simon McVittie 2a60cda172 tag: optionally write autocreated tags to the transient underlay
For the moment, have the tag test keep the old behaviour.
2011-01-07 20:09:52 +00:00
Simon McVittie 040038b655 Merge branch 'ready/tag-test' into transient-tag 2011-01-07 20:09:09 +00:00
Simon McVittie dff44e4a6d Add add_literal_underlay and use it for the transient underlay
This means we don't need to import Cwd and use abs_path.
2011-01-07 20:04:45 +00:00
Simon McVittie 44b0cea85f Assume obsolete transient pages have the same extension as the changed page 2011-01-07 19:50:34 +00:00
http://smcv.pseudorandom.co.uk/ 728e0d12ae suspected bug 2011-01-07 19:38:16 +00:00
Simon McVittie c7bf305c81 GC unused pages in the transient underlay 2011-01-07 18:53:27 +00:00
Simon McVittie 8250c3a457 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.
2011-01-07 18:53:27 +00:00
Giuseppe Bilotta 8adc1d50fa further patches 2011-01-07 09:45:57 +01:00
http://oblomov.myopenid.com/ be5c588ab7 layout fix 2011-01-06 21:23:48 +00:00
Giuseppe Bilotta a4b1fbb858 inline stuff: reply, new branch pushed to my repo 2011-01-06 22:21:49 +01:00
Joey Hess 65486cd751 feedback 2011-01-06 14:49:28 -04:00
Joey Hess 56259466ee reword feed descs 2011-01-06 14:42:23 -04:00
Joey Hess e112372a38 update 2011-01-06 14:42:13 -04:00
Giuseppe Bilotta 962b1c130c inline: pass the Atom/RSS titles to the templates
The default templates are also updated to make use of this information.
The rel="alternate" attribute is also inserted, for completeness.
(cherry picked from commit 618ade535e6a7967a510d9e210edaef3d37cc9bc)
2011-01-06 14:40:33 -04:00
http://smcv.pseudorandom.co.uk/ ea713f0025 tested and seems to work 2011-01-06 01:09:13 +00:00
http://smcv.pseudorandom.co.uk/ 3b3a85f941 updated branch 2011-01-06 00:31:30 +00:00
http://smcv.pseudorandom.co.uk/ 12ceb17dfe revert leftover test page
This reverts commit 42adf47198
2011-01-06 00:25:00 +00:00
Joey Hess 657dc54457 add news item for ikiwiki 3.20110105 2011-01-05 18:20:25 -04:00
Joey Hess 2cd8988648 releasing version 3.20110105 2011-01-05 18:19:26 -04:00
Joey Hess a3605a90d5 fix urlto(undef) 2011-01-05 18:08:03 -04:00
Joey Hess 4391c41af2 mention 2 remaining cases for completeness
leaving bug closed
2011-01-05 17:35:34 -04:00
Joey Hess d991ccf134 use cgitemplate, remove misctemplate 2011-01-05 17:15:38 -04:00
Joey Hess 4a6ac6b485 add cgitemplate
cgitemplate is a modified misctemplate that takes an optional cgi object
and uses it to set the baseurl, and also optionally the forcebaseurl,
if a page is provided.

If no cgi object is provided, it will fall back to using $config{url}.
I expect this will only be needed in exceptional cases where
that doesn't much matter, such as cgierror().

showform uses cgitemplate, so there is no more need for showform_preview.
2011-01-05 17:06:11 -04:00
Joey Hess ea734d451c better handling of relative permalinks
This way, do=goto will go to the page relative to
the current location, while the permalinks in feeds
will be absolute (unless an url is not configured at all).
2011-01-05 16:26:09 -04:00
Joey Hess 885bff7239 make urlabs a noop if base url is not provided
This allows urlabs($foo, $config{url}) to be used safely, even if
no url is configured.
2011-01-05 16:23:05 -04:00
Joey Hess c91b39fdb5 factored out an urlabs from aggregate and cgi 2011-01-05 16:18:25 -04:00
Joey Hess 49928906b0 oops 2011-01-05 16:11:54 -04:00
Joey Hess 4dbb8120f7 Export three cgi env vars needed for CGI->url to work. 2011-01-05 16:08:21 -04:00
Joey Hess c11b1226ca oops 2011-01-05 15:43:03 -04:00
Joey Hess b216f42e8e goto permalink issue 2011-01-05 15:34:35 -04:00
Joey Hess 3eabf323f0 Fix permalinks to recentchanges items and comments, broken by last release.
permalinks always need to be full urls
2011-01-05 15:22:55 -04:00
Joey Hess 7a88638c6c typo 2011-01-05 15:12:23 -04:00
Joey Hess 6b5b0a3282 Temporarily revert one part of the multiple url support in the last release. Non-edit pages are now back to having `<base>` set to the site's main url. 2011-01-05 15:01:31 -04:00
Joey Hess 9efe370fa0 remove old unused baseurl parameter
This was I think a relic from when BASEURL was used in more templates than
use it now.
2011-01-05 14:57:26 -04:00
Joey Hess 270cbd7cf5 Fix redirect to use a full url.
Was broken (in theory) by baseurl changes in last release.
2011-01-05 14:57:04 -04:00
Joey Hess 8c9c3915ec Fix base url when previewing. Was broken by urlto changes in last release.
Added a showform_preview that is like showform, but sets forcebaseurl
to point to the page being previewed.
2011-01-05 13:50:42 -04:00
Joey Hess a554a3d538 reopening, reverting part of this for now 2011-01-05 13:47:35 -04:00
Joey Hess b3eb7fdf82 it gets worse 2011-01-05 13:34:44 -04:00
Joey Hess 841cc576db doesn't only affect preview 2011-01-05 13:19:26 -04:00
Joey Hess a3769c6001 response 2011-01-05 12:25:58 -04:00
Giuseppe Bilotta 2c94420c34 generic insert links: it's a Markdown file
(cherry picked from commit 139c050ca48c2fe7bdcd4ea22623739cbb25ceda)
2011-01-05 12:19:18 -04:00
Giuseppe Bilotta 5365a72e42 unescape tag names
Since tag names are now retrieved from the file names, we must revert
the escaping process that santizes the file names. Solve by adding a
`pagetitle()` call at the end of the tagname()
(cherry picked from commit 0ee0612b1ab11d76eb3790c8db7a2ba992c54f6b)
2011-01-05 12:06:36 -04:00
Simon McVittie 3d893db65f respond 2011-01-05 12:17:17 +00:00
Simon McVittie b79e993d86 wrap lines 2011-01-05 11:48:48 +00:00