ikiwiki.git
12 years agoedittemplate: contentless dependency
Joey Hess [Sun, 4 Oct 2009 20:07:02 +0000 (16:07 -0400)] 
edittemplate: contentless dependency

This one is unlikely to matter much, but yeah, it's contentless.

12 years agocalendar: all dependencies are contentless
Joey Hess [Sun, 4 Oct 2009 20:05:41 +0000 (16:05 -0400)] 
calendar: all dependencies are contentless

12 years agoinline: Use a contentless dependency in quick mode.
Joey Hess [Sun, 4 Oct 2009 20:03:01 +0000 (16:03 -0400)] 
inline: Use a contentless dependency in quick mode.

12 years agoexpand the set of things that can be matched contentless
Joey Hess [Sun, 4 Oct 2009 20:01:56 +0000 (16:01 -0400)] 
expand the set of things that can be matched contentless

12 years agomap: Use a contentless dependency unless show= is specified.
Joey Hess [Sun, 4 Oct 2009 19:46:23 +0000 (15:46 -0400)] 
map: Use a contentless dependency unless show= is specified.

This makes simple maps efficient enough that they can be used on sidebars!

12 years agooptimise add_depends for simple pagespecs
Joey Hess [Sun, 4 Oct 2009 19:43:38 +0000 (15:43 -0400)] 
optimise add_depends for simple pagespecs

We don't need to check if the pagespec is contentless; all simple ones are.

12 years agodetect pagespecs that require content dependencies
Joey Hess [Sun, 4 Oct 2009 19:34:42 +0000 (15:34 -0400)] 
detect pagespecs that require content dependencies

When adding a contentless dependency, the pagespec also needs to be one
that does not look at any page content information.

As a first approximation of that, only allow glob-based pagespecs in
contentless dependencies. While there are probably a few other types of
pagespecs that can match contentless, this will work for most of them.

12 years agoorphans and brokenlinks cannot use contentless dependency
Joey Hess [Sat, 3 Oct 2009 19:55:11 +0000 (15:55 -0400)] 
orphans and brokenlinks cannot use contentless dependency

Tried a contentless dep and it does not work; changes to links in pages
are not noticed. Drat.

12 years agoimplement support for DEPEND_EXISTS
Joey Hess [Sat, 3 Oct 2009 19:46:53 +0000 (15:46 -0400)] 
implement support for DEPEND_EXISTS

Preliminary support, anyway.

If a dependency only includes DEPEND_EXISTS, then only changes that
involved adding or deleting a page can trigger it.

This is complicated by internal pages, since the code did not previously
differentiate between add, delete, and change of internal pages.
Now it tracks change separately from add+delete, so DEPEND_EXISTS pagespecs
that actually match internal pages (which will probably be quite rare in
practice) should work.

12 years agoupdate
Joey Hess [Sat, 3 Oct 2009 19:38:18 +0000 (15:38 -0400)] 
update

12 years agodocument add_depends dependency type interface
Joey Hess [Sat, 3 Oct 2009 19:37:57 +0000 (15:37 -0400)] 
document add_depends dependency type interface

12 years agoset dependency hash value properly for new dependency types
Joey Hess [Sat, 3 Oct 2009 19:37:15 +0000 (15:37 -0400)] 
set dependency hash value properly for new dependency types

Just "1" won't cut it anymore; we need to list all the dependency types.

12 years agopagecount: Use contentless dependency
Joey Hess [Sat, 3 Oct 2009 19:36:23 +0000 (15:36 -0400)] 
pagecount: Use contentless dependency

This will avoid lots of unnecessary updates of pages using the pagecount
directive. Yay!

12 years agoadd dependency type parameters to add_depends
Joey Hess [Sat, 3 Oct 2009 19:31:51 +0000 (15:31 -0400)] 
add dependency type parameters to add_depends

Dependency types are represented by bits in the values of the %depends
and %depends_simple hashes.

Change the dependslist array saved to the index to a depends hash.
depends_simple is also converted from an array to a hash.

Note that the depends field used to be a string, and we still
have compat code to handle upgrades from that, as well as from the arrays.
I didn't use ikiwiki-transition because I don't want ikiwiki to break if
users forget to run it; also we're going to recommend a full rebuild on
upgrade to this version to get the improved dependency handling. So
this compat code can be removed or moved to ikiwiki-transition later.

12 years agoFix a bug that could lead to duplicate links being recorded for tags.
Joey Hess [Sat, 3 Oct 2009 18:14:30 +0000 (14:14 -0400)] 
Fix a bug that could lead to duplicate links being recorded for tags.

Here I was bitten by perl's aliasing of foreach variables
to the loop array contents, and match_link accidentially changed
the contents of %links.

In Jon's testcase, a tag added an absolute link, which was
made relative by the above bug, and then the link was added
again in preprocess, and turned into a duplicate.

12 years agodo not need to qualify %links
Joey Hess [Sat, 3 Oct 2009 18:01:19 +0000 (14:01 -0400)] 
do not need to qualify %links

12 years agoresponse
http://www.cse.unsw.edu.au/~willu/ [Sat, 3 Oct 2009 05:39:06 +0000 (01:39 -0400)] 
response

12 years agoconsistency with edittemplate?
Joey Hess [Fri, 2 Oct 2009 22:58:07 +0000 (18:58 -0400)] 
consistency with edittemplate?

12 years agocombine with pagetemplate?
Joey Hess [Fri, 2 Oct 2009 22:51:52 +0000 (18:51 -0400)] 
combine with pagetemplate?

12 years agofix wording here too
Joey Hess [Fri, 2 Oct 2009 22:47:15 +0000 (18:47 -0400)] 
fix wording here too

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 2 Oct 2009 22:46:10 +0000 (18:46 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agoimprove wording
Joey Hess [Fri, 2 Oct 2009 22:45:56 +0000 (18:45 -0400)] 
improve wording

12 years agoAdd reference to new plugin
http://www.cse.unsw.edu.au/~willu/ [Fri, 2 Oct 2009 22:28:11 +0000 (18:28 -0400)] 
Add reference to new plugin

12 years ago(no commit message)
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 21:31:40 +0000 (17:31 -0400)] 

12 years agowishlist/todo item: disable/enable directives by pagespec
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 21:30:46 +0000 (17:30 -0400)] 
wishlist/todo item: disable/enable directives by pagespec

12 years ago+bugs/ backlinks onhover thing can go weird
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 21:25:18 +0000 (17:25 -0400)] 
+bugs/ backlinks onhover thing can go weird

12 years agoresponse
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 21:23:37 +0000 (17:23 -0400)] 
response

12 years agofix
Joey Hess [Fri, 2 Oct 2009 20:22:47 +0000 (16:22 -0400)] 
fix

12 years agosplit off todo item for multiple dependency types
Joey Hess [Fri, 2 Oct 2009 20:17:56 +0000 (16:17 -0400)] 
split off todo item for multiple dependency types

12 years agosplit out dependency type issue into its own todo
Joey Hess [Fri, 2 Oct 2009 19:56:44 +0000 (15:56 -0400)] 
split out dependency type issue into its own todo

12 years agomention loop optimisation
Joey Hess [Fri, 2 Oct 2009 19:48:47 +0000 (15:48 -0400)] 
mention loop optimisation

12 years agofix branch name
Joey Hess [Fri, 2 Oct 2009 19:46:27 +0000 (15:46 -0400)] 
fix branch name

12 years agoimplemented one fix in transitive-dependencies branch, but not really happy with it
Joey Hess [Fri, 2 Oct 2009 19:45:14 +0000 (15:45 -0400)] 
implemented one fix in transitive-dependencies branch, but not really happy with it

12 years agoadd bug about transitive dependencies
Joey Hess [Fri, 2 Oct 2009 19:15:23 +0000 (15:15 -0400)] 
add bug about transitive dependencies

12 years agodidn't we already close this bug? Yes, we did. hmm
Joey Hess [Fri, 2 Oct 2009 19:05:40 +0000 (15:05 -0400)] 
didn't we already close this bug? Yes, we did. hmm

12 years agofollowup
Joey Hess [Fri, 2 Oct 2009 19:02:02 +0000 (15:02 -0400)] 
followup

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 2 Oct 2009 18:55:37 +0000 (14:55 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years ago+bugs/ the login page is unclear when multiple methods exist
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 18:24:03 +0000 (14:24 -0400)] 
+bugs/ the login page is unclear when multiple methods exist

12 years agoopinion about login page clarity
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 18:22:47 +0000 (14:22 -0400)] 
opinion about login page clarity

12 years agoweird tag/brokenlinks bug
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 18:20:35 +0000 (14:20 -0400)] 
weird tag/brokenlinks bug

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 2 Oct 2009 18:06:55 +0000 (14:06 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years ago(no commit message)
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 17:53:52 +0000 (13:53 -0400)] 

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 2 Oct 2009 16:38:02 +0000 (12:38 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agomirrorlist: Display nothing if list is empty.
Joey Hess [Fri, 2 Oct 2009 16:37:53 +0000 (12:37 -0400)] 
mirrorlist: Display nothing if list is empty.

12 years agoadd link
http://weakish.pigro.net/ [Fri, 2 Oct 2009 13:56:37 +0000 (09:56 -0400)] 
add link

12 years agoremove some unintended wikilinks
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 13:11:11 +0000 (09:11 -0400)] 
remove some unintended wikilinks

12 years agoremove unintended wikilink
http://jmtd.livejournal.com/ [Fri, 2 Oct 2009 13:08:22 +0000 (09:08 -0400)] 
remove unintended wikilink

12 years agolink to docutils mailing list discussion. also ask about <p>[[!directives]]</p>
Ulrik Sverdrup [Fri, 2 Oct 2009 13:03:14 +0000 (15:03 +0200)] 
link to docutils mailing list discussion. also ask about <p>[[!directives]]</p>

12 years ago(no commit message)
test [Thu, 1 Oct 2009 19:28:31 +0000 (15:28 -0400)] 

12 years agoLink to trac's Wiki-RestructuredText syntax description
Ulrik Sverdrup [Thu, 1 Oct 2009 12:55:36 +0000 (14:55 +0200)] 
Link to trac's Wiki-RestructuredText syntax description

12 years agodocumentation seems inaccurate
martin [Thu, 1 Oct 2009 12:12:49 +0000 (08:12 -0400)] 
documentation seems inaccurate

12 years agoempty page
http://certifi.ca/lunix [Thu, 1 Oct 2009 12:07:38 +0000 (08:07 -0400)] 
empty page

12 years agochecking external links seems not practical
http://weakish.pigro.net/ [Thu, 1 Oct 2009 09:57:53 +0000 (05:57 -0400)] 
checking external links seems not practical

12 years ago[patch] add an option to determine whether put autoindex pages in repo or not
http://weakish.pigro.net/ [Thu, 1 Oct 2009 09:48:09 +0000 (05:48 -0400)] 
[patch] add an option to determine whether put autoindex pages in repo or not

12 years agoadd my openid
http://weakish.pigro.net/ [Thu, 1 Oct 2009 09:36:09 +0000 (05:36 -0400)] 
add my openid

12 years agoclarifications. and indent one of joey's oneliner responses.
Ulrik Sverdrup [Wed, 30 Sep 2009 19:59:11 +0000 (21:59 +0200)] 
clarifications. and indent one of joey's oneliner responses.

12 years agofurthermore
Joey Hess [Wed, 30 Sep 2009 19:45:16 +0000 (15:45 -0400)] 
furthermore

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 30 Sep 2009 19:40:15 +0000 (15:40 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agoresponse
Joey Hess [Wed, 30 Sep 2009 19:39:51 +0000 (15:39 -0400)] 
response

12 years agominimal user page for this guy
http://kaizer.se/ [Wed, 30 Sep 2009 19:29:40 +0000 (15:29 -0400)] 
minimal user page for this guy

12 years agoComment, type, discuss and otherwise type wayy to much sorry!!
Ulrik Sverdrup [Wed, 30 Sep 2009 18:54:21 +0000 (20:54 +0200)] 
Comment, type, discuss and otherwise type wayy to much sorry!!

12 years agothoughts
Joey Hess [Wed, 30 Sep 2009 19:17:03 +0000 (15:17 -0400)] 
thoughts

12 years agocomments and some code review
Joey Hess [Wed, 30 Sep 2009 17:57:36 +0000 (13:57 -0400)] 
comments and some code review

12 years agofixed
Joey Hess [Tue, 29 Sep 2009 17:36:09 +0000 (13:36 -0400)] 
fixed

12 years agoMerge commit 'origin/master'
Joey Hess [Tue, 29 Sep 2009 17:35:41 +0000 (13:35 -0400)] 
Merge commit 'origin/master'

12 years agoSupport RPC::XML 0.69's incompatable object instantiation method.
Joey Hess [Tue, 29 Sep 2009 17:35:30 +0000 (13:35 -0400)] 
Support RPC::XML 0.69's incompatable object instantiation method.

12 years agotypo
Joey Hess [Tue, 29 Sep 2009 17:33:23 +0000 (13:33 -0400)] 
typo

12 years agoshort report so that others know when they encouter this.
http://kaizer.se/ [Tue, 29 Sep 2009 17:20:13 +0000 (13:20 -0400)] 
short report so that others know when they encouter this.

12 years agotest backlinks
http://weakish.pigro.net/ [Tue, 29 Sep 2009 16:41:10 +0000 (12:41 -0400)] 
test backlinks

12 years agopoint backports to lenny instead of etch
http://weakish.pigro.net/ [Tue, 29 Sep 2009 16:22:21 +0000 (12:22 -0400)] 
point backports to lenny instead of etch

12 years agoremoving extra space to avoid mistakes
http://mhymn.pip.verisignlabs.com/ [Tue, 29 Sep 2009 13:50:51 +0000 (09:50 -0400)] 
removing extra space to avoid mistakes

12 years agorst: Introduce _to_dict to turn argument list into keword args
Ulrik Sverdrup [Fri, 18 Sep 2009 22:17:18 +0000 (00:17 +0200)] 
rst: Introduce _to_dict to turn argument list into keword args
(cherry picked from commit 7d788655104089b5747a5ff1a4c5106eac871c14)

12 years agotoggle, relativedate: Support templates that add attributes to the body tag.
Joey Hess [Mon, 28 Sep 2009 20:21:03 +0000 (16:21 -0400)] 
toggle, relativedate: Support templates that add attributes to the body tag.

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 28 Sep 2009 00:57:45 +0000 (20:57 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agoimg: Fix dependency code for full size images.
Joey Hess [Mon, 28 Sep 2009 00:57:27 +0000 (20:57 -0400)] 
img: Fix dependency code for full size images.

I had assumed that an image shown full size did not need add_depends, since
a change would not need a change to the displaying page.

But this is not true if the image is modified and its size changes. Then
the page needs to update its img tag to reflect the current size.

12 years agoimg: Correct bug in image size calculation code.
Joey Hess [Mon, 28 Sep 2009 00:53:02 +0000 (20:53 -0400)] 
img: Correct bug in image size calculation code.

If an image was resized smaller, with width and height specified to values
that did not fit its aspect ratio, the image tag with/height were not
adjusted to the actual size imagemagick chooses.

This was broken by 03449610d6c666ba24bea68f01d896613e522278.

To fix it right, it unfortunatly needs to always read the src image now,
in order to determine if the image is being displayed larger, or resized
smaller. When resized smaller, it then always uses the size of the
thumbnail, while for larger it calculates the size.

(Only way to get rid of this sometimes extra image read would be to change
it to not allow displaying images larger.)

12 years agoremoved
http://bruno.boulgour.com/ [Mon, 28 Sep 2009 00:30:50 +0000 (20:30 -0400)] 
removed

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 27 Sep 2009 22:34:50 +0000 (18:34 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agoparentlinks: Add has_parentlinks template parameter to allow styling the toplevel...
Joey Hess [Sun, 27 Sep 2009 21:40:41 +0000 (17:40 -0400)] 
parentlinks: Add has_parentlinks template parameter to allow styling the toplevel index differently etc.

12 years agoupdated with nginx solution
http://certifi.ca/lunix [Sun, 27 Sep 2009 22:06:19 +0000 (18:06 -0400)] 
updated with nginx  solution

12 years agorename forum/missing_pages_redirected_to_search.mdwn to forum/missing_pages_redirecte...
http://certifi.ca/lunix [Sun, 27 Sep 2009 22:05:52 +0000 (18:05 -0400)] 
rename forum/missing_pages_redirected_to_search.mdwn to forum/missing_pages_redirected_to_search-SOLVED.mdwn

12 years ago(no commit message)
http://bruno.boulgour.com/ [Sun, 27 Sep 2009 20:49:43 +0000 (16:49 -0400)] 

12 years ago(no commit message)
http://bruno.boulgour.com/ [Sun, 27 Sep 2009 20:48:04 +0000 (16:48 -0400)] 

12 years ago(no commit message)
http://bruno.boulgour.com/ [Sun, 27 Sep 2009 20:43:50 +0000 (16:43 -0400)] 

12 years ago(no commit message)
http://openid2.kisikew.org/simonraven [Sat, 26 Sep 2009 19:05:57 +0000 (15:05 -0400)] 

12 years ago(no commit message)
http://openid2.kisikew.org/simonraven [Sat, 26 Sep 2009 19:02:52 +0000 (15:02 -0400)] 

12 years agopoll vote (Accept only OpenID for logins)
121.21.240.138 [Sat, 26 Sep 2009 03:25:19 +0000 (23:25 -0400)] 
poll vote (Accept only OpenID for logins)

12 years agopoll vote (Accept only password logins)
95.88.220.68 [Fri, 25 Sep 2009 22:59:26 +0000 (18:59 -0400)] 
poll vote (Accept only password logins)

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 25 Sep 2009 21:03:21 +0000 (17:03 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agoadd comments page to example blog, listing all comments
Joey Hess [Fri, 25 Sep 2009 19:41:13 +0000 (15:41 -0400)] 
add comments page to example blog, listing all comments

12 years agoreply to potential album user
http://smcv.pseudorandom.co.uk/ [Fri, 25 Sep 2009 18:19:49 +0000 (14:19 -0400)] 
reply to potential album user

12 years agofix email address linking
David Riebenbauer [Fri, 25 Sep 2009 04:48:39 +0000 (06:48 +0200)] 
fix email address linking

12 years agocreate myself a user page
David Riebenbauer [Fri, 25 Sep 2009 04:35:43 +0000 (06:35 +0200)] 
create myself a user page

and link from my signatures so far

12 years agoadd news item for ikiwiki 3.14159265
Joey Hess [Thu, 24 Sep 2009 23:05:58 +0000 (19:05 -0400)] 
add news item for ikiwiki 3.14159265

12 years agoreleasing version 3.14159265
Joey Hess [Thu, 24 Sep 2009 23:04:42 +0000 (19:04 -0400)] 
releasing version 3.14159265

12 years agoimages are not always scaled *down*
NicolasLimare [Thu, 24 Sep 2009 10:22:13 +0000 (06:22 -0400)] 
images are not always scaled *down*

12 years agootl: Avoid globally filtering non-otl pages
Joey Hess [Wed, 23 Sep 2009 19:11:51 +0000 (15:11 -0400)] 
otl: Avoid globally filtering non-otl pages

Through a complex chain of circumstances, that filtering was causing
dumpsetup to trigger undefined warning messages from the po plugin. But
anyway, munging the otl in htmlize is less error-prone and less expensive,
a win all around.

12 years agoavoid ugly messages when running ikiwiki -setup on a *directory*
Joey Hess [Wed, 23 Sep 2009 18:56:18 +0000 (14:56 -0400)] 
avoid ugly messages when running ikiwiki -setup on a *directory*

12 years agoauto.setup, auto-blog.setup: Fix sanitization of entered wikiname. Closes: #547378
Joey Hess [Wed, 23 Sep 2009 17:46:32 +0000 (13:46 -0400)] 
auto.setup, auto-blog.setup: Fix sanitization of entered wikiname. Closes: #547378

12 years agoresponse
Joey Hess [Wed, 23 Sep 2009 17:33:15 +0000 (13:33 -0400)] 
response