aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
...
| * | | Put newly aggregated pages in the transient underlaySimon McVittie2011-01-07
| |/ /
* | | Merge remote branch 'smcv/transient-relative-api'Joey Hess2011-02-09
|\ \ \
| * | | Add add_literal_underlay and use it for the transient underlaySimon McVittie2011-01-07
| |/ / | | | | | | | | | This means we don't need to import Cwd and use abs_path.
* | | Merge remote branch 'smcv/ready/transient'Joey Hess2011-02-09
|\| |
| * | Assume obsolete transient pages have the same extension as the changed pageSimon McVittie2011-01-07
| | |
| * | GC unused pages in the transient underlaySimon McVittie2011-01-07
| | |
| * | Add transient plugin, which adds ~/.ikiwiki/transient as an underlaySimon McVittie2011-01-07
| | | | | | | | | | | | | | | This can contain auto-generated things, like tag pages; if edited they'll automatically migrate into source code control.
* | | htmltidy: Avoid breaking the sidebar when websetup is running.Joey Hess2011-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem was this: websetup loads all plugins, but does not checkconfig them. So, htmltidy's recently added configurable command setting was unset; this resulted in its sanitize hook failing; the sanitize hook is called when a sidebar was enabled, and this caused the sidebar to not display. I put in a fix, but the underlying problem is that websetup loads all plugins but leaves them in an unconfigured and possibly broken state while trying to display its forms. Probably the long-term fix is to have it cache the original hook states from before loading the plugins, and restore it after getting their configuration. Or, even to get the configuration using a subprocess, as plugins may do things outside the hook system.
* | | editpage: Avoid inheriting internal page types.Joey Hess2011-02-01
| | |
* | | run po checkconfig last so it can see underlays added in other checkconfig hooksJoey Hess2011-01-25
| | |
* | | inline: Fix regression in feed titles. Closes: #610878 (Thanks, Paul Wise)Joey Hess2011-01-24
| | |
* | | blogspam: Don't check modifications from admins for spam, and also allow the ↵Joey Hess2011-01-24
| | | | | | | | | | | | blogspam_pagespec to do other matches against who the user is.
* | | bleaghJoey Hess2011-01-24
| | |
* | | fix uninitilized value warning on bad page nameJoey Hess2011-01-23
| | | | | | | | | | | | properly this time
* | | Revert "fix uninitilized value warning on bad page name"Joey Hess2011-01-23
| |/ |/| | | | | | | | | This reverts commit 5d3998555ffbeb1c20b84dd4cdc46c825c07bec8. That broke posting via blog form.
* | rename: Fix crash when renaming a page that is linked to by a page in an ↵Joey Hess2011-01-22
| | | | | | | | | | | | | | underlay. Skip fixing links in such pages. The user will get a list of pages that still link to the old page.
* | comments: Fix XSS security hole due to missing validation of page name.Joey Hess2011-01-22
| | | | | | | | | | Values have to be checked against wiki_file_regexp, not just file_pruned. Audited the rest of the code base for similar problems, found none.
* | fix uninitilized value warning on bad page nameJoey Hess2011-01-22
| |
* | reword feed descsJoey Hess2011-01-06
| |
* | inline: pass the Atom/RSS titles to the templatesGiuseppe Bilotta2011-01-06
|/ | | | | | The default templates are also updated to make use of this information. The rel="alternate" attribute is also inserted, for completeness. (cherry picked from commit 618ade535e6a7967a510d9e210edaef3d37cc9bc)
* fix urlto(undef)Joey Hess2011-01-05
|
* use cgitemplate, remove misctemplateJoey Hess2011-01-05
|
* add cgitemplateJoey Hess2011-01-05
| | | | | | | | | | | | cgitemplate is a modified misctemplate that takes an optional cgi object and uses it to set the baseurl, and also optionally the forcebaseurl, if a page is provided. If no cgi object is provided, it will fall back to using $config{url}. I expect this will only be needed in exceptional cases where that doesn't much matter, such as cgierror(). showform uses cgitemplate, so there is no more need for showform_preview.
* better handling of relative permalinksJoey Hess2011-01-05
| | | | | | This way, do=goto will go to the page relative to the current location, while the permalinks in feeds will be absolute (unless an url is not configured at all).
* factored out an urlabs from aggregate and cgiJoey Hess2011-01-05
|
* oopsJoey Hess2011-01-05
|
* Export three cgi env vars needed for CGI->url to work.Joey Hess2011-01-05
|
* Fix permalinks to recentchanges items and comments, broken by last release.Joey Hess2011-01-05
| | | | permalinks always need to be full urls
* typoJoey Hess2011-01-05
|
* remove old unused baseurl parameterJoey Hess2011-01-05
| | | | | This was I think a relic from when BASEURL was used in more templates than use it now.
* Fix redirect to use a full url.Joey Hess2011-01-05
| | | | Was broken (in theory) by baseurl changes in last release.
* Fix base url when previewing. Was broken by urlto changes in last release.Joey Hess2011-01-05
| | | | | Added a showform_preview that is like showform, but sets forcebaseurl to point to the page being previewed.
* unescape tag namesGiuseppe Bilotta2011-01-05
| | | | | | | Since tag names are now retrieved from the file names, we must revert the escaping process that santizes the file names. Solve by adding a `pagetitle()` call at the end of the tagname() (cherry picked from commit 0ee0612b1ab11d76eb3790c8db7a2ba992c54f6b)
* fix patch to not strip a leading "." unless it's part of a pathJoey Hess2011-01-04
| | | | For correctness only, since a tag named ".foo" is very unlikely.
* fix patch to not expose config setting as a regexpJoey Hess2011-01-04
|
* tag name sanitationGiuseppe Bilotta2011-01-04
| | | | | | | | | | | | | | | | | | | | | | | The use of typed links for tags and some of the consequent changes introduced some unwanted functionality variations in the tag system. Two problems in particular could be observed, when compared to the use of tags in older versions of IkiWiki: * tags in feeds (both rss and atom) would use the file path as their name (e.g. you would have <category term="tags/sometag" /> in an atom item for a page tagged sometag with a tagbase of tags), whereas they appeared pure before * tags containing a slash character would appear without the slash character but be used with the slash character in other circumstances (effect visible by tagging a page with a name such as "with/slash") Both of these issues are fixed by introducing a tagname() function that takes a tag link and effectively reverses (as well as possible) the effects of taglink(). A possible alternative route would have been the reintroduction of the global %tags hash, but the new approach as the (arguable) benefit of introducing a small layer of sanitation for tag names.
* remove second parameter to include_javascriptJoey Hess2011-01-02
| | | | | function used to take a second parameter to control absoluteness, no longer does
* git: Fix bug involving attempting to web revert a commit that included ↵Joey Hess2010-12-29
| | | | changes to attachments.
* bugfixJoey Hess2010-12-29
|
* Add a second parameter to the rcs_diff hook, and avoid bloating memory ↵Joey Hess2010-12-29
| | | | reading in enormous commits.
* Update highlight plugin for highlight api.David Bremner2010-12-29
| | | | | | | | | | | Note that in particular calling initTheme with and empty file does not work anymore. use of initLanguage was replaced by loadLanguage, which seems to work in both places. I tried to make it a bit more robust against missing a highlight package. There are lots of warnings, but it no longer crashes.
* monotone.pm: while we're still only checking the major and minorThomas Keller2010-12-28
| | | | | part of the version number of the monotone binary, we do not want to give false alarm on patch or development versions
* teximg: Use `\[` and `\]` instead of not recommended `$$`.Paul Menzel2010-12-26
| | | | | | | | | It is not recommended to use the double dollar symbol `$$` to set displayed math [1][2]. [1] http://en.wikibooks.org/wiki/LaTeX/Mathematics [2] http://www.math.uiuc.edu/~hildebr/tex/displays.html Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
* use CGI->url to get current absolute cgi url for openid login processJoey Hess2010-12-25
|
* revert cgiurl change that broke openid loginJoey Hess2010-12-25
|
* editpage, comment: Clean up title when editing or creating a page or comment.Joey Hess2010-12-25
| | | | | | Now that page.tmpl is used for cgi, the parentlinks are able to be displayed even when creating or editing a page. So it's redundant to include the path to the page in the title, remove it.
* inline: Force an absolute page location when the inline postform is used.Joey Hess2010-12-25
| | | | | | There seems no need to allow selecting a location when creating a page this way; the user should always want it to appear in the inline whose form they submitted.
* indentJoey Hess2010-12-25
|
* fix commentJoey Hess2010-12-25
|
* po: do not override homepage title when it was overridden.intrigeri2010-12-22
|