ikiwiki.git
14 years agoUse $a and $b for SortSpec cmp callbacks
Simon McVittie [Mon, 5 Apr 2010 21:50:51 +0000 (22:50 +0100)]
Use $a and $b for SortSpec cmp callbacks

14 years agoRename sort parameter to meta title/author to sortas=bar
Simon McVittie [Sat, 3 Apr 2010 13:19:18 +0000 (14:19 +0100)]
Rename sort parameter to meta title/author to sortas=bar

Joey pointed out that sort=x usually takes a sort order.

14 years agometa: generalize meta_title into meta(title); support author, updated, date
Simon McVittie [Sat, 3 Apr 2010 13:17:48 +0000 (14:17 +0100)]
meta: generalize meta_title into meta(title); support author, updated, date

I've left meta_title in, undocumented, as a possible replacement for
sort=title in IkiWiki 4.0 or something.

14 years agoMove sort hooks to the IkiWiki::SortSpec namespace
Simon McVittie [Sat, 3 Apr 2010 12:57:38 +0000 (13:57 +0100)]
Move sort hooks to the IkiWiki::SortSpec namespace

Also rename cmpspec_translate (internal function) to sortspec_translate
for consistency.

14 years agoRemove support for check_cmp_foo (pre-sort checks)
Simon McVittie [Sat, 3 Apr 2010 12:49:20 +0000 (13:49 +0100)]
Remove support for check_cmp_foo (pre-sort checks)

14 years agoSplit out sortnaturally into a plugin
Simon McVittie [Sat, 3 Apr 2010 12:48:30 +0000 (13:48 +0100)]
Split out sortnaturally into a plugin

14 years agoReimplement extensible sorting mechanisms, in the same way as pagespecs
Simon McVittie [Thu, 25 Mar 2010 23:31:53 +0000 (23:31 +0000)]
Reimplement extensible sorting mechanisms, in the same way as pagespecs

14 years agoAllow sorting to be combined and/or reversed
Simon McVittie [Wed, 24 Mar 2010 23:51:48 +0000 (23:51 +0000)]
Allow sorting to be combined and/or reversed

14 years agoAdd an optional "sort" argument to meta titles, defaulting to the title
Simon McVittie [Wed, 24 Mar 2010 03:18:24 +0000 (03:18 +0000)]
Add an optional "sort" argument to meta titles, defaulting to the title

This allows correct sorting of titles, names, etc., with:

    [[!meta title="David Bowie" sort="Bowie, David"]]
    [[!meta title="The Beatles" sort="Beatles, The"]]

14 years agoHave the meta plugin add a meta_title sort order
Simon McVittie [Wed, 24 Mar 2010 00:59:01 +0000 (00:59 +0000)]
Have the meta plugin add a meta_title sort order

14 years agoAllow hooks to add sorting functions to pagespec_match_list
Simon McVittie [Wed, 24 Mar 2010 00:29:10 +0000 (00:29 +0000)]
Allow hooks to add sorting functions to pagespec_match_list

14 years agorename forum/Warnings:___39__utf8___34____92__xAB__34___does_not_map_to_Unicode_at___...
http://jmtd.livejournal.com/ [Mon, 22 Mar 2010 23:01:00 +0000 (23:01 +0000)]
rename forum/Warnings:___39__utf8___34____92__xAB__34___does_not_map_to_Unicode_at___47__usr__47__share__47__perl5__47__IkiWiki.pm_line_774__44_____60____36__in__62___chunk_1.__39__.mdwn to forum/utf8_warnings_for___34____92__xAB__34__.mdwn

14 years agosadly we moved to using drupal for most of our site
http://jcftang.myopenid.com/ [Mon, 22 Mar 2010 20:57:27 +0000 (20:57 +0000)]
sadly we moved to using drupal for most of our site

14 years agoreset setuptype first, actually
Joey Hess [Sun, 21 Mar 2010 18:59:21 +0000 (14:59 -0400)]
reset setuptype first, actually

so setup file can override default

14 years agocheck for 'require' instead of 'use'
Joey Hess [Sun, 21 Mar 2010 18:52:21 +0000 (14:52 -0400)]
check for 'require' instead of 'use'

14 years agoreset setuptype to standard after an automator setup file is loaded
Joey Hess [Sun, 21 Mar 2010 18:51:47 +0000 (14:51 -0400)]
reset setuptype to standard after an automator setup file is loaded

so a standard file is generated (by default)

14 years agonew tip
Joey Hess [Fri, 19 Mar 2010 21:58:40 +0000 (17:58 -0400)]
new tip

14 years agofix newlines in commented defaults
Joey Hess [Fri, 19 Mar 2010 21:54:58 +0000 (17:54 -0400)]
fix newlines in commented defaults

14 years agoload YAML on demand
Joey Hess [Fri, 19 Mar 2010 20:09:07 +0000 (16:09 -0400)]
load YAML on demand

so as not to break test suite if YAML is not avilable

14 years agoshorten setuptype
Joey Hess [Fri, 19 Mar 2010 19:55:10 +0000 (15:55 -0400)]
shorten setuptype

14 years agoAdd support for setup files written in YAML.
Joey Hess [Fri, 19 Mar 2010 19:50:59 +0000 (15:50 -0400)]
Add support for setup files written in YAML.

Not the default. (Yet?)

14 years agoparameterized indent
Joey Hess [Fri, 19 Mar 2010 19:44:28 +0000 (15:44 -0400)]
parameterized indent

14 years agoimprove comments
Joey Hess [Fri, 19 Mar 2010 19:36:33 +0000 (15:36 -0400)]
improve comments

14 years agomove generic comment into IkiWiki::Setup
Joey Hess [Fri, 19 Mar 2010 19:35:21 +0000 (15:35 -0400)]
move generic comment into IkiWiki::Setup

14 years agofactored out generic commented line dumping
Joey Hess [Fri, 19 Mar 2010 19:27:15 +0000 (15:27 -0400)]
factored out generic commented line dumping

14 years agowhitespace
Joey Hess [Fri, 19 Mar 2010 19:09:08 +0000 (15:09 -0400)]
whitespace

14 years agoallow multiple setup file types, and support safe parsing
Joey Hess [Fri, 19 Mar 2010 18:52:17 +0000 (14:52 -0400)]
allow multiple setup file types, and support safe parsing

Finally removed the last hardcoding of IkiWiki::Setup::Standard.
Take the first "IkiWiki::Setup::*" in the setup file to define the
setuptype, and remember that type to use in dumping later. (But it can be
overridden using --set, etc.)

Also, support setup file types that are not evaled.

14 years agofix apparently confusing wording
Joey Hess [Fri, 19 Mar 2010 17:45:43 +0000 (13:45 -0400)]
fix apparently confusing wording

14 years agoRevert "corrected the update-the-laptop-from-the-server section"
Joey Hess [Fri, 19 Mar 2010 17:40:02 +0000 (13:40 -0400)]
Revert "corrected the update-the-laptop-from-the-server section"

No, we don't normally push from servers to laptops. Because
most laptops do not have publicly accessible IP addresses,
for one thing. Also because there's really no reason to ssh to
the server from your laptop in order to update the laptop when you
can just pull.

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 19 Mar 2010 17:39:51 +0000 (13:39 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoaudited use POSIX
Joey Hess [Fri, 19 Mar 2010 17:10:17 +0000 (13:10 -0400)]
audited use POSIX

The POSIX perl module exports a huge number of functions by default, so
make sure all imports are qualified. (And remove one that was not
necessary.)

14 years ago(no commit message)
kierun [Fri, 19 Mar 2010 15:45:26 +0000 (15:45 +0000)]

14 years ago(no commit message)
p4f [Fri, 19 Mar 2010 07:57:40 +0000 (07:57 +0000)]

14 years agocomment about comments
http://kerravonsen.dreamwidth.org/ [Fri, 19 Mar 2010 01:09:44 +0000 (01:09 +0000)]
comment about comments

14 years ago(no commit message)
p4f [Fri, 19 Mar 2010 00:57:03 +0000 (00:57 +0000)]

14 years ago(no commit message)
p4f [Fri, 19 Mar 2010 00:56:27 +0000 (00:56 +0000)]

14 years ago(no commit message)
haho [Thu, 18 Mar 2010 23:43:04 +0000 (23:43 +0000)]

14 years ago(no commit message)
haho [Thu, 18 Mar 2010 23:39:42 +0000 (23:39 +0000)]

14 years agocorrected the update-the-laptop-from-the-server section
http://kerravonsen.dreamwidth.org/ [Thu, 18 Mar 2010 22:33:18 +0000 (22:33 +0000)]
corrected the update-the-laptop-from-the-server section

14 years agoAllow wrappers to be built using tcc.
Joey Hess [Thu, 18 Mar 2010 21:44:46 +0000 (17:44 -0400)]
Allow wrappers to be built using tcc.

14 years agoC warning cleanup
Joey Hess [Thu, 18 Mar 2010 21:35:59 +0000 (17:35 -0400)]
C warning cleanup

14 years agoupdate
Joey Hess [Thu, 18 Mar 2010 17:37:35 +0000 (13:37 -0400)]
update

14 years agocomment
Jon Dowland [Thu, 18 Mar 2010 15:23:18 +0000 (15:23 +0000)]
comment

14 years agocomment
Jon Dowland [Thu, 18 Mar 2010 15:21:38 +0000 (15:21 +0000)]
comment

14 years ago(no commit message)
p4f [Thu, 18 Mar 2010 12:05:33 +0000 (12:05 +0000)]

14 years ago(no commit message)
p4f [Thu, 18 Mar 2010 12:03:34 +0000 (12:03 +0000)]

14 years agodistro confusion
nil [Thu, 18 Mar 2010 07:56:15 +0000 (07:56 +0000)]
distro confusion

14 years ago(no commit message)
nil [Thu, 18 Mar 2010 07:21:09 +0000 (07:21 +0000)]

14 years agoadd Makefile to exclude example
Joey Hess [Thu, 18 Mar 2010 03:24:31 +0000 (23:24 -0400)]
add Makefile to exclude example

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 18 Mar 2010 03:22:26 +0000 (23:22 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoset exclude example to match *.private and improve its description
Joey Hess [Thu, 18 Mar 2010 03:21:35 +0000 (23:21 -0400)]
set exclude example to match *.private and improve its description

14 years ago(no commit message)
kierun [Wed, 17 Mar 2010 09:14:46 +0000 (09:14 +0000)]

14 years agolink to highlight
http://smcv.pseudorandom.co.uk/ [Wed, 17 Mar 2010 00:42:38 +0000 (00:42 +0000)]
link to highlight

14 years agoRemoved pop
moy [Tue, 16 Mar 2010 08:57:27 +0000 (08:57 +0000)]
Removed pop

14 years agoNo more Discussion Pages of Discussion Pages of...
tschwinge [Mon, 15 Mar 2010 08:55:37 +0000 (08:55 +0000)]
No more Discussion Pages of Discussion Pages of...

14 years agoupdate
Joey Hess [Sun, 14 Mar 2010 19:30:18 +0000 (15:30 -0400)]
update

14 years agoupdate
Joey Hess [Sun, 14 Mar 2010 19:28:50 +0000 (15:28 -0400)]
update

14 years agoupdate
Joey Hess [Sun, 14 Mar 2010 19:26:24 +0000 (15:26 -0400)]
update

14 years agoupdate
Joey Hess [Sun, 14 Mar 2010 19:22:45 +0000 (15:22 -0400)]
update

14 years agoslight optimisation to file_pruned
Joey Hess [Sun, 14 Mar 2010 19:21:42 +0000 (15:21 -0400)]
slight optimisation to file_pruned

Precompile the regexp, rather than rebuilding on every call.

14 years agoupdate
Joey Hess [Sun, 14 Mar 2010 19:12:59 +0000 (15:12 -0400)]
update

14 years agonote that the patch on this page is complely broken, and allows any file starting...
Joey Hess [Sun, 14 Mar 2010 19:08:41 +0000 (15:08 -0400)]
note that the patch on this page is complely broken, and allows any file starting with a dot to be included

If you applied that patch to your site, you should remove it right away!

14 years agoAdd a include setting, which can be used to make ikiwiki process wiki source files...
Joey Hess [Sun, 14 Mar 2010 18:58:13 +0000 (14:58 -0400)]
Add a include setting, which can be used to make ikiwiki process wiki source files, such as .htaccess, that would normally be skipped for security or other reasons. Closes: #447267 (Thanks to Aaron Wilson for the original patch.)

14 years agofix missing close quote on all the Content-Transfer-Encoding in the German po files
Joey Hess [Sun, 14 Mar 2010 17:44:01 +0000 (13:44 -0400)]
fix missing close quote on all the Content-Transfer-Encoding in the German po files

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 14 Mar 2010 17:16:12 +0000 (13:16 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoAdd complete German basewiki and directives translation done by Sebastian Kuhnert.
Joey Hess [Sun, 14 Mar 2010 17:15:55 +0000 (13:15 -0400)]
Add complete German basewiki and directives translation done by Sebastian Kuhnert.

14 years ago(no commit message)
http://pmate.myopenid.com/ [Sun, 14 Mar 2010 12:19:34 +0000 (12:19 +0000)]

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 14 Mar 2010 04:59:35 +0000 (23:59 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years ago(no commit message)
https://launchpad.net/~ojwb [Sun, 14 Mar 2010 04:56:13 +0000 (04:56 +0000)]

14 years agoupdate; bleargh
Joey Hess [Sun, 14 Mar 2010 01:45:44 +0000 (20:45 -0500)]
update; bleargh

14 years agoImprove openid url munging; do not display anchors and cgi parameters, as used by...
Joey Hess [Sun, 14 Mar 2010 01:10:50 +0000 (20:10 -0500)]
Improve openid url munging; do not display anchors and cgi parameters, as used by yahoo and google urls.

14 years agoupdate
Joey Hess [Sun, 14 Mar 2010 00:56:54 +0000 (19:56 -0500)]
update

14 years agoupdate
Joey Hess [Sun, 14 Mar 2010 00:40:20 +0000 (19:40 -0500)]
update

14 years agowrinkles
Joey Hess [Sun, 14 Mar 2010 00:24:51 +0000 (19:24 -0500)]
wrinkles

14 years agomunge to avoid markdown eating email addresses
Joey Hess [Sun, 14 Mar 2010 00:12:52 +0000 (19:12 -0500)]
munge to avoid markdown eating email addresses

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 14 Mar 2010 00:08:24 +0000 (19:08 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoopenid: Use Openid Simple Registration or OpenID Attribute Exchange to get the user...
Joey Hess [Sun, 14 Mar 2010 00:08:15 +0000 (19:08 -0500)]
openid: Use Openid Simple Registration or OpenID Attribute Exchange to get the user's email address and username.

The info is stored in the session database, not the user database.
There should be no reason to need it when a user is not logged in.

Also, hide the email field in the preferences page for openid users.

Note that the email and username are not yet actually used for anything.
The email will be useful for gravatar, while the username might be used
for a more pretty display of the openid.

14 years agothoughts
Joey Hess [Sat, 13 Mar 2010 22:46:28 +0000 (17:46 -0500)]
thoughts

14 years agoupdate; openid email addresses now available so this is unblocked
Joey Hess [Sat, 13 Mar 2010 22:29:06 +0000 (17:29 -0500)]
update; openid email addresses now available so this is unblocked

14 years agoGoogle's OpenID and discovery protocol
https://www.google.com/accounts/o8/id?id=AItOawm-ebiIfxbKD3KNa-Cu9LvvD9edMLW7BAo [Sat, 13 Mar 2010 21:14:35 +0000 (21:14 +0000)]
Google's OpenID and discovery protocol

14 years agowebsetup: Add websetup_unsafe to allow marking other settings as unsafe.
Joey Hess [Sat, 13 Mar 2010 20:08:00 +0000 (15:08 -0500)]
websetup: Add websetup_unsafe to allow marking other settings as unsafe.

14 years agoNote the use of <embed /> on YouTube.
http://oneingray.myopenid.com/ [Fri, 12 Mar 2010 22:12:41 +0000 (22:12 +0000)]
Note the use of <embed /> on YouTube.

14 years agoresponse
Joey Hess [Fri, 12 Mar 2010 21:50:04 +0000 (16:50 -0500)]
response

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 12 Mar 2010 21:44:47 +0000 (16:44 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoNote that <object /> still may be allowed, although in a form not suitable for, say...
http://oneingray.myopenid.com/ [Fri, 12 Mar 2010 21:24:53 +0000 (21:24 +0000)]
Note that <object /> still may be allowed, although in a form not suitable for, say, SVG inclusion.

14 years agomove bug report to bugs and close
Joey Hess [Fri, 12 Mar 2010 21:16:47 +0000 (16:16 -0500)]
move bug report to bugs and close

14 years agoresponse
Joey Hess [Fri, 12 Mar 2010 20:40:47 +0000 (15:40 -0500)]
response

14 years agoadd news item for ikiwiki 3.20100312
Joey Hess [Fri, 12 Mar 2010 20:22:32 +0000 (15:22 -0500)]
add news item for ikiwiki 3.20100312

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 12 Mar 2010 20:21:07 +0000 (15:21 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoreleasing version 3.20100312 3.20100312
Joey Hess [Fri, 12 Mar 2010 20:14:28 +0000 (15:14 -0500)]
releasing version 3.20100312

14 years agofix escaping of indented dot
Joey Hess [Fri, 12 Mar 2010 20:09:33 +0000 (15:09 -0500)]
fix escaping of indented dot

14 years agotypo
Joey Hess [Fri, 12 Mar 2010 20:01:24 +0000 (15:01 -0500)]
typo

14 years agoclarify
Joey Hess [Fri, 12 Mar 2010 20:00:39 +0000 (15:00 -0500)]
clarify

14 years agohtmlscrubber: Security fix: In data:image/* uris, only allow a few whitelisted image...
Joey Hess [Fri, 12 Mar 2010 19:49:13 +0000 (14:49 -0500)]
htmlscrubber: Security fix: In data:image/* uris, only allow a few whitelisted image types. No svg.

14 years agodata:image/svg is a security hole as javascript can presumably be inserted
Joey Hess [Fri, 12 Mar 2010 19:29:54 +0000 (14:29 -0500)]
data:image/svg is a security hole as javascript can presumably be inserted

14 years agoAdded an <object /> wishlist item.
http://oneingray.myopenid.com/ [Fri, 12 Mar 2010 18:33:10 +0000 (18:33 +0000)]
Added an <object /> wishlist item.

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 12 Mar 2010 17:52:34 +0000 (12:52 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoNote that, actually, SVG could be embedded into an Ikiwiki page, albeit in a somewhat...
http://oneingray.myopenid.com/ [Fri, 12 Mar 2010 17:51:17 +0000 (17:51 +0000)]
Note that, actually, SVG could be embedded into an Ikiwiki page, albeit in a somewhat crude manner.

14 years agoAdded a page for myself.
http://oneingray.myopenid.com/ [Fri, 12 Mar 2010 17:50:16 +0000 (17:50 +0000)]
Added a page for myself.

14 years agoformatting
Joey Hess [Thu, 11 Mar 2010 21:29:00 +0000 (16:29 -0500)]
formatting