Joey Hess
8a37be35ac
fix day links
...
I broke this recently.
2009-10-11 21:43:16 -04:00
Joey Hess
f3342773d3
calendar: Fix bug in next/previous year/month links, which sometimes linked to an archive page from the wrong year.
2009-10-11 21:42:59 -04:00
Joey Hess
dd80be66ee
calendar: Fix midnight rebuild trigger of calendars with explicit month/year.
...
It was just broken for calendars with an explicit month or year, not
triggering at all.
Now it will update those at appropriate times.
2009-10-11 21:26:43 -04:00
Joey Hess
71e266b939
avoid temporary variables
...
and fix a bug in pagespec variable name
2009-10-11 20:15:54 -04:00
Joey Hess
a79e97e3f4
Merge branch 'master' into dependency-types
2009-10-11 20:00:12 -04:00
Joey Hess
99eec4f03d
remove locking
...
Problem is that even rcs_add may cause a commit for certian RCSs and then
it would deadlock.
2009-10-11 19:59:32 -04:00
Joey Hess
1f95e9b4d9
Merge branch 'master' into dependency-types
2009-10-11 19:56:50 -04:00
Joey Hess
7adb471ff4
install ikiwiki-calendar
2009-10-11 19:56:40 -04:00
Joey Hess
51d8899515
influences returns hash ref now
2009-10-11 19:13:40 -04:00
Joey Hess
04d0a72c09
typo
2009-10-11 19:05:37 -04:00
Joey Hess
a7cb309090
Merge branch 'master' into dependency-types
...
Conflicts:
debian/changelog
doc/plugins/calendar.mdwn
2009-10-11 16:54:23 -04:00
Joey Hess
665da89c27
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2009-10-11 16:53:07 -04:00
Joey Hess
e1939185d2
ikiwiki-calendar: New command automates creation of archive pages using the calendar plugin.
2009-10-11 16:52:54 -04:00
Joey Hess
5cddd8a0a3
typo
2009-10-11 16:04:03 -04:00
Joey Hess
5dba91cdc8
typo
2009-10-11 13:51:23 -04:00
Jogo
22ed3f388b
2009-10-11 04:34:17 -04:00
Jogo
9900d6164a
2009-10-11 03:18:32 -04:00
Jogo
800d165037
2009-10-10 04:22:41 -04:00
trianta
97dd750380
2009-10-10 04:14:18 -04:00
Joey Hess
ba00fb319c
update
2009-10-09 21:23:39 -04:00
Joey Hess
6d6fff8d87
added tests of SuccessReason/FailReason objects
2009-10-09 21:12:14 -04:00
Joey Hess
a169e7b6a8
update
2009-10-09 20:30:22 -04:00
Joey Hess
f7ae61c8d2
Merge branch 'master' into dependency-types
...
Conflicts:
doc/bugs/transitive_dependencies.mdwn
2009-10-09 20:16:46 -04:00
Joey Hess
36003bad0a
add news item for ikiwiki 3.20091009
2009-10-09 20:08:42 -04:00
Joey Hess
5fd345bb1f
releasing version 3.20091009
2009-10-09 20:07:32 -04:00
http://www.cse.unsw.edu.au/~willu/
a75591eaa7
response
2009-10-09 18:08:21 -04:00
Joey Hess
2ba8bd3861
remove highlevel influence calculation stuff
...
I have it implemented in both add_depends and pagespec_match_list.
The add_depends implementation is optimised to only try one page
if the pagespec's influences are all static, and do not vary by page
matched.
2009-10-09 17:19:07 -04:00
Joey Hess
74409f940d
add_depends: optimise influence calculation
...
I made match_* functions whose influences can vary depending on the page
matched set a special "" influence to indicate this.
Then add_depends can try just one page, and if static influences are found,
stop there.
2009-10-09 17:15:40 -04:00
Joey Hess
f977eaf394
response
2009-10-09 14:52:03 -04:00
Joey Hess
ecbe5576f8
revert
2009-10-09 14:51:02 -04:00
Joey Hess
4ef0b2d77b
rework influence calculation
...
Thought of a cleaner way to accumulate all influences in
pagespec_match_list, using the pagespec_match result object as an
accumulator.
(This also accumulates all influences from failed matches, rather than just
one failed match. I'm not sure if the old method was correct.)
2009-10-09 14:27:11 -04:00
Joey Hess
9eb229bfc7
move influence tests to pagespec_match_list.t
2009-10-09 14:05:22 -04:00
Joey Hess
c5e237c013
img: use presence dependency when linking to a page
2009-10-09 13:37:06 -04:00
Joey Hess
1b6b1ee2d8
brokenlinks: use pagespec_match_list
2009-10-09 13:35:11 -04:00
Joey Hess
e0b0b57211
fix link
2009-10-09 13:33:49 -04:00
Joey Hess
3807aa298c
fix pagespec_match_list handling of list parameter
2009-10-09 13:28:41 -04:00
Joey Hess
6f2cc5ac8c
pagespec_match_list: change limit to filter
2009-10-09 13:20:41 -04:00
Joey Hess
f9f7a6e9f3
conditional: use pagespec_match_list
2009-10-09 13:07:50 -04:00
Joey Hess
769b78df07
pagespec_match_list allow additional pagespec limit parameters again
2009-10-09 13:02:10 -04:00
Joey Hess
c7da991158
indentation
2009-10-09 13:02:03 -04:00
Joey Hess
b7351daacd
conditional: use yesno
2009-10-09 12:54:35 -04:00
Joey Hess
96682e3084
progress: switch to new pagespec_match_list
2009-10-09 12:48:16 -04:00
Joey Hess
c791f84fb5
linkmap: Use new pagespec_match_list
2009-10-09 12:35:41 -04:00
Joey Hess
34b2132355
fix test to use new calling convention
...
This test still fails several cases, since add_depends influence testing is
currently commented out.
2009-10-09 00:06:58 -04:00
Joey Hess
fa82be5524
add pagespec/sorting to underlay
2009-10-09 00:06:40 -04:00
Joey Hess
fb3fd6b60f
don't link to inline, not available when directives underlay is not enabled
2009-10-09 00:06:08 -04:00
Joey Hess
c11b3af189
typo
2009-10-08 23:55:50 -04:00
Joey Hess
5e7b2dea84
rename use_pagespec to pagespec_match_list
...
To avoid breaking plugins, also support the old pagespec_match_list
calling convention, with a deprecation warning.
2009-10-08 23:51:06 -04:00
Joey Hess
955bcea2a7
fix test broken by change to failing link() influence
2009-10-08 23:48:08 -04:00
Joey Hess
332821144b
calendar: rework so it can use use_pagespec
...
This was tricky because of the caching, and because use_pagespec always
adds a dependency. That would have made year calendars depend on the whole
pagespec, which is overly broad. So I removed the caching, format_month,
and in format_year just look at %pagesources to see if month pages are
available.
In format_month, I make it always call use_pagespec, so each month calendar
gets the right dependency and any influcences added. This means a bit more
work, but the added work is fairly minimal, and presence dependencies
remove a *lot* of work it used to do.
(100% untested!)
2009-10-08 23:30:34 -04:00