Commit Graph

13232 Commits (7399f56607d789b2152b9461397b93b8db88ccff)

Author SHA1 Message Date
Joey Hess 7399f56607 auto changelog merging 2010-06-25 13:43:02 -04:00
Joey Hess 1f6ea9a626 clean up messages about unavailable vcs programs 2010-06-25 00:30:12 -04: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
ikiwikiweb c0a99d24b1 testing 2010-06-22 20:45:40 +00:00
privat cfc1c4e933 ping 2010-06-22 15:10:59 +00:00
privat 22478de2cb 2010-06-22 13:30:50 +00:00
jeanm 03947e706a Added a comment 2010-06-19 13:35:37 +00:00
PaulePanter 397f1cbc76 What license for themes for distribution in ikiwiki? 2010-06-19 10:47:30 +00:00
PaulePanter 14e1cccf12 Match start page `/index` does not work. 2010-06-19 10:35:32 +00:00
PaulePanter 0287172195 Test PageSpec with root page `/index.mdwn`. 2010-06-19 10:27:28 +00:00
Bernd Zeimetz dd3274ce73 Enhance the link plugin to handle external links.
The following ways to create a link are supported now:
[[url]]
[[text|url]]
url can be one of the following:
- an internal wikilink: will be handled as before
- any other kind of URL, including mailto: proper links will be created:
  <a href="url">url</a>
  <a href="url">text</a>
- an email address:
  <a href="mailto:url">url</a>
  <a href="mailto:url">text</a>
2010-06-19 03:14:16 +02:00
bhobbit 99a4096397 forgotten signature 2010-06-19 00:20:50 +00:00
bhobbit 8b2b66655d reply to Joey 2010-06-19 00:20:01 +00:00
Joey Hess 9290174066 less tight positioning
the descenders in the tabs were cut off before
2010-06-18 18:19:12 -04:00
Joey Hess 9b673c2afc Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-18 18:07:40 -04:00