aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | po/doc: more security research resultsintrigeri2008-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Apart of the fuzzying part, I'm done with what I can do without help. The "Running po4a on untrusted content" section needs at least a quick glance from an experimented Perl programmer. Signed-off-by: intrigeri <intrigeri@boum.org>
* | | po(match_lang, match_currentlang): use the lang() functionintrigeri2008-11-10
| | | | | | | | | | | | | | | | | | ... now that it exists, instead of duplicating it. Signed-off-by: intrigeri <intrigeri@boum.org>
* | | po: rewrote otherlanguagesloop()intrigeri2008-11-10
| | | | | | | | | | | | | | | | | | | | | It is now more elegant IMHO, and the output is now sorted according to the language name (instead of code). Signed-off-by: intrigeri <intrigeri@boum.org>
* | | po: factorize extraction of a slave page's masterpage and langintrigeri2008-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | The very same code was repeated at dozens of places. NB: the real work is now done is _istranslation(), which is memoized, so the additional function calls overhead should be compensated. Signed-off-by: intrigeri <intrigeri@boum.org>
* | | t/po.t: removed debug linesintrigeri2008-11-10
| | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | po(otherlanguagesloop): start factorizingintrigeri2008-11-10
| | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | Merge commit 'upstream/master' into prv/pointrigeri2008-11-10
|\| |
| * | vim syntax file linkedhttp://a1fie.livejournal.com/2008-11-10
| | |
| * | Fix the link() pagespec to match links that are internally recorded as absolute.Joey Hess2008-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a problem exposed by the recent change to tags (a2839de9362187b67b0e3a564461e272e64fd9b4). That recorded tag links as absolute by including a leading slash in the link. The same could also be done with an absolute wikilink. In either case, link() would not match such links, unless the leading slash was included in the link to match. But that's not right, because pagespecs match absolute by default. So strip the leading slash. Note that to keep any existing `link(/foo)` pagespecs working after this change, the leading slash is removed from there, too.
| * | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess2008-11-08
| |\ \
| | * | fix link to Jason Blevins user pageAlexandreDupas2008-11-08
| | | |
| | * | question about the format directive and relation with htmlize hooksAlexandreDupas2008-11-08
| | | |
| * | | document wikistatedir, though it's still internalJoey Hess2008-11-07
| | | |
* | | | po: finish abstracting %filtered by putting it into a blackboxintrigeri2008-11-10
| | | | | | | | | | | | | | | | | | | | | | | | i.e. it is invisible for everyone but its accessors/mutators Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po: actually use pofiles() function, to enhance code clarityintrigeri2008-11-10
| | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po: abstract "doing something for the same page in every other language"intrigeri2008-11-10
| | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po: abstract implementation details for %translations building and resettingintrigeri2008-11-10
| | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po: abstract %filtered implementation detailsintrigeri2008-11-10
| | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po: clarify error messagesintrigeri2008-11-10
| | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po: clarify code with some commentsintrigeri2008-11-10
| | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po: prevent a slave page to depend on itselfintrigeri2008-11-10
| | | | | | | | | | | | | | | | | | | | | | | | It has never caused harm yet, but it might in the future. Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po/todo(security): many research resultsintrigeri2008-11-08
| | | | | | | | | | | | | | | | | | | | | | | | ... and some questions to Joey (hint: look for your name) Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | po(refreshpot): define the input charset before read()'ingintrigeri2008-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... to prevent the use of Encode::Guess::guess_encoding() in Locale::Po4a::Transtractor (just a minor security measure, dependent on po4a internals, but we have no reason to think Encode::Guess is not safe). Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | Merge branch 'prv/po' into pub/pointrigeri2008-11-08
|\ \ \ \
| * | | | po/todo++: support other file formats than markdownintrigeri2008-11-08
| | | | | | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | | Merge branch 'prv/po' into pub/pointrigeri2008-11-08
|\| | | |
| * | | | po/todo: mostly security researchintrigeri2008-11-08
| | | | | | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | | Merge branch 'prv/po' into pub/pointrigeri2008-11-08
|\| | | |
| * | | | po: started research on gettext/po4a securityintrigeri2008-11-08
| | | | | | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | | Merge branch 'prv/po' into pub/pointrigeri2008-11-08
|\| | | |
| * | | | fixed linkintrigeri2008-11-08
| | | | | | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | | Merge branch 'prv/po' into pub/pointrigeri2008-11-07
|\| | | |
| * | | | added symlink to pagespec/po in basewiki to fix the buildintrigeri2008-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | else basewiki_brokenlinks.t fails. Signed-off-by: intrigeri <intrigeri@boum.org>
| * | | | Merge commit 'upstream/master' into prv/pointrigeri2008-11-07
| |\ \ \ \ | | | |/ / | | |/| |
* | | | | Merge commit 'upstream/master' into pub/pointrigeri2008-11-07
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * / / (no commit message)http://josephturian.blogspot.com/2008-11-07
| |/ /
| * | oopsJoey Hess2008-11-06
| | |
| * | txt: Do not encode quotes when filtering the txt, as that broke later ↵Joey Hess2008-11-06
| | | | | | | | | | | | parsing of any directives on the page.
| * | responseJoey Hess2008-11-06
| | |
| * | meta: Plugin is now enabled by default since the basewiki uses it.Joey Hess2008-11-06
| | |
| * | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess2008-11-06
| |\ \
| | * | (no commit message)http://josephturian.blogspot.com/2008-11-06
| | | |
| * | | aggregate: Try to query XML::Feed for the base url when derelevatising ↵Joey Hess2008-11-06
| |/ / | | | | | | | | | links. Since this needs the just released XML::Feed 0.3, as well as a not yet released XML::RSS, it will fall back to the old method if no xml:base info is available.
| * | responseJoey Hess2008-11-06
| | |
| * | responseJoey Hess2008-11-06
| | |
| * | po: misc responses to Joeyintrigeri2008-11-06
| | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
| * | (no commit message)http://alcopop.org/me/openid/2008-11-06
| | |
| * | New bug reporthttp://mjr.towers.org.uk/2008-11-06
| | |
| * | po: responseintrigeri2008-11-06
| | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | po: finished backlinks implementationintrigeri2008-11-07
| | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>