Commit Graph

12468 Commits (9ff5174f1164cb2d31ff487a9c84d08559b81d39)

Author SHA1 Message Date
Jelmer Vernooij 9ff5174f11 Fix get_ctime implementation in Bazaar plugin, add get_mtime implementation. 2010-04-17 13:52:16 -04:00
Joey Hess a1aa71efc9 document the gitbranch template 2010-04-17 13:49:20 -04:00
Joey Hess 9fbef7e1d2 reformat 2010-04-17 13:42:50 -04:00
Joey Hess c721a9ef87 my autotag branch 2010-04-17 13:41:06 -04:00
Joey Hess 7fcc0faf83 few more suggestions 2010-04-17 12:45:20 -04:00
Joey Hess 7834989d86 typo 2010-04-17 12:24:58 -04:00
Joey Hess c769a33392 autoindex: Switch to using %wikistate instead of abusing $pagestate{index}. 2010-04-17 12:20:50 -04:00
Joey Hess c6c03768da add list of compatability breaking changes 2010-04-16 19:42:18 -04:00
Joey Hess e31b1b27f8 remove note about needing --gettime; automatically run on first build now 2010-04-16 19:25:25 -04:00
Joey Hess 9265ce85b6 squelch warning 2010-04-16 19:23:11 -04:00
Joey Hess 64bc7d60a2 update changelog 2010-04-16 19:22:13 -04:00
Joey Hess b13bb0c83c implement rcs_getmtime for svn
This is a slow implementation; it runs svn log once per file
still, rather than running svn log once on the whole srcdir.

I did it this way because in my experience, svn log, run on a directory,
does not always list every change to files inside that directory.
I don't know why, and I use svn as little as possible these days.
2010-04-16 18:46:20 -04:00
Joey Hess dee2940c0b automatically run --gettime, and optimise it for git
* Automatically run --gettime the first time ikiwiki is run on
  a given srcdir.
* Optimise --gettime for git, so it's appropriatly screamingly
  fast. (This could be done for other backends too.)
* However, --gettime for git no longer follows renames.
* Use above to fix up timestamps on docwiki, as well as ensure that
  timestamps on basewiki files shipped in the deb are sane.
2010-04-16 18:30:56 -04:00
Joey Hess 0bd6c32766 fix file, should be symlink 2010-04-16 18:11:30 -04:00
Joey Hess d3ebc80cd0 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-16 17:53:31 -04:00
Cord e3e245956f typo 2010-04-16 21:48:35 +00:00
Joey Hess b14f84c4ac --gettime revamp
* Rename --getctime to --gettime. (The old name still works for
  backwards compatability.)
* --gettime now also looks up last modification time.
* Add rcs_getmtime to plugin API; currently only implemented
  for git.
2010-04-16 17:02:29 -04:00
http://oblomov.myopenid.com/ ff5b73163f Proposal for tags/meta/field coalescing 2010-04-16 18:20:29 +00:00
http://smcv.pseudorandom.co.uk/ 7205228598 ... and indeed there is a better way to store it 2010-04-16 17:51:51 +00:00
Joey Hess 6c5c0f8c68 add mtime-to-git script to pull more correct mtimes out of git 2010-04-16 12:23:28 -04:00
David Riebenbauer a70c2518af answer to clarification. 2010-04-16 18:16:47 +02:00
Joey Hess 49be30eae8 clarify re %pagestate persistence 2010-04-16 12:08:12 -04:00
http://smcv.pseudorandom.co.uk/ 18b39ff975 try to clarify 2010-04-16 15:31:31 +00:00
David Riebenbauer e26ac520bf typo 2010-04-16 17:21:54 +02:00
David Riebenbauer 5c263623c2 answer about the `%pagestate` of autopages. 2010-04-16 17:19:44 +02:00
http://kerravonsen.dreamwidth.org/ 208a77a977 response 2010-04-16 03:41:25 +00:00
Joey Hess dd64c2a9c0 sidebar plugin optimisations
The pagetemplate hook may be called multiple times, for example when pages
are inlined into a page. Sidebars were being calculated each time that
happened, only to be thrown away when the final pagetemplate hook was
called. Avoid this unnecessary work.

Remove stored sidebar content on use to save some memory.
2010-04-15 22:18:56 -04:00
Joey Hess 4efc897fdf Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-15 20:12:25 -04:00
Joey Hess 142e025ae4 calendar: Improved display of arrows. 2010-04-15 20:12:03 -04:00
http://smcv.pseudorandom.co.uk/ b5e7f7a67f slight clarification 2010-04-15 23:39:02 +00:00
http://smcv.pseudorandom.co.uk/ f0ed76441d some comments about this and autoindex 2010-04-15 23:36:42 +00:00
Joey Hess 425f6a8de2 reduce border 2010-04-15 19:21:01 -04:00
Joey Hess 034594fcb9 update name of libsparkline-php 2010-04-15 19:14:10 -04:00
Joey Hess c0a2eaf796 calendarmonth.tmpl: The month calendar is now put in a sidebar. 2010-04-15 18:51:50 -04:00
Joey Hess 579ee70e95 fix parameter parsing when pagespec is ommited, and year is present 2010-04-15 18:51:35 -04:00
Joey Hess 50d08bc2ae conditional: Fix bug that forced "all" mode off by default.
Commit b7351daacd introduced the bug.
2010-04-15 18:18:48 -04:00
Joey Hess a0a472d577 fix tagspec 2010-04-15 17:57:35 -04:00
Joey Hess f41ebb8862 reorg 2010-04-15 17:56:36 -04:00
Joey Hess 4c6f5a48bc fix sidebar directive parameter handling 2010-04-15 17:50:43 -04:00
Joey Hess 4bbbd77a48 typo 2010-04-15 17:49:32 -04:00
Joey Hess bbb3a8aac7 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-15 17:40:18 -04:00
Joey Hess d63e043f0a allow sidebar directive to enable use of sidebar page
This way, the example blog always has a sidebar on the index page,
but not the overhead of sidebars on all the other pages. And if a
user wants to, they can enable global_sidebars to switch to sidebars on
every page.
2010-04-15 17:38:13 -04:00
Joey Hess d7c164dbf2 disable global sidebars by default 2010-04-15 17:32:11 -04:00
Joey Hess 1f7175e891 sidebar: Add global_sidebars setting. 2010-04-15 17:31:50 -04:00
Joey Hess 37a0c2d40b add note if ikiwiki-calendar needs to be run 2010-04-15 16:55:20 -04:00
Joey Hess adbbd014dc Enable calendar and sidebar in auto-blog.setup. 2010-04-15 16:52:41 -04:00
Joey Hess 358fa953e1 sidebar: Now a sidebar directive can be used to override the sidebar shown on a page. 2010-04-15 16:51:27 -04:00
Joey Hess 843ce484fc update 2010-04-15 16:21:06 -04:00
Joey Hess 5143d790b0 sidebar styling improvements
Added a visible border; tuned down the whitespace/borders.

Note the use of the -1 pixel margin-top -- this makes the sidebar appear
to hang down from the line under the actions at the top of the page.
2010-04-15 16:08:33 -04:00
Joey Hess 1fbc1b518a disable feeds in raw mode 2010-04-15 15:41:56 -04:00