+
diff --git a/view/theme/testbubble/style.css b/view/theme/testbubble/style.css
index deae9ae58..8ef2b6619 100644
--- a/view/theme/testbubble/style.css
+++ b/view/theme/testbubble/style.css
@@ -361,7 +361,7 @@ ul#user-menu-popup li a.nav-sep { border-top: 1px solid #989898; border-style:in
#notifications {
height: 32px;
position: absolute;
- top:10px; left: 650px;
+ top:10px; left: 40%;
}
.nav-ajax-update {
width: 44px;
@@ -373,10 +373,10 @@ ul#user-menu-popup li a.nav-sep { border-top: 1px solid #989898; border-style:in
padding-top: 0.5em;
float: left;
padding-left: 11px;
- display: none;
+ /*display: none;*/
}
#net-update { background-position: 0px 0px; }
-#mail-update { background-position: 0px -42px; }
+#mail-update { background-position: 0px -40px; }
#notify-update { background-position: 0px -84px; }
#home-update { background-position: 0px -126px; }
@@ -840,11 +840,16 @@ profile-jot-banner-wrapper {
/* = Posts = */
/* ========= */
-.wall-item-outside-wrapper {
- margin-top: 50px;
+.wall-item-outside-wrapper {
+ max-width: 85%;
+ border-bottom: 1px solid #dedede;
+ margin-top: 20px;
+ padding-right: 10px;
+ overflow: hidden;
}
+
.wall-item-outside-wrapper-end { clear: both;}
-.wall-item-content-wrapper { position: relative; max-width: 95%; }
+.wall-item-content-wrapper { position: relative; max-width: 100%; }
.wall-item-photo-menu { display: none;}
.wall-item-photo-menu-button {
display:none;
@@ -890,12 +895,13 @@ profile-jot-banner-wrapper {
}
.wall-item-outside-wrapper.comment .wall-item-tools {
- margin: 5px 5px 10px 60px;
+ margin: 5px 5px 10px 70px;
float: left;
}
.wall-item-like-buttons {
float: left;
+ padding-left: 10px;
}
.wall-item-like-buttons a.icon {
float: left;
@@ -924,9 +930,13 @@ profile-jot-banner-wrapper {
float: left;
}
.wall-item-title { font-size: 1.2em; font-weight: bold;}
-.wall-item-body { margin-left: 140px; padding-right: 20px; }
+.wall-item-body {
+ margin-left: 140px;
+ padding-right: 10px;
+ max-width: 85%;
+}
+
.wall-item-body p {
- max-width: 600px;
font-size: 0.8em;
}
.wall-item-lock-wrapper { float: right; }
@@ -936,6 +946,7 @@ profile-jot-banner-wrapper {
clear: left;
font-size: 0.9em;
margin: 4px 0px 0px 140px;
+ padding-left: 10px;
font-variant:small-caps;
}
@@ -1042,11 +1053,7 @@ profile-jot-banner-wrapper {
.icon.drop,
.icon.drophide { float: left; }
#item-delete-selected { overflow: auto; width: 100%;}
-.wall-item-outside-wrapper {
- max-width: 83%;
- border-bottom: 1px solid #dedede;
- margin-top: 20px;
-}
+
/* ============ */
/* = Comments = */
@@ -1055,11 +1062,11 @@ profile-jot-banner-wrapper {
.ccollapse-wrapper {
font-size: 0.9em;
color: #898989;
- margin-left: 80px;
+ margin-left: 60px;
font-variant:small-caps;
}
-.wall-item-outside-wrapper.comment { margin-left: 80px; }
+.wall-item-outside-wrapper.comment { margin-left: 70px; }
.wall-item-outside-wrapper.comment .wall-item-photo {
width: 40px!important;
height: 40px!important;
@@ -1072,7 +1079,13 @@ profile-jot-banner-wrapper {
background-position: 35px center;
}
.wall-item-outside-wrapper.comment .wall-item-info { width: 60px; }
-.wall-item-outside-wrapper.comment .wall-item-body { margin-left: 60px; max-width: 85%;}
+.wall-item-outside-wrapper.comment .wall-item-body {
+ margin-left: 70px;
+ max-width: 85%;
+ padding-right: 10px;
+ padding-left: 10px;
+}
+
.wall-item-outside-wrapper.comment .wall-item-author { margin-left: 60px;}
.wall-item-outside-wrapper.comment .wall-item-photo-menu {
@@ -1133,11 +1146,14 @@ profile-jot-banner-wrapper {
}
.wall-item-body code {
- border-color: #CCCCCC;
- border-style: solid;
+ font-family: Courier, monospace;
+ white-space: pre;
+ display: block;
+ overflow: auto;
+ border: 1px solid #cccccc;
border-width: 1px 1px 1px 10px;
- display: block;
- padding-left: 10px;
+ padding-left: 10px;
+ margin-top: 20px;
}
/* =========== */
@@ -1249,9 +1265,18 @@ div[id$="wrapper"] br { clear: left; }
/* = Photos = */
/* ========== */
+#side-bar-photos-albums h3:before {
+ content: url("photography.png");
+ padding-right: 10px;
+ vertical-align: middle;
+}
+
#side-bar-photos-albums li {
- font-size: 1.2em;
+ font-size: 14px;
font-variant: none;
+ text-align: left;
+ padding-left: 20px;
+ margin-bottom: 5px;
}
#photo-top-links {
@@ -1279,15 +1304,31 @@ div[id$="wrapper"] br { clear: left; }
background-color: #b20202;
}
-.photo-album-image-wrapper,
-.photo-top-image-wrapper {
- float: left;
+.photo-album-image-wrapper {
+ float: left;
margin: 0px 10px 10px 0px;
padding-bottom: 30px;
position:relative;
}
-#photo-photo { max-width: 100% }
+.photo-top-image-wrapper {
+ float: left;
+ width: 180px;
+ height: 180px;
+ margin: 0px 10px 10px 0px;
+ padding-bottom: 30px;
+ position:relative;
+}
+
+#photo-album-wrapper-inner {
+ position: relative;
+ float: left;
+ width: 180px;
+ height: 180px;
+ overflow: hidden;
+}
+
+#photo-photo { max-width: 85%; height: auto; }
#photo-photo img { max-width: 100% }
.photo-top-image-wrapper a:hover,
@@ -1296,12 +1337,8 @@ div[id$="wrapper"] br { clear: left; }
border-bottom: 0px;
}
-.photo-top-photo,
-.photo-album-photo {
- width: 180px;
- height: 180px;
- overflow: hidden;
-}
+.photo-top-photo {}
+.photo-album-photo {}
.photo-top-album-name {
position: absolute;
@@ -1499,16 +1536,6 @@ input#photo_edit_form {
margin-left: 190px;
}
-#side-bar-photos-albums h3:before {
- content: url("photography.png");
- padding-right: 10px;
- vertical-align: middle;
-}
-
-#side-bar-photos-albums li {
- margin-bottom: 5px;
-}
-
#photo-album-edit-wrapper {
margin-bottom: 10px;
}
@@ -1687,7 +1714,7 @@ margin-left: 0px;
#prvmail-subject {
font-weight: bold;
- border: none;
+ border: 1px solid #dddddd;
}
/* ================= */
@@ -2216,7 +2243,7 @@ margin-left: 0px;
display: inline;
padding: 5px;
margin-bottom: 10px;
-/* -moz-box-shadow:inset 0px 1px 0px 0px #cfcfcf;
+ -moz-box-shadow:inset 0px 1px 0px 0px #cfcfcf;
-webkit-box-shadow:inset 0px 1px 0px 0px #cfcfcf;
box-shadow:inset 0px 1px 0px 0px #cfcfcf;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bdbdbd), color-stop(1, #a2a2a2) );
@@ -2228,7 +2255,7 @@ margin-left: 0px;
border-radius:5px;*/
}
-/*.group-delete-wrapper:hover {
+.group-delete-wrapper:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b20202), color-stop(1, #d60808) );
background:-moz-linear-gradient( center top, #b20202 5%, #d60808 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b20202', endColorstr='#d60808');
@@ -2245,7 +2272,7 @@ margin-left: 0px;
.group-delete-wrapper a {
color: #efefef;
font-size: 0.9em;
-}*/
+}
#group-edit-desc { margin: 10px 0xp; }
#group-new-text {font-size: 1.1em;}
diff --git a/zot.txt b/zot.txt
index 300b695ff..b160788e7 100644
--- a/zot.txt
+++ b/zot.txt
@@ -1,7 +1,7 @@
This is the Zot! social communications protocol.
Specification revision: 1
-15 September 2011
+2 October 2011
Mike Macgirvin
This specification is public domain.
@@ -78,16 +78,21 @@ zot:env
*******
This consists of RFC822-style header fields representing the sender and
-recipient(s). Example:
+recipient(s). Line lengths have no defined limit and RFC822 continuation
+lines are not supported. If an inbound server is not able to process an
+envelope or post due to size constraints, it SHOULD return a
+"413 Entity too large" HTTP response.
-From: bob@example.com
-Sender: bob@example.com
-To: alice@example.com
+Example:
-Both "From:" and "Sender:" MUST be provided, and represent a webfinger
-address of the author and sender respectively. The webfinger address for
-the From address MUST contain a discoverable salmon public key that
-is needed to verify the enclosed salmon data. Sender is used to indicate
+Z-From: zot:bob@example.com
+Z-Sender: zot:bob@example.com
+Z-To: zot:alice@example.com
+
+Both "Z-From:" and "Z-Sender:" MUST be provided, and represent a single
+webfinger address of the author and sender respectively. The webfinger
+address for the From address MUST contain a discoverable salmon public key
+which is needed to verify the enclosed salmon data. Sender is used to indicate
the webfinger identity responsible for transmitting this message. From
indicates the message author.
@@ -95,46 +100,91 @@ In web-based social systems, a reply to a message SHOULD be conveyed to all of
the original message participants. Only the author of the original message
may know all the recipients (such as those contained in Bcc: elements). The
author of a message always provides 'From'. They MUST duplicate this
-information as 'Sender'.
+information as 'Sender' when posting a followup message.
-A reply to a given message MUST be sent to the original From address, and MAY
-be sent to any additional addresses in the recipient list. The original author
-MUST send the reply to all known recipients of the original message, with
-their webfinger identity as Sender, and the comment/reply author as From.
+A reply to a given message MUST be sent to the From address of the original
+post, and MAY be sent to any additional addresses in the recipient list. The
+original post author MUST send the reply to all known recipients of the
+original message, with their webfinger identity as Sender, and the
+comment/reply author as From.
Receiving agents SHOULD validate the From identity as the signer of the salmon
magic envelope, and MAY reject it. They SHOULD also verify the Sender signature
of the zot packet if it is different than the salmon signature. They MAY
reject the message if the Sender is not allowed in their "friend list", or if
they do not have a suitable relationship with the Sender, or if either
-signature fails to validate.
+signature fails to validate. Rejected messages for one of these reasons SHOULD
+be indicated with a "400 Bad Request" HTTP response.
-To: *
+Z-To: *
indicates a public message with no specifically enumerated recipients.
-The fields To:, Cc:, and/or Bcc: MAY be present. At least one recipient field
-MUST be present. These fields may use the entire syntax specified by RFC822,
-for example:
+The fields Z-To: and/or Z-Bcc: MAY be present. At least one recipient field
+MUST be present.
-To: "Bob Smith" , "Alice Jones"
+Z-To: zot:bob@example.com, zot:alice@example.com, mailto:dave@example.com
+Z-Bcc: zot:https://example.com/profile/richard
-is a valid entry. A zot envelope is UTF-8 encoded, which differs from RFC822.
-The host component MUST be US-ASCII, with punycode translation of
-internationalised domain names applied.
+are valid entries. Adresses are comma separated and individual entries MUST NOT
+contain commas. There MAY be any number of ASCII space characters between
+entries for legibility. Header lines are terminated with a linefeed character
+(ASCII 0x0A).
-The entire envelope is then encrypted using alg with env_key and env_iv and
+This specification provides the following foreign protocol address prefixes
+for use in Z-To: or Z-Bcc: elements:
+
+zot: - normal zot delivery using webfinger or LRDD resolvable address
+ostatus: - normal OStatus delivery using webfinger or LRDD resovable address
+diaspora: - Diaspora network delivery using webfinger address
+facebook: - Facebook profile page URL
+twitter: - Twitter personal page URL without AJAX '#!' fragment
+mailto: - email RFC822/ESMTP address
+
+Examples:
+
+twitter:http://twitter.com/bjensen
+facebook:http://facebook.com/profile.php?id=000000001
+
+Foreign protocol addresses which have not been defined in this specification
+or future revisions of this specification and which are unknown to the
+recipient delivery process MAY be ignored.
+
+In cases where an address may contain either a webfinger or LRDD address, the
+webfinger address SHOULD be used preferentially.
+
+
+Z-Bcc:
+******
+
+The Z-Bcc element may contain one or more addresses which are hidden from end
+user presentation. A zot receiving system MUST NOT store or allow for
+the display of the Bcc information. Implementations which require extreme
+privacy SHOULD send individual posts to each of the Bcc: recipients containing
+only a single address. They MAY send all Bcc: posts using bulk delivery,
+however this may have privacy implications as there is no guarantee a
+receiving system will not log, store, or otherwise reveal the contents of the
+Bcc recipient list.
+
+Z-To: addresses MAY be shown to an end user.
+
+
+Envelope encryption
+*******************
+
+
+The entire envelope is encrypted using alg with env_key and env_iv and
base64url encoded for transmission.
-The zot envelope MAY include remote addresses. A zot delivery agent MUST parse
-all addresses and determine whether a delivery address to the current endpoint
-is valid. This may be the result of:
+The zot envelope MAY include remote addresses. A zot inbound delivery agent
+MUST parse the envelope and determine whether a delivery address to the
+current endpoint is valid. This may be the result of:
1. An address contains the public message wildcard '*'
2. The current endpoint is a personal endpoint and one of the recipients
-listed in the To:, Cc:, or Bcc: addresses matches the webfinger address of
+listed in the Z-To: or Z-Bcc: addresses matches the webfinger address of
the "owner" of the endpoint.
3. The current endpoint is a bulk delivery endpoint. The bulk delivery
@@ -219,7 +269,8 @@ We anticipate this specification will in the future allow for a close variant
of "message/rfc822" and which may include MIME. This may also be used to
embed alternate message formats and protocols such as
"application/x-diaspora+xml". If a delivery agent is unable to provide any
-acceptable data format, the delivery MUST be terminated/cancelled.
+acceptable data format to the remote system, the delivery to that system MUST
+be terminated/cancelled.
Foreign Messages
****************
@@ -233,9 +284,18 @@ systems MAY reject foreign messages.
-**********************
-* Zid authentication *
-**********************
+
+
+*******************************
+* Zid (Zot-ID) authentication *
+*******************************
+
+This section of the document is considered separate from the delivery
+specification precding it and represents a different protocol, which is
+currently incomplete. This will be split off into another document in the
+future, but is presented here as a synergistic component of the Zot network
+model.
+
URLs may be present within a zot message which refer to private and/or
protected resources. Zid uses OpenID to gain access to these protected