Commit Graph

13219 Commits (ecdfd1b8644bc926db008054ab6192e18351afed)

Author SHA1 Message Date
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
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
Joey Hess aa0fe1aac9 sidebar styling and fix actions for inlined pages
Styling the actions for inlined pages as tabs did not work well.
That still needs some work; for now just don't style the actions for
inlined pages.
2010-06-18 18:06:29 -04:00
Joey Hess 54719b8075 update to newer version from svend's blog 2010-06-18 18:03:19 -04:00
http://www.openid.albertlash.com/openid/ 4833f486b6 don't need to escape the inline tag if its in pre tag 2010-06-18 20:48:10 +00:00
http://www.openid.albertlash.com/openid/ b3e8115c95 2010-06-18 20:47:31 +00:00
Joey Hess 57e56828f5 store state to avoid needing to rebuild when changing theme 2010-06-18 16:40:47 -04:00
Joey Hess cfcc79ed4c needsbuild hook is passed an array ref 2010-06-18 16:15:57 -04:00
Joey Hess 2490296dba typo 2010-06-18 15:06:15 -04:00
Joey Hess 41680ebd5b mention added themes 2010-06-18 14:59:45 -04:00
Joey Hess 22aa874aa7 rename bzed theme to "blueview" 2010-06-18 14:58:36 -04:00
Joey Hess 99c9d8c34f also a problem for theme plugin 2010-06-18 14:39:08 -04:00
Joey Hess 2035881f55 response 2010-06-18 14:31:24 -04:00
Joey Hess 0aaaa9b3f9 response 2010-06-18 14:24:39 -04:00
Joey Hess 17675c18a8 avoid showing subpages of contrib plugins 2010-06-18 12:59:03 -04:00