Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-02-11 | * Add the linkify and scan hooks. These hooks can be used to implement | Joey Hess | |
custom, first-class types of wikilinks. * Move standard wikilink implementation to a new wikilink plugin, which will of course be enabled by default. | |||
2008-02-11 | * Generate XML RPC messages with the encoding set to utf-8 instead | Joey Hess | |
of XML::RPC's default of us-ascii. Allows interoperation with python's xmlrpc library, which threw invalid encoding exceptions and caused the rst plugin to hang. | |||
2008-02-10 | use quotemeta when building the regexp | Joey Hess | |
2008-02-10 | Allow the smb: URI scheme. | Josh Triplett | |
2008-02-10 | Allow the snews: URI scheme. | Josh Triplett | |
2008-02-10 | Do not allow the steam: URI scheme. | Josh Triplett | |
2008-02-10 | Match literal '.' in URI schemas containing '.', rather than matching any ↵ | Josh Triplett | |
character | |||
2008-02-10 | * meta: Check that the urls provided for authorurl, permalink, and openid | Joey Hess | |
are safe and can't contain javascript. | |||
2008-02-10 | export $safe_url_regexp | Joey Hess | |
2008-02-10 | Also filter the attributes cite, longdesc, and usemap, which can contain URIs | Josh Triplett | |
2008-02-10 | add parens around scheme regexp | Joey Hess | |
2008-02-10 | Do not allow the about: URI scheme | Josh Triplett | |
Some browsers interpret about: URIs like a limited version of data: URIs. In particular, some versions of Internet Explorer interpret arbitrary HTML content in about: URIs. | |||
2008-02-10 | fix data:image handling | Joey Hess | |
2008-02-10 | * htmlscrubber security fix: Block javascript in uris. | Joey Hess | |
* Add htmlscrubber test suite. | |||
2008-02-05 | add support for prefix_directives | Joey Hess | |
2008-02-04 | proper fix for the preview/will_render issue | Joey Hess | |
2008-02-04 | preview shouldn't show the feed buttons or post form | Joey Hess | |
2008-02-04 | * inline: Add new `allowrss` and `allowatom` config options. These can be | Joey Hess | |
used if you want a wiki that doesn't default to generating rss or atom feeds, but that does allow them to be turned on for specific blogs. | |||
2008-02-04 | the old code worked, suprisingly, but I prefer this form | Joey Hess | |
2008-02-04 | * inline: When previewing, still call will_render on rss/atom files, | Joey Hess | |
just avoid actually writing the files. This is necessary because ikiwiki saves state after a preview (in case it actually *did* write files), and if will_render isn't called its security checks will get upset when the page is saved. Thanks to Edward Betts for his help tracking this tricky bug down. | |||
2008-02-03 | implement aggregate_locking design | Joey Hess | |
Now aggregation will not lock the wiki. Any changes made during aggregaton are merged in with the changed state accumulated while aggregating. A separate lock file prevents multiple concurrent aggregators. Garbage collection of orphaned guids is much improved. loadstate() is only called once per process, so tricky support for reloading wiki state is not needed. (Tested fairly thuroughly.) | |||
2008-02-03 | add aggregate locking functions | Joey Hess | |
2008-02-03 | * recentchanges: Exipre all *._change pages, even if the directory | Joey Hess | |
they're in has changed. | |||
2008-02-03 | * recentchanges: Improve handling of links on the very static changes pages | Joey Hess | |
by thunking to the CGI, which can redirect to the page, or allow it to be created if it doesn't exist. | |||
2008-02-03 | prototype fix | Joey Hess | |
2008-02-03 | * aggregate: Revert use of forking to not save state, that was not the right | Joey Hess | |
approach. | |||
2008-02-03 | * poll: This plugin turns out to have edited pages w/o doing any locking. | Joey Hess | |
Oops. Convert it from a cgi to a sessioncgi hook, which will work much better. | |||
2008-02-02 | * aggregate: Forking a child broke the one state that mattered: Forcing | Joey Hess | |
the aggregating page to be rebuilt. Fix this. | |||
2008-01-30 | move openiduser function to the openid plugin | Joey Hess | |
2008-01-30 | move recentchanges link enabling into a pagetemplate hook | Joey Hess | |
2008-01-29 | really fix the baseurl problem | Joey Hess | |
the issue is that HTML::Template doesn't expand top-level variables when inside a loop | |||
2008-01-29 | merged the recentchanges branch | Joey Hess | |
misc fixes | |||
2008-01-29 | add missing test to avoid uninitialised value when a page with metadata is ↵ | Joey Hess | |
removed | |||
2008-01-29 | * meta: Add pagespec functions to match against title, author, authorurl, | Joey Hess | |
license, and copyright. This can be used to create custom RecentChanges. * meta: To support the pagespec functions, metadata about pages has to be retained as pagestate. * Fix encoding bug when pagestate values contained spaces. | |||
2008-01-29 | make the author metadata for changes pages be the un-munged openid | Joey Hess | |
2008-01-29 | added configuration for recentchanges | Joey Hess | |
I kept it to a simple global configuration, rather than using the preprocessor directive for recentchanges, because that had chicken and egg problems and seemed overcomplicated. This should work reasonably well, though it would be good to add some more metadata so that more customised recentchanges pages can be made. | |||
2008-01-29 | add code to delete old change pages | Joey Hess | |
2008-01-29 | use new refresh hook | Joey Hess | |
2008-01-29 | updates | Joey Hess | |
2008-01-29 | escape wikilinks and preprocessor directives | Joey Hess | |
2008-01-29 | typo | Joey Hess | |
2008-01-29 | more style improvements | Joey Hess | |
2008-01-29 | non-tabular recentchanges display | Joey Hess | |
Doesn't look as good as the old table, but works as a rss feed. | |||
2008-01-29 | some parameteraisation and generalisation | Joey Hess | |
2008-01-28 | proof of concept implementation of static recentchanges | Joey Hess | |
Currently hardcoded to write to recentchanges/*, and the page format needs to be rethought to be usable for aggregation, but it basically works. | |||
2008-01-28 | * prettydate,ddate: Don't ignore time formats passed to displaytime | Joey Hess | |
function. | |||
2008-01-28 | * inline: The template can check for FIRST and LAST, which will be | Joey Hess | |
set for the first and last inlined page. Useful for templates that build tables and the like. | |||
2008-01-26 | aggregate.pm: Replace Unicode apostrophe with ASCII to unbreak build | Josh Triplett | |
gettext choked on a Unicode apostrophe in the aggregate plugin, which appeared in a new error message in commit 4f872b563300e4a277cac3d7ea2a999bcf75d1ff. Replace it with an ASCII apostrophe. | |||
2008-01-24 | * aggregate: Fork a child process to handle the aggregation. This simplifies | Joey Hess | |
the code, since that process can change internal state as needed, and it will automatically be cleaned up for the parent process, which proceeds to render the changes. | |||
2008-01-16 | * aggregate: Don't let feeds set creation times for pages in the future. | Joey Hess | |