Joey Hess [Wed, 15 Jun 2011 19:21:59 +0000 (15:21 -0400)]
WIP
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.
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.
Joey Hess [Tue, 14 Jun 2011 19:30:19 +0000 (15:30 -0400)]
more generic interface
Joey Hess [Tue, 14 Jun 2011 19:19:23 +0000 (15:19 -0400)]
bugfixes
Joey Hess [Tue, 14 Jun 2011 19:07:34 +0000 (15:07 -0400)]
bugfix for attachments of non-index pages
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.
Joey Hess [Tue, 14 Jun 2011 18:08:13 +0000 (14:08 -0400)]
fixed previewing of attachments from holding area
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.
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.
Joey Hess [Tue, 14 Jun 2011 17:41:07 +0000 (13:41 -0400)]
untaint and linkpage the page name used in attachment holding directory
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.
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.
Joey Hess [Tue, 14 Jun 2011 17:06:59 +0000 (13:06 -0400)]
refactor
Joey Hess [Mon, 13 Jun 2011 16:50:26 +0000 (12:50 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Mon, 13 Jun 2011 16:20:21 +0000 (12:20 -0400)]
improve usage message
http://cdombroski.myopenid.com/ [Mon, 13 Jun 2011 15:47:24 +0000 (15:47 +0000)]
we can see the fnords
This reverts commit
950d6ce453d05f1499deb25c1294cf5abaabbc1c
lorem ipsum text
http://profjim.myopenid.com/ [Sun, 12 Jun 2011 20:20:13 +0000 (20:20 +0000)]
Added a comment
http://profjim.myopenid.com/ [Sun, 12 Jun 2011 20:18:14 +0000 (20:18 +0000)]
Initial post
Joey Hess [Sat, 11 Jun 2011 18:29:38 +0000 (14:29 -0400)]
what?
Joey Hess [Sat, 11 Jun 2011 18:25:04 +0000 (14:25 -0400)]
move to correct location
simonraven [Sat, 11 Jun 2011 17:00:02 +0000 (17:00 +0000)]
encode_entities_numeric please :)
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.
Joey Hess [Fri, 10 Jun 2011 22:48:22 +0000 (18:48 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
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.
http://kerravonsen.dreamwidth.org/ [Fri, 10 Jun 2011 08:33:18 +0000 (08:33 +0000)]
now changed the subset plugin interface
http://kerravonsen.dreamwidth.org/ [Fri, 10 Jun 2011 08:13:31 +0000 (08:13 +0000)]
doscan is now called maketrail
in git now
Joey Hess [Thu, 9 Jun 2011 14:58:05 +0000 (10:58 -0400)]
record email of new users in userinfo for userlist
Joey Hess [Thu, 9 Jun 2011 14:46:09 +0000 (10:46 -0400)]
encode html
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.
code's in git
Joey Hess [Wed, 8 Jun 2011 21:52:13 +0000 (17:52 -0400)]
add news item for ikiwiki 3.
20110608
Joey Hess [Wed, 8 Jun 2011 21:51:02 +0000 (17:51 -0400)]
releasing version 3.
20110608
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)
t3h c0d35
Joey Hess [Wed, 8 Jun 2011 19:34:27 +0000 (15:34 -0400)]
response
Joey Hess [Wed, 8 Jun 2011 19:31:16 +0000 (15:31 -0400)]
404 automatically loads goto
http://docwhat.org/ [Wed, 8 Jun 2011 19:27:51 +0000 (19:27 +0000)]
http://docwhat.org/ [Wed, 8 Jun 2011 19:17:32 +0000 (19:17 +0000)]
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:21:36 +0000 (22:21 +0000)]
respond
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:15:30 +0000 (22:15 +0000)]
clarify which is current by clearing this page
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:10:45 +0000 (22:10 +0000)]
more about the new version
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 22:06:17 +0000 (22:06 +0000)]
update demo links, bugs
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 17:16:58 +0000 (17:16 +0000)]
removed
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 17:12:43 +0000 (17:12 +0000)]
Added a comment
Added a comment
http://smcv.pseudorandom.co.uk/ [Sun, 5 Jun 2011 17:11:32 +0000 (17:11 +0000)]
updated trail branch
https://profiles.google.com/lumeng.dev [Sat, 4 Jun 2011 23:54:06 +0000 (23:54 +0000)]
need to add this to my git
portability/packagability fixes
http://smcv.pseudorandom.co.uk/ [Sat, 4 Jun 2011 16:18:31 +0000 (16:18 +0000)]
comments on interop with other servers
http://vn91.ya.ru/ [Sat, 4 Jun 2011 16:09:38 +0000 (16:09 +0000)]
http://smcv.pseudorandom.co.uk/ [Sat, 4 Jun 2011 16:05:11 +0000 (16:05 +0000)]
fixed in a branch
http://smcv.pseudorandom.co.uk/ [Sat, 4 Jun 2011 15:40:24 +0000 (15:40 +0000)]
found it
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
http://tychoish.livejournal.com/ [Sat, 4 Jun 2011 12:57:15 +0000 (12:57 +0000)]
Added a comment: Alternative
http://jmtd.livejournal.com/ [Sat, 4 Jun 2011 09:01:08 +0000 (09:01 +0000)]
response
http://brian.may.myopenid.com/ [Sat, 4 Jun 2011 02:13:15 +0000 (02:13 +0000)]
update on http proxy issue
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.
Joey Hess [Sat, 4 Jun 2011 00:13:49 +0000 (20:13 -0400)]
new bug
Joey Hess [Fri, 3 Jun 2011 20:01:46 +0000 (16:01 -0400)]
add news item for ikiwiki 3.
20110431
Joey Hess [Fri, 3 Jun 2011 20:00:25 +0000 (16:00 -0400)]
releasing version 3.
20110431
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..
Joey Hess [Fri, 3 Jun 2011 18:37:24 +0000 (14:37 -0400)]
reclose
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.)
Joey Hess [Fri, 3 Jun 2011 18:28:47 +0000 (14:28 -0400)]
response
JeremyReed [Fri, 3 Jun 2011 18:24:00 +0000 (18:24 +0000)]
How to insert an image?
http://www.tobez.org/ [Fri, 3 Jun 2011 17:55:31 +0000 (17:55 +0000)]
Try with differen N::O::C versions
Joey Hess [Fri, 3 Jun 2011 17:28:40 +0000 (13:28 -0400)]
reopen for new bug
Joey Hess [Fri, 3 Jun 2011 17:25:04 +0000 (13:25 -0400)]
code review
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
Joey Hess [Fri, 3 Jun 2011 17:05:30 +0000 (13:05 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Fri, 3 Jun 2011 17:04:15 +0000 (13:04 -0400)]
response; smcv tag
http://joey.kitenet.net/ [Fri, 3 Jun 2011 17:01:45 +0000 (17:01 +0000)]
Added a comment
Joey Hess [Fri, 3 Jun 2011 16:59:55 +0000 (12:59 -0400)]
disable feeds
Joey Hess [Fri, 3 Jun 2011 16:57:11 +0000 (12:57 -0400)]
typo
http://jmtd.livejournal.com/ [Fri, 3 Jun 2011 16:56:18 +0000 (16:56 +0000)]
Comment sorting
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
http://joey.kitenet.net/ [Fri, 3 Jun 2011 16:48:05 +0000 (16:48 +0000)]
Added a comment
Joey Hess [Fri, 3 Jun 2011 16:39:09 +0000 (12:39 -0400)]
merged po4a robustness workaround
Joey Hess [Fri, 3 Jun 2011 16:36:30 +0000 (12:36 -0400)]
Merge remote-tracking branch 'intrigeri/po'
Joey Hess [Fri, 3 Jun 2011 16:32:42 +0000 (12:32 -0400)]
changelog
Joey Hess [Fri, 3 Jun 2011 16:32:37 +0000 (12:32 -0400)]
Merge remote-tracking branch 'intrigeri/po-long-language-codes'
Joey Hess [Fri, 3 Jun 2011 16:28:56 +0000 (12:28 -0400)]
comment
Joey Hess [Fri, 3 Jun 2011 16:25:48 +0000 (12:25 -0400)]
comments
Joey Hess [Fri, 3 Jun 2011 16:17:49 +0000 (12:17 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
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..
Joey Hess [Fri, 3 Jun 2011 16:15:39 +0000 (12:15 -0400)]
request details from tobez
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?
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
Joey Hess [Fri, 3 Jun 2011 15:29:26 +0000 (11:29 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info