aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
Commit message (Collapse)AuthorAge
* Move cvs_keyword_subst_args() down with the other internal support routines.Amitai Schlair2012-01-26
|
* Uncomment the CVS keyword substitution mode tests, and make them pass:Amitai Schlair2012-01-26
| | | | | Extract cvs_keyword_subst_args() and ensure it runs in $config{srcdir}. Using Perl's -T operator appears to work equally well, perhaps switch?
* Mollify strictures about barewords.Amitai Schlair2012-01-26
|
* Merge branch 'master' of git://git.ikiwiki.info into cvsAmitai Schlair2012-01-25
|\
| * recentchangesdiff: truncate extremely large diffsJoey Hess2012-01-23
| | | | | | | | | | | | | | | | A diff was already truncated after 200 lines. But it could still be arbitrarily enormous, if a spammer or other random noise source likes long lines. That could use a lot of memory to html encode etc the diff and fill it into the template. Truncating after 100kb seems sufficient; it allows for 200 lines of up to 512 characters each.
| * fix the nodiscount settingJoey Hess2012-01-23
| |
* | No functional change: sort sub definitions.Amitai Schlair2012-01-22
|/ | | | | | | | | | | | | In the code: * general plugin API calls (in plugins/write order), * VCS plugin API calls (in plugins/write order), then * internal support routines (in alphabetical order). In the tests: * general meta-behavior (in no particular order, yet), * general plugin API calls (in plugins/write order), * VCS plugin API calls (in plugins/write order), then * internal support routines (in semi-logical order).
* mdwn: Added nodiscount setting, which can be used to avoid using the ↵Joey Hess2012-01-16
| | | | markdown discount engine, when maximum compatability is needed.
* attachment: Fix utf-8 display bug.Joey Hess2012-01-15
|
* Workaround discount's eliding of <style> blocks.Joey Hess2012-01-15
|
* workaround a bug in the discount perl bindingJoey Hess2012-01-01
| | | | | Empty input, or input consisting soley of whitespace caused an uninitialized value warning.
* discount supportJoey Hess2012-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mdwn: Can use the discount markdown library, via the Text::Markdown::Discount perl module. This is preferred if available since it's the fastest currently supported markdown library, speeding up markdown rendering by a factor of 40. That is to say, when only rendering a lot of markdown, discount is 40x faster. When building a ikiwiki site, ikiwiki's other overhead gets in the way, but I still see significant speedups. Building the ikiwiki docwiki dropped from 62 to 45 seconds, for example. However, when multimarkdown is enabled, Text::Markdown::Multimarkdown is still used. While discount contains some nonstandard markdown extensions, including tables and footnotes, AFAICS most of them are not enabled by default in the perl bindings. I consider sticking to non-extended markdown a desirable thing, since this is probably not the last markdown engine. In particular, sundown is waiting in the wings to get packaged and get a perl binding. ---- Reviewing all the showdown extensions, here are the ones that are enabled: centered paragraphs: ->centered<- image sizes: [dust mite](http://dust.mite =150x150) <style>..</style> blocks are eaten. The perl binding does not provide access to the gathered CSS. This is not legal html anyway, so unlikely to cause breakage.
* remove x bit from comments.pmJoey Hess2011-12-27
| | | | how did that get set?
* tag plugin: encode categories using numeric valuesGiuseppe Bilotta2011-12-24
| | | | This ensures that RSS/Atom feeds produced are valid XML.
* Add path and path_natural sort ordersSimon McVittie2011-12-06
| | | | (cherry picked from commit 272e0b2f17c33c625b494b07f581da400066a216)
* apply Postel's lawJoey Hess2011-11-30
|
* graphviz: Support wikilinks embedded in the graph.Joey Hess2011-11-30
| | | | (Sponsored by The TOVA Company.)
* store imagemap in %pagestate, rather than a fileJoey Hess2011-11-30
| | | | | | | | | | | | Using a file was sorta not right. Note that when previewing, %pagestate is not saved, so it has to rebuild the graph every time until that graph is saved; then previews can use the cached data until the next time the graph is changed. Also note that it's stored in the destpage's pagestate. The imagemap could vary between a page and an inlined page if wikilinks were supported.
* graphviz: Support urls embedded in the graph, by having graphviz generate an ↵Joey Hess2011-11-30
| | | | | | | | imagemap. Also, I let preview mode write real files, rather than using data: uri. Which is ok these days, since ikiwiki tracks files created during previewing, and cleans them up later.
* editpage: Fix FormattingHelp link on Discussion pages.Joey Hess2011-11-27
| | | | | | | In 875d550f1278215e6c87d3b78ff87db24c6d76b3 I for some reason made $page be changed when creating a discussion page, which broke the link on the edit page. Changing page seems unnecessary, so reverted that part of the change.
* cannot reproduceJoey Hess2011-11-23
|
* cleanup now unused settingJoey Hess2011-11-17
|
* Always use true image sizePer Carlson2011-11-17
|
* Fix handling of discussion page creation links to make discussion pages in ↵Joey Hess2011-11-06
| | | | | | the right place and with the right case. Broken by page case preservation feature added in 3.20110707.
* svn: Support subversion 1.7, which does not have .svn in each subdirectory.Joey Hess2011-10-12
| | | | | | | | | | | | | | | | | | | | | | Involved dropping some checks for .svn which didn't add anything, since if svn is enabled and you point it at a non-svn checkout, you get both pieces. The tricky part is add and rename, in both cases the new file can be in some subdirectory that is not added to svn. For add, turns out svn has a --parents that will deal with this by adding the intermediate directories to svn as well. For rename though, --parents fails if the directories exist but are not yet in svn -- which is exactly the case, since ikiwiki makes them by calling prep_writefile. So instead, svn add the parent directory, recursively. tldr; svn made a reasonable change in dropping the .svn directories from everywhere, but the semantics of other svn commands, particularly their pickiness about whether parent directories are in svn or not, means that without the easy crutch of checking for those .svn directories, code has to tiptoe around svn to avoid pissing it off.
* Fix web revert of a file deletion.Joey Hess2011-09-05
| | | | When reverting, an add is a remove, and a remove is an add.
* Avoid warning message when generating setup file if highlight is not ↵Joey Hess2011-09-05
| | | | | | | | installed. Closes: #637606 There's a nice message if the plugin is loaded and used and highlight is not available, and a nice fallback. So no need for this other warning, which can happen any time all plugins are loaded to generate a setup file.
* inline: When indexing internal pages for searching, use the url of the ↵Joey Hess2011-09-01
| | | | inlining page.
* search: Fix encoding bug in calculation of maximum term size.Joey Hess2011-08-30
|
* Put in a workaround for #622591, by ensuring Search::Xapian gets loaded ↵Joey Hess2011-08-07
| | | | before Image::Magick.
* mercurial: fix date parsing so test suite passesJoey Hess2011-07-30
|
* 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
|
* 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
|\