ikiwiki.git
12 years agoWIP
Joey Hess [Wed, 15 Jun 2011 19:21:59 +0000 (15:21 -0400)]
WIP

12 years agoimplement renaming of held attachments
Joey Hess [Tue, 14 Jun 2011 20:02:09 +0000 (16:02 -0400)]
implement renaming of held attachments

This is somewhat suboptimal, it does not update links to the renamed file,
or show a result message.

12 years agoremove trailing slash from attachment_holding_dir
Joey Hess [Tue, 14 Jun 2011 19:47:47 +0000 (15:47 -0400)]
remove trailing slash from attachment_holding_dir

If it's passed a filename, it should return the filename inside the holding
dir. If passed a page, the directory sans slash. All code adds the slash.

12 years agomore generic interface
Joey Hess [Tue, 14 Jun 2011 19:30:19 +0000 (15:30 -0400)]
more generic interface

12 years agobugfixes
Joey Hess [Tue, 14 Jun 2011 19:19:23 +0000 (15:19 -0400)]
bugfixes

12 years agobugfix for attachments of non-index pages
Joey Hess [Tue, 14 Jun 2011 19:07:34 +0000 (15:07 -0400)]
bugfix for attachments of non-index pages

12 years agofix removal of helf attachments
Joey Hess [Tue, 14 Jun 2011 18:44:20 +0000 (14:44 -0400)]
fix removal of helf attachments

Left out confirmation of removal for held attachments because
a) they're not in the wiki yet, so confirmation is a bit unnecessary
b) it would be hard
c) eases later integration of jquery file upload interface

Also changed where attachments of index are held (to match where they're
stored in the srcdir).

Note that the attachment formbuilder hook was made to run last, so that
the list of attachments is not generated before removal, in the fast path
w/o confirm.

12 years agofixed previewing of attachments from holding area
Joey Hess [Tue, 14 Jun 2011 18:08:13 +0000 (14:08 -0400)]
fixed previewing of attachments from holding area

12 years agofixed saving attachments on page save
Joey Hess [Tue, 14 Jun 2011 17:59:11 +0000 (13:59 -0400)]
fixed saving attachments on page save

Also saved on preview, but previewing is a bit broken, does not see the
newly saved attachment yet.

12 years agoattachment list includes new attachments in holding area
Joey Hess [Tue, 14 Jun 2011 17:49:41 +0000 (13:49 -0400)]
attachment list includes new attachments in holding area

Note that it's possible for an attachment in the holding area to be older
than an attachemnt in the wiki with the same name. I intentionally
show the one in the holding area in this (unlikely) case, since saving the
page will overwrite the wiki's file with the held attachment. It does not
seem worth the bother of doing something more intelligent, since in this
case two people have basically conflicted with one-another.. and both
attachment contents will be stored in revision control in case it needs to
be sorted out.

I had to remove the hyperlink for attachments in the holding area, since
they're not yet live on the web. This could be annoying/confusing. Added
a moseover notice instead.

12 years agountaint and linkpage the page name used in attachment holding directory
Joey Hess [Tue, 14 Jun 2011 17:41:07 +0000 (13:41 -0400)]
untaint and linkpage the page name used in attachment holding directory

12 years agostore filename in holding dir in linkpage form
Joey Hess [Tue, 14 Jun 2011 17:38:37 +0000 (13:38 -0400)]
store filename in holding dir in linkpage form

Avoids any unpleasantness with .. or other special chars in the attachment
filename.

12 years agostore attachments in holding area; commit to wiki on page save
Joey Hess [Tue, 14 Jun 2011 17:30:09 +0000 (13:30 -0400)]
store attachments in holding area; commit to wiki on page save

This makes uploading a lot of attachments somewhat faster, because
the user does not need to wait for a long website refresh after each
upload. Still probably somewhat slow, since ikiwiki has to run for each
upload.

More importantly, this opens the door for integration of things like
the jquery file upload interface, which allow drag-n-drop and multiple
file uploads to be queued and then ran.

It uses rcs_commit_staged, which leaves out tla and mercurual which lack
that, but since rename, remove, autoindex, etc also use that, I think it's
fine for attachments to also depend on it.

The attachment list is currently broken; it does not look in the holding
area yet, and its links to the attached files won't work since they're not
yet in the wiki. previewing is also currently broken.

Work sponsored by TOVA.

12 years agorefactor
Joey Hess [Tue, 14 Jun 2011 17:06:59 +0000 (13:06 -0400)]
refactor

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Mon, 13 Jun 2011 16:50:26 +0000 (12:50 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info

12 years agoimprove usage message
Joey Hess [Mon, 13 Jun 2011 16:20:21 +0000 (12:20 -0400)]
improve usage message

12 years ago(no commit message)
http://cdombroski.myopenid.com/ [Mon, 13 Jun 2011 15:47:24 +0000 (15:47 +0000)]

12 years agothese too
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Mon, 13 Jun 2011 02:10:53 +0000 (02:10 +0000)]
these too

This reverts commit 9cd14cda8879cc33959aa6c61265053da833bd19

12 years agowe can see the fnords
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Mon, 13 Jun 2011 02:10:32 +0000 (02:10 +0000)]
we can see the fnords

This reverts commit 950d6ce453d05f1499deb25c1294cf5abaabbc1c

12 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawko7YtFjsEK_d2RYWu7Bbd7svypodeTLkc [Mon, 13 Jun 2011 00:14:23 +0000 (00:14 +0000)]

12 years agolorem ipsum text
https://www.google.com/accounts/o8/id?id=AItOawko7YtFjsEK_d2RYWu7Bbd7svypodeTLkc [Mon, 13 Jun 2011 00:13:21 +0000 (00:13 +0000)]
lorem ipsum text

12 years agoAdded a comment
http://profjim.myopenid.com/ [Sun, 12 Jun 2011 20:20:13 +0000 (20:20 +0000)]
Added a comment

12 years agoInitial post
http://profjim.myopenid.com/ [Sun, 12 Jun 2011 20:18:14 +0000 (20:18 +0000)]
Initial post

12 years agowhat?
Joey Hess [Sat, 11 Jun 2011 18:29:38 +0000 (14:29 -0400)]
what?

12 years agomove to correct location
Joey Hess [Sat, 11 Jun 2011 18:25:04 +0000 (14:25 -0400)]
move to correct location

12 years agoencode_entities_numeric please :)
simonraven [Sat, 11 Jun 2011 17:00:02 +0000 (17:00 +0000)]
encode_entities_numeric please :)

12 years agobetter long filename detection method
Joey Hess [Fri, 10 Jun 2011 23:04:18 +0000 (19:04 -0400)]
better long filename detection method

Let's just try to write and fall back to a short ugly filename on error.

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Fri, 10 Jun 2011 22:48:22 +0000 (18:48 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info

12 years agoaggregate: Improve checking for too long aggregated filenames.
Joey Hess [Fri, 10 Jun 2011 22:47:57 +0000 (18:47 -0400)]
aggregate: Improve checking for too long aggregated filenames.

Two problems fixed:

1. Files are written with a .ikiwiki-new suffix, which has to be taken into
   account.
2. Need to count length of bytes, not of unicode characters.

12 years agonow changed the subset plugin interface
http://kerravonsen.dreamwidth.org/ [Fri, 10 Jun 2011 08:33:18 +0000 (08:33 +0000)]
now changed the subset plugin interface

12 years agodoscan is now called maketrail
http://kerravonsen.dreamwidth.org/ [Fri, 10 Jun 2011 08:13:31 +0000 (08:13 +0000)]
doscan is now called maketrail

12 years agoin git now
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Thu, 9 Jun 2011 17:48:08 +0000 (17:48 +0000)]
in git now

12 years agorecord email of new users in userinfo for userlist
Joey Hess [Thu, 9 Jun 2011 14:58:05 +0000 (10:58 -0400)]
record email of new users in userinfo for userlist

12 years agoencode html
Joey Hess [Thu, 9 Jun 2011 14:46:09 +0000 (10:46 -0400)]
encode html

12 years agouserlist: New plugin, lets admins see a list of users and their info.
Joey Hess [Thu, 9 Jun 2011 14:08:02 +0000 (10:08 -0400)]
userlist: New plugin, lets admins see a list of users and their info.

12 years agocode's in git
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Thu, 9 Jun 2011 08:06:24 +0000 (08:06 +0000)]
code's in git

12 years agoadd news item for ikiwiki 3.20110608
Joey Hess [Wed, 8 Jun 2011 21:52:13 +0000 (17:52 -0400)]
add news item for ikiwiki 3.20110608

12 years agoreleasing version 3.20110608
Joey Hess [Wed, 8 Jun 2011 21:51:02 +0000 (17:51 -0400)]
releasing version 3.20110608

12 years agoikiwiki-mass-rebuild: Fix tty hijacking vulnerability by using su. (Once su's related...
Joey Hess [Wed, 8 Jun 2011 21:33:15 +0000 (17:33 -0400)]
ikiwiki-mass-rebuild: Fix tty hijacking vulnerability by using su. (Once su's related bug #628843 is fixed.) Thanks, Ludwig Nussel. (CVE-2011-1408)

12 years agot3h c0d35
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Wed, 8 Jun 2011 19:41:47 +0000 (19:41 +0000)]
t3h c0d35

12 years agoresponse
Joey Hess [Wed, 8 Jun 2011 19:34:27 +0000 (15:34 -0400)]
response

12 years ago404 automatically loads goto
Joey Hess [Wed, 8 Jun 2011 19:31:16 +0000 (15:31 -0400)]
404 automatically loads goto

12 years ago(no commit message)
http://docwhat.org/ [Wed, 8 Jun 2011 19:27:51 +0000 (19:27 +0000)]

12 years ago(no commit message)
http://docwhat.org/ [Wed, 8 Jun 2011 19:17:32 +0000 (19:17 +0000)]

12 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM [Tue, 7 Jun 2011 02:36:58 +0000 (02:36 +0000)]

12 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM [Mon, 6 Jun 2011 23:14:09 +0000 (23:14 +0000)]

12 years agorespond
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:21:36 +0000 (22:21 +0000)]
respond

12 years agoclarify which is current by clearing this page
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:15:30 +0000 (22:15 +0000)]
clarify which is current by clearing this page

12 years agomore about the new version
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:10:45 +0000 (22:10 +0000)]
more about the new version

12 years agoupdate demo links, bugs
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:06:17 +0000 (22:06 +0000)]
update demo links, bugs

12 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM [Sun, 5 Jun 2011 19:47:58 +0000 (19:47 +0000)]

12 years agoremoved
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 17:16:58 +0000 (17:16 +0000)]
removed

12 years agoAdded a comment
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 17:12:43 +0000 (17:12 +0000)]
Added a comment

12 years agoAdded a comment
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Sun, 5 Jun 2011 17:11:40 +0000 (17:11 +0000)]
Added a comment

12 years agoupdated trail branch
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 17:11:32 +0000 (17:11 +0000)]
updated trail branch

12 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM [Sun, 5 Jun 2011 16:52:26 +0000 (16:52 +0000)]

12 years ago(no commit message)
https://profiles.google.com/lumeng.dev [Sat, 4 Jun 2011 23:54:06 +0000 (23:54 +0000)]

12 years agoneed to add this to my git
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Sat, 4 Jun 2011 22:11:53 +0000 (22:11 +0000)]
need to add this to my git

12 years agoportability/packagability fixes
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI [Sat, 4 Jun 2011 17:14:44 +0000 (17:14 +0000)]
portability/packagability fixes

12 years agocomments on interop with other servers
http://smcv.pseudorandom.co.uk/ [Sat, 4 Jun 2011 16:18:31 +0000 (16:18 +0000)]
comments on interop with other servers

12 years ago(no commit message)
http://vn91.ya.ru/ [Sat, 4 Jun 2011 16:09:38 +0000 (16:09 +0000)]

12 years agofixed in a branch
http://smcv.pseudorandom.co.uk/ [Sat, 4 Jun 2011 16:05:11 +0000 (16:05 +0000)]
fixed in a branch

12 years agofound it
http://smcv.pseudorandom.co.uk/ [Sat, 4 Jun 2011 15:40:24 +0000 (15:40 +0000)]
found it

12 years agothis is meant to work like Jon expected it would
http://smcv.pseudorandom.co.uk/ [Sat, 4 Jun 2011 14:36:31 +0000 (14:36 +0000)]
this is meant to work like Jon expected it would

12 years agoAdded a comment: Alternative
http://tychoish.livejournal.com/ [Sat, 4 Jun 2011 12:57:15 +0000 (12:57 +0000)]
Added a comment: Alternative

12 years agoresponse
http://jmtd.livejournal.com/ [Sat, 4 Jun 2011 09:01:08 +0000 (09:01 +0000)]
response

12 years agoupdate on http proxy issue
http://brian.may.myopenid.com/ [Sat, 4 Jun 2011 02:13:15 +0000 (02:13 +0000)]
update on http proxy issue

12 years agosearch: Update search page when page.tmpl or searchquery.tmpl are locally modified.
Joey Hess [Sat, 4 Jun 2011 00:31:20 +0000 (20:31 -0400)]
search: Update search page when page.tmpl or searchquery.tmpl are locally modified.

12 years agonew bug
Joey Hess [Sat, 4 Jun 2011 00:13:49 +0000 (20:13 -0400)]
new bug

12 years agoadd news item for ikiwiki 3.20110431
Joey Hess [Fri, 3 Jun 2011 20:01:46 +0000 (16:01 -0400)]
add news item for ikiwiki 3.20110431

12 years agoreleasing version 3.20110431
Joey Hess [Fri, 3 Jun 2011 20:00:25 +0000 (16:00 -0400)]
releasing version 3.20110431

12 years agolet's assume some web server will think OFF is a good idea..
Joey Hess [Fri, 3 Jun 2011 18:41:13 +0000 (14:41 -0400)]
let's assume some web server will think OFF is a good idea..

12 years agoreclose
Joey Hess [Fri, 3 Jun 2011 18:37:24 +0000 (14:37 -0400)]
reclose

12 years agoSupport the Hiawatha web server which sets HTTPS=off rather than not setting it....
Joey Hess [Fri, 3 Jun 2011 18:36:31 +0000 (14:36 -0400)]
Support the Hiawatha web server which sets HTTPS=off rather than not setting it. (There does not seem to be a standard here.)

12 years agoresponse
Joey Hess [Fri, 3 Jun 2011 18:28:47 +0000 (14:28 -0400)]
response

12 years agoHow to insert an image?
JeremyReed [Fri, 3 Jun 2011 18:24:00 +0000 (18:24 +0000)]
How to insert an image?

12 years agoTry with differen N::O::C versions
http://www.tobez.org/ [Fri, 3 Jun 2011 17:55:31 +0000 (17:55 +0000)]
Try with differen N::O::C versions

12 years agoreopen for new bug
Joey Hess [Fri, 3 Jun 2011 17:28:40 +0000 (13:28 -0400)]
reopen for new bug

12 years agocode review
Joey Hess [Fri, 3 Jun 2011 17:25:04 +0000 (13:25 -0400)]
code review

12 years agoprovide more information about the environment which has the bug
http://www.tobez.org/ [Fri, 3 Jun 2011 17:17:17 +0000 (17:17 +0000)]
provide more information about the environment which has the bug

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Fri, 3 Jun 2011 17:05:30 +0000 (13:05 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info

12 years agoresponse; smcv tag
Joey Hess [Fri, 3 Jun 2011 17:04:15 +0000 (13:04 -0400)]
response; smcv tag

12 years agoAdded a comment
http://joey.kitenet.net/ [Fri, 3 Jun 2011 17:01:45 +0000 (17:01 +0000)]
Added a comment

12 years agodisable feeds
Joey Hess [Fri, 3 Jun 2011 16:59:55 +0000 (12:59 -0400)]
disable feeds

12 years agotypo
Joey Hess [Fri, 3 Jun 2011 16:57:11 +0000 (12:57 -0400)]
typo

12 years agoComment sorting
http://jmtd.livejournal.com/ [Fri, 3 Jun 2011 16:56:18 +0000 (16:56 +0000)]
Comment sorting

12 years agoadd inline, only used as as an easy way to add new contrib plugin pages
Joey Hess [Fri, 3 Jun 2011 16:54:41 +0000 (12:54 -0400)]
add inline, only used as as an easy way to add new contrib plugin pages

12 years agoAdded a comment
http://joey.kitenet.net/ [Fri, 3 Jun 2011 16:48:05 +0000 (16:48 +0000)]
Added a comment

12 years agomerged po4a robustness workaround
Joey Hess [Fri, 3 Jun 2011 16:39:09 +0000 (12:39 -0400)]
merged po4a robustness workaround

12 years agoMerge remote-tracking branch 'intrigeri/po'
Joey Hess [Fri, 3 Jun 2011 16:36:30 +0000 (12:36 -0400)]
Merge remote-tracking branch 'intrigeri/po'

12 years agochangelog
Joey Hess [Fri, 3 Jun 2011 16:32:42 +0000 (12:32 -0400)]
changelog

12 years agoMerge remote-tracking branch 'intrigeri/po-long-language-codes'
Joey Hess [Fri, 3 Jun 2011 16:32:37 +0000 (12:32 -0400)]
Merge remote-tracking branch 'intrigeri/po-long-language-codes'

12 years agocomment
Joey Hess [Fri, 3 Jun 2011 16:28:56 +0000 (12:28 -0400)]
comment

12 years agocomments
Joey Hess [Fri, 3 Jun 2011 16:25:48 +0000 (12:25 -0400)]
comments

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Fri, 3 Jun 2011 16:17:49 +0000 (12:17 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info

12 years agoThis reverts commit b223862517ff5cbfca876c840a8278656acfb9bc.
Joey Hess [Fri, 3 Jun 2011 16:16:27 +0000 (12:16 -0400)]
This reverts commit b223862517ff5cbfca876c840a8278656acfb9bc.

No, I meant to have a short elipses there really..

12 years agorequest details from tobez
Joey Hess [Fri, 3 Jun 2011 16:15:39 +0000 (12:15 -0400)]
request details from tobez

12 years agoHow to only have editpage link when admin is logged in? Or on secret page?
JeremyReed [Fri, 3 Jun 2011 15:38:23 +0000 (15:38 +0000)]
How to only have editpage link when admin is logged in? Or on secret page?

12 years agodon't install discussion pages for example sites
Joey Hess [Fri, 3 Jun 2011 15:37:13 +0000 (11:37 -0400)]
don't install discussion pages for example sites

also dropped old .svn excludes

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Fri, 3 Jun 2011 15:29:26 +0000 (11:29 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info