summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-27po/todo: drop a note about my meta-po branchintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27po/todo: take note of the commit that will need to be reverted laterintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27po: remove all dependencies on nicepagetitleintrigeri
... as my meta branch probably won't be merged before the po plugin is, contrary to what I was originally supposing. This implies removing the po_translation_status_in_links and po_strictly_refresh_backlinks options. Added a note to the TODO section to think of bringing these features back later, as they really enhance user experience on a translatable wiki. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27rename hook: instead of modifying the passed-by-name array, return a copyintrigeri
This is intended to solve Joey's concerns expressed on http://ikiwiki.info/todo/need_global_renamepage_hook/, i.e. the need to make it possible to use this hook from external plugins. A plugin using this hook still can add/modify/remove elements of the @torename array. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26close bug on this branchJoey Hess
2009-01-26hook function names should be the same as the hook nameJoey Hess
2009-01-27po: make the "backlinks involve dependencies" feature optionalintrigeri
It can now be configured with the po_strictly_refresh_backlinks setting. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27revert renamepage's hook original nameintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26po: bring back a useful use of scalarintrigeri
... that was removed in 68869d664b978b063c9181d024edb34a63306c33 Without this scalar, a two-cells array is passed to $template->param, which builds a hash with an odd number of elements. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26plugins/po: talk about the po4a version in the first linesintrigeri
... as it seems it can be missed if I keep it only in the security section. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26suggest a po4a version not subject to DoSintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26only pass named parameters to the canremove hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26only pass named parameters to the canrename hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26po(formbuilder): stop hunting down non-existent casesintrigeri
After some thinking about it, I can't find why the type of a page being created in the CGI could be restricted to po. So the previous case seems enough. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26Merge commit 'upstream/master' into prv/pointrigeri
2009-01-26po and doc/todo/need_global_renamepage_hook: responseintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26new bug reportJoey Hess
2009-01-26reviewJoey Hess
2009-01-26add mising hooks and fix syntax errorJoey Hess
2009-01-26remove unnecessary returnsJoey Hess
check_canremove/canrename is called only for its side effect (of failing if removal is not allowed), its return value is never used and returning something makes that unclear
2009-01-26don't add new exported warning functionJoey Hess
Nothing in the po plugin actually uses this function. The benefit of adding the function in general is debatable, but I'd prefer to keep the changes involved in merging po at a minimum.
2009-01-26remove redundant useJoey Hess
use is file-scoped so warnings and strict are already enabled inside the second package, and IkiWiki is already loaded (though not imported into this context)
2009-01-26non-code changesJoey Hess
2009-01-26more unnecessary parensJoey Hess
2009-01-26avoid keeping running if a DOS attack is possibleJoey Hess
2009-01-26remove unnecessary parensJoey Hess
2009-01-26another useless use of scalarJoey Hess
scalar(undef) is undef, so using scalar here had no effect. Instead make the function return "", probably avoiding an uninitialized value warning.
2009-01-26remove useless uses of scalarJoey Hess
if (scalar @array) is written idiomatically in perl as if (@array).
2009-01-26improve some englishJoey Hess
I'm still not happy with the clarity of this warning message. I don't understand when it could happen or why a warning is needed.
2009-01-26avoid standalone -e or foo syntaxJoey Hess
I prefer to use either of the other two syntaxes perl offers, and not this one.
2009-01-26avoid mixing english with translationJoey Hess
"google search" is english which would get mixed in with translated text. Instead, usr just the plugin name.
2009-01-26Merge branch 'master' into poJoey Hess
2009-01-26(no commit message)qiang
2009-01-25git: Fix malformed utf8 recieved from git.Joey Hess
If git log outputs malformed utf8 in, eg, usernames, detect it and fix it up. This avoids commits such as f71abc92aa279fbe0b7578b8c4752d775dd4a259 breaking things.
2009-01-25updateJoey Hess
2009-01-25updateJoey Hess
2009-01-25typoJoey Hess
2009-01-25format moderation queue only at end, avoid O(N^3) bugJoey Hess
It was calling format hooks for each comment on the page. When relativedate is enabled, that made it insert <script> tags for each comment. And the browser loaded the same script over and over, which was slow on its own. But that was nothing compared to running the onload even over and over.. especially since the hook system added a new call to the hook each time it loaded. For a page with 10 comments, that caused the relativedate DOM parsing code to run 1000 times, I think. Anyway, it was sloow. Now it runs once.
2009-01-25add reject all marked defer checkboxJoey Hess
2009-01-25sort comment queue by time, newest firstJoey Hess
2009-01-25add a button to prefs page for comment moderationJoey Hess
2009-01-25clean up comment previewJoey Hess
Remove actions from it, and avoid a broken title link.
2009-01-25Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2009-01-25comments: Add a moderation web interface.Joey Hess
2009-01-25remove hr under comment actionsJoey Hess
The horizontal line was only meant to be displayed under the actions at the top of a page.
2009-01-25add alt tagJoey Hess
2009-01-25(no commit message)GuenterLadwig
2009-01-25(no commit message)GuenterLadwig
2009-01-25(no commit message)GünterLadwig
2009-01-25(no commit message)GünterLadwig