aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Expand)AuthorAge
* verify page name is sane•••paranoia; I was thinking about XSS attacks specificaly Joey Hess2009-08-08
* fix misleading commentJoey Hess2009-08-08
* Merge commit 'smcv/ready/getsource'•••Conflicts: debian/changelog Joey Hess2009-08-08
|\
| * getsource: remove temporary variableSimon McVittie2009-07-27
| * getsource: remove unnecessary IkiWiki:: prefixes•••Many variables and functions are exported. Simon McVittie2009-07-26
| * getsource: don't allow getting the source of an attachment•••Serving up images etc. as text/plain; charset=utf-8 is unlikely to work very well, and there's no point in having this CGI action for attachments (since they're copied into the output as-is anyway). Simon McVittie2009-07-26
| * getsource: turn missing pages into a 404•••Also restructure so we return early on missing pages. Simon McVittie2009-07-26
| * getsource: default to saying page source is in UTF-8, and make the example ma...•••IkiWiki mostly assumes that pages are in UTF-8; anyone this doesn't work for can override it in the setup file. Simon McVittie2009-07-26
| * getsource: run as plain CGI, rather than sessioncgi•••As I suggested when reviewing Will's code, calling loadindex() should be sufficient. Simon McVittie2009-07-26
| * Add getsource pluginWill Uther2009-07-26
* | Merge commit 'remotes/smcv/ready/inline-pagenames' into stagingJoey Hess2009-07-31
|\ \
| * | inline: add pagenames parameter•••If given instead of pages, this is interpreted as a space-separated list of links to pages (with the same LinkingRules as in a WikiLink), and they are inlined in exactly the order given. The sort and pages parameters cannot be used in conjunction with this one. Simon McVittie2009-06-16
* | | Merge commit 'remotes/smcv/ready/harishcm-map-fix' into stagingJoey Hess2009-07-31
|\ \ \
| * | | Fix failure to close <ul> in maps with no items•••Signed-off-by: Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> harishcm2009-07-25
| | |/ | |/|
* | | Merge commit 'remotes/smcv/ready/among'Joey Hess2009-07-31
|\ \ \
| * | | pagestats: add `among` parameter, which only counts links from specified pagesSimon McVittie2009-07-17
| * | | IkiWiki::Render: split out backlink_pages() function from backlinks()•••This separates style from content - backlinks() performs lossy transformations on the page names to get it in the form that the page template wants. Simon McVittie2009-07-17
| * | | pagestats: when making a tag cloud, don't emit links where the tag is unusedSimon McVittie2009-07-17
* | | | img: Fix adding of dependency from page to the image.•••This was impressively broken. add_depends was being called with params backwards, and on parameter was set to the name of the generated file, which isn't in the source. Now updates to images will update the page that contains them, thus updating them. This is unncessary for fullsize images, so skipped. Joey Hess2009-07-27
| |/ / |/| |
* | | revert revertJoey Hess2009-07-23
* | | improve string to be less confusingJoey Hess2009-07-23
* | | reverted a few of the string changes•••Improved one string. Joey Hess2009-07-23
* | | Merge branch 'master' of git://git.ikiwiki.infoJonas Smedegaard2009-07-23
|\ \ \
| * | | add --previous at bubulle's suggestionJoey Hess2009-07-22
* | | | Change rendering→building in translatable strings, to ease translations.Jonas Smedegaard2009-07-23
* | | | Rephrase suggestion to not get confused as info on action already done.Jonas Smedegaard2009-07-23
* | | | Rephrase 'linked to by' confusing for translators.Jonas Smedegaard2009-07-23
* | | | Improve translatable texts to ease translation (e.g. to→into and from→ins...Jonas Smedegaard2009-07-23
* | | | Fix typo attepting→attemptingJonas Smedegaard2009-07-23
|/ / /
* | | relocate po directory up a levelJoey Hess2009-07-21
* | | turn off pot file underlay againJoey Hess2009-07-21
* | | improve invalid gettext message•••(and gettext it as translators will see this!) Joey Hess2009-07-21
* | | updateJoey Hess2009-07-21
* | | updateJoey Hess2009-07-21
* | | po: Add support for mo files in underlays•••In order to support translated basewiki and other underlays, we need support for mo files in underlays. The code did not allow this before, because if a mo file was in an underlay, then it might try to update it, and its pot, and write to the underlay, which is guaranteed to either fail due to permissions, or be undesirable. To fix, my approach is to just detect if a mo or pot file that is about to be updated is in an underlay, and skip updating it. This seems to work well: - If the mo is out of date in the underlay, it won't get updated, but this would probably be due to a problem in the underlay, or more likely, the wiki is being rebuilt and so it *thinks* the mo is out of date, but it's really not (and it would be a waste of time to rebuild it anyway). - If a page from the basewiki is edited, it is saved to the srcdir, which causes generation of an updated mo and pot also in the srcdir; the underlay stops being used for that page, and everything seems to work. Note that I am not including an underlay search directory for pot files. They *seem* to be unnecessary for the underlay, since the mo files in there never need to be updated. Joey Hess2009-07-21
* | | fix exampleJoey Hess2009-07-21
* | | po: Support running with a non-english master lang; add translated underlays•••It seem to make sense to remove the check for there being slave languages as part of this, since one might want a wiki that is only in non-English. Joey Hess2009-07-20
* | | remove prototype from renamehook•••Recursive calls make perl whine about protypes, and it wasn't adding any value. Joey Hess2009-07-20
* | | create translated underlays in mdwn format•••These are for use by wikis where the primary language is not English. On such a wiki, it makes sense to use an underlay has the source for pages in the native language. Joey Hess2009-07-20
* | | split two helper functions of of render()Joey Hess2009-07-20
* | | s//bad//invalid// # jonas=Joey Hess2009-07-19
* | | avoid Po4a::Common exporting anything•••It exports gettext and stuff by default, which conflicts with IkiWiki exports. Joey Hess2009-07-19
* | | shut up msgmergeJoey Hess2009-07-19
* | | bugfix: Avoid generating po files for files that are not httmlizableJoey Hess2009-07-19
* | | improve error messageJoey Hess2009-07-19
* | | Merge branch 'master' into po•••Conflicts: debian/changelog Joey Hess2009-07-19
|\| |
| * | Merge commit 'e12b7f5e54730325c751a889ed2e08580b5ef6ba'Joey Hess2009-07-11
| |\ \
| | * | Move OpenID pretty-printing from openid plugin to core•••On various sites I have two IkiWiki instances running from the same repository: one accessible via http and only accepting openid logins, and one accessible via authenticated https and only accepting httpauth. The https version should still pretty-print OpenIDs seen in git history, even though it does not itself accept OpenID logins. Simon McVittie2009-07-10
| * | | img: Pass the align parameter through to the generated img tag.Joey Hess2009-07-11
| |/ /
| * | svn: Fix rcs_rename to properly scope call to dirname.Joey Hess2009-07-08