aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAge
* WIPJoey Hess2011-06-15
* fix removal of staged attachmentsJoey Hess2011-06-15
* WIPJoey Hess2011-06-15
* implement renaming of held attachments•••This is somewhat suboptimal, it does not update links to the renamed file, or show a result message. Joey Hess2011-06-14
* 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 Hess2011-06-14
* more generic interfaceJoey Hess2011-06-14
* bugfixesJoey Hess2011-06-14
* bugfix for attachments of non-index pagesJoey Hess2011-06-14
* 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 Hess2011-06-14
* fixed previewing of attachments from holding areaJoey Hess2011-06-14
* 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 Hess2011-06-14
* 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 Hess2011-06-14
* untaint and linkpage the page name used in attachment holding directoryJoey Hess2011-06-14
* store filename in holding dir in linkpage form•••Avoids any unpleasantness with .. or other special chars in the attachment filename. Joey Hess2011-06-14
* 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 Hess2011-06-14
* refactorJoey Hess2011-06-14
* Merge branch 'master' of ssh://git.ikiwiki.infoJoey Hess2011-06-13
|\
| * (no commit message)http://cdombroski.myopenid.com/2011-06-13
| * these too•••This reverts commit 9cd14cda8879cc33959aa6c61265053da833bd19 https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI2011-06-13
| * we can see the fnords•••This reverts commit 950d6ce453d05f1499deb25c1294cf5abaabbc1c https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI2011-06-13
| * (no commit message)https://www.google.com/accounts/o8/id?id=AItOawko7YtFjsEK_d2RYWu7Bbd7svypodeTLkc2011-06-13
| * lorem ipsum texthttps://www.google.com/accounts/o8/id?id=AItOawko7YtFjsEK_d2RYWu7Bbd7svypodeTLkc2011-06-13
| * Added a commenthttp://profjim.myopenid.com/2011-06-12
| * Initial posthttp://profjim.myopenid.com/2011-06-12
* | improve usage messageJoey Hess2011-06-13
|/
* what?Joey Hess2011-06-11
* move to correct locationJoey Hess2011-06-11
* encode_entities_numeric please :)simonraven2011-06-11
* better long filename detection method•••Let's just try to write and fall back to a short ugly filename on error. Joey Hess2011-06-10
* Merge branch 'master' of ssh://git.ikiwiki.infoJoey Hess2011-06-10
|\
| * now changed the subset plugin interfacehttp://kerravonsen.dreamwidth.org/2011-06-10
| * doscan is now called maketrailhttp://kerravonsen.dreamwidth.org/2011-06-10
* | 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. Joey Hess2011-06-10
|/
* in git nowhttps://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI2011-06-09
* record email of new users in userinfo for userlistJoey Hess2011-06-09
* encode htmlJoey Hess2011-06-09
* userlist: New plugin, lets admins see a list of users and their info.Joey Hess2011-06-09
* code's in githttps://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI2011-06-09
* add news item for ikiwiki 3.20110608Joey Hess2011-06-08
* releasing version 3.20110608Joey Hess2011-06-08
* ikiwiki-mass-rebuild: Fix tty hijacking vulnerability by using su. (Once su's...Joey Hess2011-06-08
* t3h c0d35https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI2011-06-08
* responseJoey Hess2011-06-08
* 404 automatically loads gotoJoey Hess2011-06-08
* (no commit message)http://docwhat.org/2011-06-08
* (no commit message)http://docwhat.org/2011-06-08
* (no commit message)https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM2011-06-07
* (no commit message)https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM2011-06-06
* respondhttp://smcv.pseudorandom.co.uk/2011-06-05
* clarify which is current by clearing this pagehttp://smcv.pseudorandom.co.uk/2011-06-05