aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
Commit message (Collapse)AuthorAge
* also decode html entities in the titleJoey Hess2008-06-04
|
* decode html entitiesJoey Hess2008-06-04
|
* fix clearing index on page deletionJoey Hess2008-06-04
|
* Pass a destpage parameter to the sanitize hook.Joey Hess2008-06-04
| | | | | | | | Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.)
* move indexing to sanitize hookJoey Hess2008-06-04
| | | | | | | I think this will give better results overall. I made %IkiWiki::preprocessing accessible and used it to avoid indexing at unnecessary points.
* more search improvementsJoey Hess2008-06-04
|
* more substr fixesJoey Hess2008-06-04
|
* add a colon to disambiguateJoey Hess2008-06-03
| | | | | The omega docs suggest doing this if the term may contain upper case, which it could here.
* avoid warningJoey Hess2008-06-03
| | | | "substr outside of string"
* use "U" termJoey Hess2008-06-03
| | | | this seems to be the thing to use for a unique id
* don't loop foreverJoey Hess2008-06-03
|
* fixed most of the xapian todosJoey Hess2008-06-03
|
* prettify page names, and drop the redunadant url displayJoey Hess2008-06-03
|
* fix toindexJoey Hess2008-06-03
|
* first pass at doing xapian indexingJoey Hess2008-06-03
| | | | Still some TODOs to fill in.
* search: Converted to use xapian-omega.Joey Hess2008-06-03
| | | | | Everything is done except for the actual indexing. I plan to do incremental indexing as pages change.
* inline: The optimisation in 2.41 broke nested inlines. Detect those and ↵Joey Hess2008-05-31
| | | | avoid overoptimising.
* haiku: Generate valid xhtml.Joey Hess2008-05-30
|
* hashed password support, and empty password security fixJoey Hess2008-05-30
| | | | | | | This implements the previously documented hashed password support. While implementing that, I noticed a security hole, which this commit also fixes..
* teximg: If the log isn't written, avoid ugly error messages.Joey Hess2008-05-29
|
* teximg: Fix logurl.Joey Hess2008-05-29
|
* When calling decode_utf8 on known-problimatic content in aggregate, ↵Joey Hess2008-05-28
| | | | explicitly pass 0 (FB_DEFAULT) as the second parameter. Apparently perl 5.8 needs this to avoid crashing on malformed utf-8, despite its docs saying it is the default.
* Avoid ``uninitialized value'' warning when there actually is no difference ↵Thomas Schwinge2008-05-25
| | | | between the two versions.
* inline: Display a message if the 'pages' parameter is missing, before it ↵Joey Hess2008-05-15
| | | | just expanded to nothing.
* orphans: As a special case, the toplevel index page is never considered an ↵Joey Hess2008-05-15
| | | | orphaned page.
* mdwn: Add a multimarkdown setup file option.Joey Hess2008-05-13
|
* Fixes for behavior changes in perl 5.10's CGIJoey Hess2008-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | Something has changed in CGI.pm in perl 5.10. It used to not care if STDIN was opened using :utf8, but now it'll mis-encode utf-8 values when used that way by ikiwiki. Now I have to binmode(STDIN) before instantiating the CGI object. In 57bba4dac132a06729eeec809f5e1a5adf829806, I changed from decoding CGI::Formbuilder fields to utf-8, to decoding cgi parameters before setting up the form object. As of perl 5.10, that approach no longer has any effect (reason unknown). To get correctly encoded values in FormBuilder forms, they must once again be decoded after the form is set up. As noted in 57bba4da, this can cause one set of problems for formbuilder_setup hooks if decode_form_utf8 is called before the hooks, and a different set if it's called after. To avoid both sets of problems, call it both before and after. (Only remaining problem is the sheer ugliness and inefficiency of that..) I think that these changes will also work with older perl versions, but I haven't checked. Also, in the case of the poll plugin, the cgi parameter needs to be explcitly decoded before it is used to handle utf-8 values. (This may have always been broken, not sure if it's related to perl 5.10 or not.)
* paste-oJoey Hess2008-05-08
|
* add --delete-bucket optionJoey Hess2008-05-08
|
* amazon s3 index file improvementsJoey Hess2008-05-08
| | | | | | | | | | | Turns out duplicate index files do not need to be stored when usedirs is in use, just when it's not. Ikiwiki is quite consistent about using page/ when usedirs is in use. (The only exception is the search plugin, which needs fixing.) This also includes significant code cleanup, removal of a incorrect special case for empty files, and addition of a workaround for a bug in the amazon perl module.
* simplify key determination codeJoey Hess2008-05-08
|
* remove debuggingJoey Hess2008-05-07
|
* implemented pruning, s3 support now complete-ishJoey Hess2008-05-07
|
* forgot to add..Joey Hess2008-05-07
|
* Optimised file statting code when scanning for modified pages; cut the ↵Joey Hess2008-05-07
| | | | number of system calls in half. (Still room for improvement.)
* pinger/pingee now tested and workingJoey Hess2008-05-06
|
* POSIX::setsid is not exported per defaultJoey Hess2008-05-06
|
* aggregate: Add support for web-based triggering of aggregation for people ↵Joey Hess2008-05-05
| | | | stuck on shared hosting without cron. (Sheesh.) Enabled via the `aggregate_webtrigger` configuration optiom.
* Fix ugly display when editing a page that has vanished.Joey Hess2008-05-02
| | | | | srcfile now has an optional second parameter to avoid it throwing an error if the source file does not exist.
* avoid uninitialised valueJoey Hess2008-05-02
|
* anonk: Add anonok_pagespec configuration setting that can be used to allow ↵Joey Hess2008-05-01
| | | | anonymous users to edit only matching pages. Closes: #478892
* img: Support a title attribute, will be passed through to html. Closes: #478718Joey Hess2008-04-30
|
* toc: Add the table of contents at sanitize time, rather than at format time. ↵Joey Hess2008-04-26
| | | | This allows the toc to be displayed when previewing an edit. It also avoids headers in the page template from showing up in the toc.
* need to handle urls to images the sameJoey Hess2008-04-03
| | | | Also, simplified finding the url to the top of the site.
* Bug#473987: [PATCH] Links relative to baseurl mangled in atom/rss feedsManoj Srivastava2008-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | tag 473987 +patch thanks Hi, The issue is that we need to convert relative links to absolute ones for atom and rss feeds -- but there are two types of relative links. The first kind, relative to the current document ( href="some/path") is handled correctly. The second kind of relative url is is relative to the http server base (href="/semi-abs/path"), and that broke. It broke because we just prepended the url of the current document to the href (http://host/path/to/this-doc/ + link), which gave us, in the first place: http://host/path/to/this-doc/some/path [correct], and http://host/path/to/this-doc//semi-abs/path [wrong] The fix is to calculate the base for the http server (the base of the wiki does not help, since the base of the wiki can be different from the base of the http server -- I have, for example, "url => http://host.name.mine/blog/manoj/"), and prepend that to the relative references that start with a /. This has been tested. Signed-off-by: Manoj Srivastava <srivasta@debian.org>
* aggregate: Correct a mistake in the code that dummy up a guid for feeds ↵Joey Hess2008-04-03
| | | | lacking one.
* revert destpage part of f7bdc2385Joey Hess2008-03-23
| | | | | | | | destpage does not normally need to be worried about when creating other files as part of the process of rendering a page. Using destpage results in inlined pages creating two copies of such files. It works to not use destpage in this case because the inlining page depends on the source page, so if the source page is modified or deleted the inlining page will be updated.
* inline: Allow the "feedshow" parameter to take values greater than the value ↵Joey Hess2008-03-23
| | | | for "show".
* typosJoey Hess2008-03-21
|
* Allow external plugins to return no valuemartin f. krafft2008-03-21
| | | | | | | | | | | | | Instead of using the XML-RPC v2 extension <nil/>, which Perl's XML::RPC::Parser does not (yet) support (Joey's patch is pending), we agreed on a sentinel: {'null':''}, that is, a hash with a single key "null" pointing to the empty string. The Python proxy automatically converts None appropriately and raises an exception if a hook function should, by weird coincidence, attempt to return {'null':''}. Signed-off-by: martin f. krafft <madduck@madduck.net>