XMPP configuration form

Currently relies on SRV being set, or the JID's hostname being the server
hostname and the port being default. Future work: Allow manual
configuration of user name, hostname, and port.
This commit is contained in:
Joey Hess 2012-10-26 14:17:09 -04:00
parent a11fb94c65
commit 07494cbb4b
8 changed files with 130 additions and 16 deletions

View file

@ -7,3 +7,10 @@
<p>
Distribute the files in this repository to other devices, #
make backups, and more, by adding repositories.
<div .span4>
<h3>
<a href="@{XMPPR}">
Configure jabber account
<p>
Allow devices that are not in direct contact to keep in touch, #
by configuring a jabber account.

View file

@ -2,22 +2,21 @@
<h2>
Configuring jabber account
<p>
A jabber account is used by git-annex to communicate changes between #
repositories. It can also be used to pair up with a friend's repository, #
if you want to. It's fine to reuse an existing account; git-annex won't #
A jabber account is used to communicate between #
devices that are not in direct contact. #
It can also be used to pair up with a friend's repository, if desired.
<p>
It's fine to reuse an existing jabber account; git-annex won't #
post any messages to it.
<p>
<i .icon-info-sign></I> If you have a Gmail account, you can use #
Google Talk. Just enter your full Gmail address (<tt>you@gmail.com</tt>) #
and password below.
$if needserver
<p>
<i .icon-warning-sign></i> Unable to find a Jabber server for #
<tt>#{jid}</tt>. Please enter the server name and port below.
$if connectfail
<p>
$if problem
<i .icon-warning-sign></i> Unable to connect to the Jabber server. #
Maybe you entered the wrong password?
$else
<i .icon-user></I> If you have a Gmail account, you can use #
Google Talk. Just enter your full Gmail address #
<small>(<tt>you@gmail.com</tt>)</small> #
and password below.
<p>
<form .form-horizontal enctype=#{enctype}>
<fieldset>

View file

@ -0,0 +1,5 @@
<div .span9 .hero-unit>
<h2>
Jabber not supported
<p>
This build of git-annex does not support Jabber. Sorry!