aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
* fix mercurial commit with session but without nicknameJoey Hess2011-07-30
|
* Fix escaping of html entities in tag names.Joey Hess2011-07-29
| | | | | Example case was a tag with & in its name, which resulted in a malformed rss feed.
* Fix escaping of html entities in permalinks.Joey Hess2011-07-29
|
* oopsJoey Hess2011-07-26
|
* Fix typo in Danish translation of shortcuts page that caused expoentional ↵Joey Hess2011-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regexp blowup. Complex regular subexpression recursion limit (32766) exceeded at /home/joey/src/ikiwiki/IkiWiki.pm line 1532. This doesn't fix the blowup potential itself, it just fixes the typo. :) A sample page that causes the blowup is attached below for future reference. The first directive is not terminated. Contributing are the additional quotes around the following directives, which mean that they can each be processed as a parameter to the first directive, or as an individual directive. In resolving this ambiguity, the regexp blows up. Happily, perl contains the explosion , so I don't think there is an exploit here. "[[!shortcut name=wiktionary url=\"https://secure.wikimedia.org/wiktionary/en/" "[[!shortcut name=debss url=\"http://snapshot.debian.net/package/%s\"]]" "[[!shortcut name=debwiki url=\"http://wiki.debian.org/%s\"]]" "[[!shortcut name=fdobug url=\"https://bugs.freedesktop.org/show_bug.cgi?id=%s\" desc=\"freedesktop.org bug #%s\"]]" "[[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]" "[[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]" "[[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]" "[[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]" "[[!shortcut name=gnomebug url=\"http://bugzilla.gnome.org/show_bug.cgi?id=%s\" desc=\"GNOME bug #%s\"]]" "[[!shortcut name=linuxbug url=\"http://bugzilla.kernel.org/show_bug.cgi?id=%s\" desc=\"Linux bug #%s\"]]" "[[!shortcut name=gmane url=\"http://dir.gmane.org/gmane.%s\" desc=\"gmane.%s\"]]" "[[!shortcut name=gmanemsg url=\"http://mid.gmane.org/%s\"]]" "[[!shortcut name=cpan url=\"http://search.cpan.org/search?mode=dist&query=%s\"]]" "[[!shortcut name=ctan url=\"http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s\"]]" "[[!shortcut name=hoogle url=\"http://haskell.org/hoogle/?q=%s\"]]" "[[!shortcut name=iki url=\"http://ikiwiki.info/%S/\"]]" "[[!shortcut name=ljuser url=\"http://%s.livejournal.com/\"]]" "[[!shortcut name=rfc url=\"http://www.ietf.org/rfc/rfc%s.txt\" desc=\"RFC %s\"]]" "[[!shortcut name=c2 url=\"http://c2.com/cgi/wiki?%s\"]]" "[[!shortcut name=meatballwiki url=\"http://www.usemod.com/cgi-bin/mb.pl?%s\"]]" "[[!shortcut name=emacswiki url=\"http://www.emacswiki.org/cgi-bin/wiki/%s\"]]" "[[!shortcut name=haskellwiki url=\"http://haskell.org/haskellwiki/%s\"]]" "[[!shortcut name=dict url=\"http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s\"]]" "[[!shortcut name=imdb url=\"http://imdb.com/find?q=%s\"]]" "[[!shortcut name=gpg url=\"http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s\"]]" "[[!shortcut name=perldoc url=\"http://perldoc.perl.org/search.html?q=%s\"]]" "[[!shortcut name=whois url=\"http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain\"]]" "[[!shortcut name=cve url=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s\"]]" "[[!shortcut name=cia url=\"http://cia.vc/stats/project/%s\"]]" "[[!shortcut name=ciauser url=\"http://cia.vc/stats/user/%s\"]]" "[[!shortcut name=flickr url=\"http://www.flickr.com/photos/%s\"]]" "[[!shortcut name=man url=\"http://linux.die.net/man/%s\"]]" "[[!shortcut name=ohloh url=\"http://www.ohloh.net/projects/%s\"]]" "[[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]" "[[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]"
* Merge remote-tracking branch 'intrigeri/po'Joey Hess2011-07-19
|\
| * Merge commit '3.20110715' into prv/pointrigeri2011-07-18
| |\
| * | po: add lang_code and lang_name template variables.intrigeri2011-07-18
| | |
* | | mercurial: Implement rcs_diff. (Daniel Andersson)Joey Hess2011-07-19
| | |
* | | mercurial: Make both rcs_getctime and rcs_getmtime fast. (Daniel Andersson)Joey Hess2011-07-19
| | |
* | | apply the big mercurial patchJoey Hess2011-07-19
| |/ |/| | | | | | | | | | | | | * mercurial: openid nicknames are now used when committing. (Daniel Andersson) * mercurial: implement rcs_commit_staged so comments, attachments, etc can be used. (Daniel Andersson) * mercurial: fix viewing of a diff containing non-utf8 changes. (Daniel Andersson)
* | fix two recently introduced bugs in renameJoey Hess2011-07-15
| | | | | | | | | | | | * rename: Fix logic error that broke renaming pages when the attachment plugin was disabled. * rename: Fix logic error that bypassed the usual pagespec checks.
* | only check for held attachments when operating on an attachmentJoey Hess2011-07-15
| |
* | remove debugJoey Hess2011-07-15
| |
* | attachment: Bugfix to create directory when moving attachment out of ↵Joey Hess2011-07-11
|/ | | | holding area.
* attachment: Bugfix to move upload attachments out of holding area when saving.Joey Hess2011-07-11
|
* Bugfix for trying to attach files to a subpage of the index page.Joey Hess2011-07-07
|
* emails in wikilinks are always email addressesJoey Hess2011-06-29
| | | | | | | | If a page that looks like an email address exists, it can't be linked to. But that's unlikely. Better to be consistent; before this change, a wikilink with an email address in it could link to the email address or a page, depending on when the page was created and when the page with the link was updated.
* Bugfix for wikilink containing an email address not showing up in ↵Joey Hess2011-06-29
| | | | brokenlinks list.
* inline: Handle obfuscated urls, such as the mailto urls generated by ↵Joey Hess2011-06-29
| | | | | | | markdown when forcing urls absolute. That took me 5 minutes. If anyone thinks obfuscated email urls stops, or even slows down spammers, think again.
* Merge remote-tracking branch 'smcv/comments-metadata'Joey Hess2011-06-29
|\
| * comments: collect metadata in a scan-phase preprocess hookSimon McVittie2011-06-04
| |
| * IkiWiki::Render: run scan hooks for internal pages, as well as preprocessingSimon McVittie2011-06-04
| |
* | Preserve mixed case in page creation links, and when creating a page whose ↵Joey Hess2011-06-29
| | | | | | | | title is mixed case, allow selecting between the mixed case and all lower-case names.
* | img: Generate png format thumbnails for svg images.Joey Hess2011-06-29
| | | | | | | | | | | | | | | | | | | | | | Imagemagick does not generate svg images very well, but it can convert them to png quite well. For browsers that don't yet support displaying svg, this also provides a workaround; just scale the svg down to get a png. But the workaround is partial, since scaling the image larger, or leaving it the same size will cause the original svg to be displayed. Since browsers are actively improving svg support, this is good enough for me.
* | apply Changaco's patch to make headinganchors more like mediawiki'sJoey Hess2011-06-21
| |
* | add websetup hookJoey Hess2011-06-21
| |
* | move headinganchors out of contribJoey Hess2011-06-21
| |
* | improve detection of ajax requestJoey Hess2011-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firefox sent an accept header for application/xml, not application/json, and also weakened the priority to 0.8. So that stuff is not to be trusted; instead I found a better way: When an ajax upload is *not* being made, the Upload Attachment button will be used, so enable ajax if an upload is being made without that button having been used. Also, testing with firefox revealed it refused to process a response that was type application/json, and checking the demo page for the jquery file upload plugin, it actually returns the json with type text/html. Ugh. Followed suite. Now tested with: chromium, chromium (w/o js), firefox, firefox (w/o js), and w3m.
* | show ikiwiki error when attachment is rejectedJoey Hess2011-06-16
| |
* | let thru HTTP_ACCEPTJoey Hess2011-06-15
| | | | | | | | | | | | | | | | 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.
* | bugfixesJoey Hess2011-06-15
| | | | | | | | Make sure staged attachments sort as earlier, even if they're not really.
* | typoJoey Hess2011-06-15
| |
* | use jquery underlayJoey Hess2011-06-15
| |
* | updated jquery and made it its own underlayJoey Hess2011-06-15
| |
* | load attachment javascript into template the clean wayJoey Hess2011-06-15
| |
* | WIPJoey Hess2011-06-15
| |
* | fix removal of staged attachmentsJoey Hess2011-06-15
| |
* | WIPJoey Hess2011-06-15
| |
* | implement renaming of held attachmentsJoey Hess2011-06-14
| | | | | | | | | | This is somewhat suboptimal, it does not update links to the renamed file, or show a result message.
* | remove trailing slash from attachment_holding_dirJoey Hess2011-06-14
| | | | | | | | | | 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.
* | more generic interfaceJoey Hess2011-06-14
| |
* | bugfixesJoey Hess2011-06-14
| |
* | bugfix for attachments of non-index pagesJoey Hess2011-06-14
| |
* | fix removal of helf attachmentsJoey Hess2011-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | fixed previewing of attachments from holding areaJoey Hess2011-06-14
| |
* | fixed saving attachments on page saveJoey Hess2011-06-14
| | | | | | | | | | Also saved on preview, but previewing is a bit broken, does not see the newly saved attachment yet.
* | attachment list includes new attachments in holding areaJoey Hess2011-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | untaint and linkpage the page name used in attachment holding directoryJoey Hess2011-06-14
| |
* | store filename in holding dir in linkpage formJoey Hess2011-06-14
| | | | | | | | | | Avoids any unpleasantness with .. or other special chars in the attachment filename.