aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
* * Fix another preview will_render bug. This one involved inline,Joey Hess2008-02-24
| | | | | | | | which forced a scan of the page to make available metadata that appeared after the inline directive. Problem is that scan made it forget about any other files rendered due to the page. The scan also turns out to be unnecessary now, since meta persistently stores state and it's always available. So it was just removed.
* * tla: Remove call to escapeHTML when constructing recentchanges message;Joey Hess2008-02-20
| | | | | the html is escaped at a different level. Closes: #466495 * bzr, mercurial: Remove unused import of escapeHTML.
* * monotone: Add code to default mergerc file to runJoey Hess2008-02-14
| | | | _MTN/ikiwiki-netsync-hook when a commit is merged in from the net.
* * Preview limits the page dropdown to what's selected previouslyJoey Hess2008-02-14
| | | | | | | | (as preserving the full list across preview would be tricky). Userdirs were still being offered as an option there, remove them. * Fix a bug where user A created a page concurrently with user B, and when B previewed it would redirect B to A's new page, losing B's work. Instead, don't redirect and let conflict handling resolve it.
* * The search plugin needs to override <base> to point to the directoryJoey Hess2008-02-14
| | | | | | containing ikiwiki.cgi, but this should not change the urls to the style sheets etc. Add a new forcebareurl parameter to misctemplate to allow it to do that.
* * camelcase: Convert to use new linkify and scan hooks rather than the oldJoey Hess2008-02-11
| | | | hack.
* * Add the linkify and scan hooks. These hooks can be used to implementJoey Hess2008-02-11
| | | | | | custom, first-class types of wikilinks. * Move standard wikilink implementation to a new wikilink plugin, which will of course be enabled by default.
* * Generate XML RPC messages with the encoding set to utf-8 insteadJoey Hess2008-02-11
| | | | | | 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.
* use quotemeta when building the regexpJoey Hess2008-02-10
|
* Allow the smb: URI scheme.Josh Triplett2008-02-10
|
* Allow the snews: URI scheme.Josh Triplett2008-02-10
|
* Do not allow the steam: URI scheme.Josh Triplett2008-02-10
|
* Match literal '.' in URI schemas containing '.', rather than matching any ↵Josh Triplett2008-02-10
| | | | character
* * meta: Check that the urls provided for authorurl, permalink, and openidJoey Hess2008-02-10
| | | | are safe and can't contain javascript.
* export $safe_url_regexpJoey Hess2008-02-10
|
* Also filter the attributes cite, longdesc, and usemap, which can contain URIsJosh Triplett2008-02-10
|
* add parens around scheme regexpJoey Hess2008-02-10
|
* Do not allow the about: URI schemeJosh Triplett2008-02-10
| | | | | | 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.
* fix data:image handlingJoey Hess2008-02-10
|
* * htmlscrubber security fix: Block javascript in uris.Joey Hess2008-02-10
| | | | * Add htmlscrubber test suite.
* Merge branch 'master' into prefix-directivesJosh Triplett2008-02-09
|\ | | | | | | | | | | | | Conflicts: debian/changelog templates/change.tmpl
| * * Page templates can now use CTIME to show when the page was created.Joey Hess2008-02-09
| |
| * * Don't die if running with --getctime and rcs_getctime throws an error.Joey Hess2008-02-07
| | | | | | | | | | There are several cases (recentchanges files, aggregated files) where some source files are not in revision control.
* | add support for prefix_directivesJoey Hess2008-02-05
|/
* proper fix for the preview/will_render issueJoey Hess2008-02-04
|
* preview shouldn't show the feed buttons or post formJoey Hess2008-02-04
|
* * inline: Add new `allowrss` and `allowatom` config options. These can beJoey Hess2008-02-04
| | | | | 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.
* the old code worked, suprisingly, but I prefer this formJoey Hess2008-02-04
|
* * inline: When previewing, still call will_render on rss/atom files,Joey Hess2008-02-04
| | | | | | | | 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.
* move saveindex call into preview blockJoey Hess2008-02-03
| | | | | This call is only present to handle the case where previewing a page actually causes files to be rendered.
* remove another commit mail mentionJoey Hess2008-02-03
|
* remove spurious EOFJoey Hess2008-02-03
|
* * monotone changes by Brian May:Joey Hess2008-02-03
| | | | | | | - On commits, replace "mtn sync" bidirectional with "mtn push" single direction. No need to pull changes when doing a commit. mtn sync is still called in rcs_update. - Support for viewing differences via patches using viewmtn.
* implement aggregate_locking designJoey Hess2008-02-03
| | | | | | | | | | 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.)
* add aggregate locking functionsJoey Hess2008-02-03
|
* * recentchanges: Exipre all *._change pages, even if the directoryJoey Hess2008-02-03
| | | | they're in has changed.
* * recentchanges: Improve handling of links on the very static changes pagesJoey Hess2008-02-03
| | | | | by thunking to the CGI, which can redirect to the page, or allow it to be created if it doesn't exist.
* prototype fixJoey Hess2008-02-03
|
* * aggregate: Revert use of forking to not save state, that was not the rightJoey Hess2008-02-03
| | | | approach.
* * poll: This plugin turns out to have edited pages w/o doing any locking.Joey Hess2008-02-03
| | | | | Oops. Convert it from a cgi to a sessioncgi hook, which will work much better.
* * cgi hooks are now run before ikiwiki state is loaded.Joey Hess2008-02-03
| | | | | * This allows locking the wiki before loading state, which avoids some tricky locking code when saving a web edit.
* * aggregate: Forking a child broke the one state that mattered: ForcingJoey Hess2008-02-02
| | | | the aggregating page to be rebuilt. Fix this.
* * Revert preservation of input file modification times in output files,Joey Hess2008-02-02
| | | | | | | | since this leads to too many problems with web caching, especially with inlined pages. Properly solving this would involve tracking every page that contributes to a page's content and using the youngest of them all, as well as special cases for things like the version plugin, and it's just too complex to do.
* move openiduser function to the openid pluginJoey Hess2008-01-30
|
* move recentchanges link enabling into a pagetemplate hookJoey Hess2008-01-30
|
* Expand file-id in diffurl in the bzr backend.Jelmer Vernooij2008-01-30
|
* rename bazaar -> bzr after discussion with jelmerJoey Hess2008-01-29
|
* commit only the changed fileJoey Hess2008-01-29
|
* stylistic changesJoey Hess2008-01-29
| | | | Remarkably few. Also, I removed the stub for the obsolete rcs_notify function.
* Merge git://git.samba.org/jelmer/ikiwikiJoey Hess2008-01-29
|\