Commit Graph

12724 Commits (40aba87965a3d59f59ef2c6a0c6751036cd4a351)

Author SHA1 Message Date
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
Joey Hess 3fbc9e411e increase sidebar width from 20 to 30 ex
This makes it big enough to fit a month calendar.
2010-04-15 15:38:23 -04:00
Joey Hess c50d218916 enable calendar by default
Makes it a bit easier to include the calendar on the sidebar template.
2010-04-15 15:31:18 -04:00
Joey Hess baaa848f6c CSS and templates for sidebar changed to use a class, not an id.
Multiple sidebars should be possible; also, I want to add a sidebar
template.
2010-04-15 15:04:17 -04:00
Joey Hess 691dab0306 typo 2010-04-15 14:45:03 -04:00
Joey Hess acd99bfe11 propigate ikiwiki setup error out 2010-04-15 14:39:07 -04:00
Joey Hess d6bfe2a25e don't link to ikiwiki-calendar, broken link on basewiki 2010-04-15 14:32:53 -04:00
Joey Hess fe733e2a42 enhance pagestats and rework example blog front page
* pagestats: Class parameter can be used to override default class for
  custom styling.
* pagestats: Use style=list to get a list of tags, scaled by use like
  in a tag cloud. This is useful to put in a sidebar.
* Rework example blog front page.
2010-04-15 14:29:14 -04:00
Joey Hess 3131433f64 calendar: Add archive_pagespec, which is used by ikiwiki-calendar to specify which pages to include on the calendar archive pages. (The pagespec can still also be specified on the ikiwiki-calendar command line.) 2010-04-15 13:40:53 -04:00