Commit Graph

14497 Commits (b1f82ab327a26803c1cb95b6b60134348206f8e9)

Author SHA1 Message Date
http://smcv.pseudorandom.co.uk/ 9e2cb94960 aggregation works, too 2011-01-07 21:42:53 +00:00
http://smcv.pseudorandom.co.uk/ 4b21b29dae updated (many) branches 2011-01-07 20:37:54 +00:00
http://smcv.pseudorandom.co.uk/ 728e0d12ae suspected bug 2011-01-07 19:38:16 +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
http://oblomov.myopenid.com/ 84c7d907e8 absolute base url in cgi forms 2011-01-05 10:18:16 +00:00
Joey Hess 3841d709d7 bugfix 2011-01-04 16:02:31 -04:00
Joey Hess 1b1b3927ee fix patch to not strip a leading "." unless it's part of a path
For correctness only, since a tag named ".foo" is very unlikely.
2011-01-04 15:59:28 -04:00
Joey Hess fc6c0e8b5b fix patch to not expose config setting as a regexp 2011-01-04 15:59:00 -04:00
Giuseppe Bilotta a17469e388 tag name sanitation
The use of typed links for tags and some of the consequent changes
introduced some unwanted functionality variations in the tag system. Two
problems in particular could be observed, when compared to the use of
tags in older versions of IkiWiki:

* tags in feeds (both rss and atom) would use the file path as their
  name (e.g. you would have <category term="tags/sometag" /> in an atom
  item for a page tagged sometag with a tagbase of tags), whereas they
  appeared pure before
* tags containing a slash character would appear without the slash
  character but be used with the slash character in other circumstances
  (effect visible by tagging a page with a name such as "with/slash")

Both of these issues are fixed by introducing a tagname() function that
takes a tag link and effectively reverses (as well as possible) the
effects of taglink().

A possible alternative route would have been the reintroduction of the
global %tags hash, but the new approach as the (arguable) benefit of
introducing a small layer of sanitation for tag names.
2011-01-04 15:58:42 -04:00
Joey Hess 866486b7a3 markup 2011-01-04 15:51:26 -04:00
http://oblomov.myopenid.com/ 528ca2b670 tag behavior changes introduced by typed link feature 2011-01-04 18:45:49 +00:00
http://oblomov.myopenid.com/ d3a79a2c24 feed enhancements for inline pages 2011-01-04 14:40:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkMqhJ4mAWPpJQ2kvTvBM_icMQdvMhctJA 17940099b7 2011-01-04 13:05:02 +00:00
Simon McVittie a6943ba2cc Revert spam
This reverts commit 2bf9d8dc82.
2011-01-03 11:20:10 +00:00