]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
13 years agoshow ikiwiki error when attachment is rejected tova
Joey Hess [Thu, 16 Jun 2011 17:01:23 +0000 (13:01 -0400)]
show ikiwiki error when attachment is rejected

13 years agomove images around
Joey Hess [Thu, 16 Jun 2011 00:12:16 +0000 (20:12 -0400)]
move images around

jquery-ui expects to find them in a specific place relative to it

13 years agojquery-ui icons
Joey Hess [Thu, 16 Jun 2011 00:04:27 +0000 (20:04 -0400)]
jquery-ui icons

13 years agolet thru HTTP_ACCEPT
Joey Hess [Thu, 16 Jun 2011 00:02:14 +0000 (20:02 -0400)]
let thru HTTP_ACCEPT

Needed for attachment to return json when requested.

I think some browsers send Accept: * , so I made sure to check that json
was explicitly listed as to be accepted, as well as having a high
priority.

13 years agobugfixes
Joey Hess [Wed, 15 Jun 2011 23:48:49 +0000 (19:48 -0400)]
bugfixes

Make sure staged attachments sort as earlier, even if they're not really.

13 years agomove image
Joey Hess [Wed, 15 Jun 2011 23:48:33 +0000 (19:48 -0400)]
move image

13 years agoadded jquery templates
Joey Hess [Wed, 15 Jun 2011 23:33:22 +0000 (19:33 -0400)]
added jquery templates

13 years agotypo
Joey Hess [Wed, 15 Jun 2011 23:31:11 +0000 (19:31 -0400)]
typo

13 years agoadded jquery-ui for attachment interface
Joey Hess [Wed, 15 Jun 2011 23:30:34 +0000 (19:30 -0400)]
added jquery-ui for attachment interface

13 years agouse jquery underlay
Joey Hess [Wed, 15 Jun 2011 23:16:08 +0000 (19:16 -0400)]
use jquery underlay

13 years agoupdated jquery and made it its own underlay
Joey Hess [Wed, 15 Jun 2011 23:15:06 +0000 (19:15 -0400)]
updated jquery and made it its own underlay

13 years agoload attachment javascript into template the clean way
Joey Hess [Wed, 15 Jun 2011 23:08:40 +0000 (19:08 -0400)]
load attachment javascript into template the clean way

13 years agoupdate copyright
Joey Hess [Wed, 15 Jun 2011 22:56:36 +0000 (18:56 -0400)]
update copyright

13 years agodeleted a lot of code ikiwiki does not need
Joey Hess [Wed, 15 Jun 2011 22:45:32 +0000 (18:45 -0400)]
deleted a lot of code ikiwiki does not need

removed most of the css, going for standard plain ikiwiki look

Removed support for image previews, file size limits, delete buttons,
maximum number of files, file size display. Ikiwiki handles all that.

Turned on autoupload.

13 years agoadd the blueimp jquery fileupload widget
Joey Hess [Wed, 15 Jun 2011 22:41:50 +0000 (18:41 -0400)]
add the blueimp jquery fileupload widget

from http://aquantum-demo.appspot.com/file-upload
git version 7f89121

removed some files ikiwiki does not need

13 years agoWIP
Joey Hess [Wed, 15 Jun 2011 22:37:12 +0000 (18:37 -0400)]
WIP

13 years agofix removal of staged attachments
Joey Hess [Wed, 15 Jun 2011 21:46:08 +0000 (17:46 -0400)]
fix removal of staged attachments

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

13 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.

13 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.

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

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

13 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

13 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.

13 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

13 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.

13 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.

13 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

13 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.

13 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.

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

13 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

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

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

13 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

13 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

13 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)]

13 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

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

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

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

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

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

13 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.

13 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

13 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.

13 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

13 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

13 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

13 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

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

13 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.

13 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

13 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

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

13 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)

13 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

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

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

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

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

13 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)]

13 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)]

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

13 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

13 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

13 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

13 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)]

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

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

13 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

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

13 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)]

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

13 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

13 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

13 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

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

13 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

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

13 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

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

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

13 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

13 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.

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

13 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

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

13 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..

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

13 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.)

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

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

13 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

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

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

13 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

13 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

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

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