Commit Graph

13446 Commits (b300bc9650a40885cd8c6e0a646436539aed95c1)

Author SHA1 Message Date
intrigeri 4f44534d72 po: s/utf-8/UTF-8, to solve part of the double commit bug. 2010-06-26 01:16:56 +02:00
intrigeri 924f559e50 typo fix. 2010-06-26 00:59:20 +02:00
intrigeri 4cf185e781 po_slave_languages can now be a hash, if order matters. 2010-06-26 00:56:06 +02:00
intrigeri a128c256a5 po: added support for html pagetype
... after having audited the po4a Xml and Xhtml modules for security issues.

Signed-off-by: intrigeri <intrigeri@boum.org>
2010-06-25 23:18:57 +02:00
Joey Hess 7399f56607 auto changelog merging 2010-06-25 13:43:02 -04:00
intrigeri 8f266d4d43 another bugreport with patch 2010-06-25 19:33:04 +02:00
intrigeri 47d1b3eac5 new bug report, patch provided 2010-06-25 19:32:29 +02:00
intrigeri 903a71c1b9 TODO++ 2010-06-25 17:45:08 +02:00
intrigeri d4136aea8a po: also filter sidebar translation pages 2010-06-25 17:43:25 +02:00
intrigeri d877b9644b po: fix bug with translated pages including templates
The protection against processing loops (i.e. the alreadyfiltered stuff) was
playing against us: the template plugin triggered a filter hooks run with the
very same ($page, $destpage) arguments pair that we use to identify a already
filtered page. Processing an included template could then mark the whole
translation page as already filtered, which prevented po_to_markup to be called
on the PO content.

This commit only runs the whole PO filter logic when our filter hook is run by
IkiWiki::render, which only happens when the full page needs to be filtered.
2010-06-25 17:14:13 +02:00
intrigeri 9f401d6617 Merge remote branch 'upstream/master' into prv/po
Conflicts:
	IkiWiki/Plugin/po.pm
2010-06-25 14:38:37 +02:00
Joey Hess 1f6ea9a626 clean up messages about unavailable vcs programs 2010-06-25 00:30:12 -04:00
http://kerravonsen.dreamwidth.org/ 71950b2ae5 sidebars defined by pagespec perhaps? 2010-06-25 02:40:25 +00:00
http://kerravonsen.dreamwidth.org/ 11899a031c commenting on the link-text-from-title idea 2010-06-25 01:58:02 +00:00
Joey Hess d8d057c356 chdir to srcdir in rcs_getctime 2010-06-23 21:29:47 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm0mAKbBvoYTeRz4lDv83cTfXsAns5CmDQ cf5b767777 test from google openid 2010-06-24 00:45:59 +00:00
Joey Hess bd7221ae54 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-23 20:30:47 -04:00
Joey Hess 38bf2f6388 bugfix 2010-06-23 20:26:09 -04:00
Joey Hess 9a2c56b748 openid nickname support finished; closing 2010-06-23 20:21:54 -04:00
Joey Hess f008caf440 update 2010-06-23 20:16:55 -04:00
Joey Hess 9a32451986 finializing openid nickname support
Renamed usershort => nickname.

Note that this means existing user login sessions will not have the nickname
recorded, and so it won't be used for those.
2010-06-23 20:16:01 -04:00
Joey Hess a4f381ace8 git: Record the username from openid in the git author email. (This avoids display of ugly google openids.) 2010-06-23 19:44:41 -04:00
Joey Hess b38b9327a8 take username from email address as fallback 2010-06-23 19:36:23 -04:00
Joey Hess d8e4b51a41 rcs_getctime and rcs_getmtime take relative filenames
There was some confusion about whether the filename was
relative to srcdir or not. Some test cases, and the bzr
plugin assumed it was relative to the srcdir. Most everything else
assumed it was absolute.

Changed it to relative, for consistency with the rest
of the rcs_ functions.
2010-06-23 19:32:53 -04:00
Joey Hess ecdfd1b864 rcs_commit and rcs_commit_staged api changes
Using named parameters for these is overdue. Passing the session in a
parameter instead of passing username and IP separately will later allow
storing other session info, like username or part of the email.

Note that these functions are not part of the exported API,
and the prototype change will catch (most) skew, so I am not changing
API versions. Any third-party plugins that call them will need updated
though.
2010-06-23 19:04:36 -04:00
Joey Hess caf7bcdda3 update for new rcs_commit_staged API
In the process, lost the commits from special usernames
when committing changed po files. Instead of trying to dummy up a session
object for the special username, I just don't pass one, and the commit will
appear to be from whatever user ikiwiki runs as.
2010-06-23 16:56:50 -04:00
Joey Hess 4292802ee5 stop using REMOTE_ADDR
Everywhere that REMOTE_ADDR was used, a session object is available, so
instead use its remote_addr method.

In IkiWiki::Receive, stop setting a dummy REMOTE_ADDR.

Note that it's possible for a session cookie to be obtained using one IP
address, and then used from another IP. In this case, the first IP will now
be used. I think that should be ok.
2010-06-23 16:35:51 -04:00
Joey Hess b4a43406f6 API: rcs_commit and rcs_commit_staged are passed a new parameter
that may contain the username component of the email address of
the user making the commit.
2010-06-23 16:05:49 -04:00
Joey Hess c46bcb425a Add new optional field usershort to rcs_recentchanges.
Now the git plugin supports commits with author fields that look like:
Author: http://my.openid/ <me@web>

Then in recentchanges, the short username will be displayed, linking
to the openid.

Particularly useful for the horrible google openids, of course.
2010-06-23 15:54:52 -04:00
Joey Hess 0580cbbf40 whitespace 2010-06-23 15:23:13 -04:00
BerndZeimetz e32bce4643 It is possible to use google-sitemapgen to create google sitemaps for ikiwiki. 2010-06-23 18:44:52 +00:00
Joey Hess 609367933f add news item for ikiwiki 3.20100623 2010-06-23 14:23:51 -04:00
Joey Hess d5c680e693 releasing version 3.20100623 2010-06-23 14:23:09 -04:00
Joey Hess 82789e39aa bugfix: record email-like links as page links
This way, an email-like link will be a mailto until a matching page
is created, then it will link to the page. And removing the page will
convert it back to a mailto.
2010-06-23 14:05:57 -04:00
Joey Hess 6e67219eff simplify anchor handling
At least two bugfixes in here. First, an old bug;
\[[foo#0]] was displayed as [[foo]], losing the anchor
as the anchor text was false. Secondly, a new bug;
an email like foo#bar@baz should not check bestlink("foo@baz").
2010-06-23 13:57:27 -04:00
Joey Hess 19dcd50c84 avoid needing full email regexp
Fully validating the email address is not necessary,
all that matters is not matching an url like http://foo@bar/
as an email address.
2010-06-23 13:40:10 -04:00
Joey Hess 07a08122d9 document external links 2010-06-23 13:35:31 -04:00
Joey Hess 383ad93f77 add changelog for externalink
remove debian.org linkspam ;)
2010-06-23 13:33:14 -04:00
Joey Hess 851712cb0e Merge remote branch 'remotes/bzed/extendedlink' 2010-06-23 13:30:14 -04:00
Joey Hess 6235167962 response 2010-06-23 13:29:46 -04:00
Joey Hess 9b845ea813 one slash is enough to escape 2010-06-23 13:17:33 -04:00
Joey Hess 16ff593ab7 Revert "don't need to escape the inline tag if its in pre tag"
This reverts commit 4833f486b6.

Being in a pre does not stop an inline directive from working.
2010-06-23 13:16:31 -04:00
Joey Hess 0025798751 clarify indexdb is cached info, rebuildable 2010-06-23 13:15:10 -04:00
Joey Hess bbbbf04f76 thoughts 2010-06-23 13:12:43 -04:00
Joey Hess 0d1f736c65 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-23 13:05:02 -04:00
Joey Hess 4048988576 response 2010-06-23 13:04:56 -04:00
http://joey.kitenet.net/ 7d55ee1961 Added a comment: do parameter missing 2010-06-23 17:03:12 +00:00
Joey Hess c208ac5b28 despam
"ikiwikiweb" is banned
2010-06-23 12:53:01 -04:00
Joey Hess 44e286de2e response 2010-06-23 12:51:50 -04:00
ikiwikiweb 9372a40189 2010-06-22 20:46:57 +00:00