Skip to content

Instantly share code, notes, and snippets.

@rogerthat
Created March 9, 2012 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogerthat/2006406 to your computer and use it in GitHub Desktop.
Save rogerthat/2006406 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html dir='ltr' lang='en'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta content='Diaspora*' name='description'>
<meta content='Diaspora, Inc.' name='author'>
<link href='/favicon.png' rel='shortcut icon'>
<link href='/apple-touch-icon.png' rel='apple-touch-icon'>
<title>
#federationtestautomated
</title>
<!--[if (!IE)|(gte IE 8)]><!-->
<link href="/assets/blueprint-datauri.css?e62591713" media="screen" rel="stylesheet" type="text/css" />
<!--<![endif]-->
<!--[if lte IE 7]>
<link href="/assets/blueprint.css?e62591713" media="screen" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if (!IE)|(gte IE 8)]><!-->
<link href="/assets/login-datauri.css?e62591713" media="screen" rel="stylesheet" type="text/css" />
<!--<![endif]-->
<!--[if lte IE 7]>
<link href="/assets/login.css?e62591713" media="screen" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if (!IE)|(gte IE 8)]><!-->
<link href="/assets/application-datauri.css?e62591713" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/default-datauri.css?e62591713" media="all" rel="stylesheet" type="text/css" />
<!--<![endif]-->
<!--[if lte IE 7]>
<link href="/assets/application.css?e62591713" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/default.css?e62591713" media="all" rel="stylesheet" type="text/css" />
<![endif]-->
<script> if(Array.isArray === undefined) {
Array.isArray = function (arg) {
return Object.prototype.toString.call(arg) == '[object Array]';
};
}
if ((window.history) && (window.history.pushState === undefined)) {
window.history.pushState = function() { };
}
</script>
<!--[if IE]>
<script src="/assets/ie.js?e62591713" type="text/javascript"></script>
<![endif]-->
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script><script>!window.jQuery && document.write(unescape("<script src=\"/assets/jquery.js?e62591713\" type=\"text/javascript\"><\/script>")); jQuery.ajaxSetup({'cache': false});</script>
<script src="/assets/main.js?e62591713" type="text/javascript"></script>
<script src="/assets/templates.js?e62591713" type="text/javascript"></script>
<script> Diaspora.I18n.loadLocale({"confirm_dialog":"Are you sure?","delete":"Delete","ignore":"Ignore","timeago":{"prefixAgo":"","prefixFromNow":"","suffixAgo":"ago","suffixFromNow":"from now","seconds":"less than a minute","minute":"about a minute","minutes":"%d minutes","hour":"about an hour","hours":"about %d hours","day":"a day","days":"%d days","month":"about a month","months":"%d months","year":"about a year","years":"%d years"},"my_activity":"My Activity","my_stream":"Stream","videos":{"watch":"Watch this video on <%= provider %>","unknown":"Unknown video type"},"search_for":"Search for <%= name %>","publisher":{"at_least_one_aspect":"You must publish to at least one aspect","limited":"Limited - your post will only be seen by people you are sharing with","public":"Public - your post will be visible to everyone and found by search engines"},"infinite_scroll":{"no_more":"No more posts."},"aspect_dropdown":{"add_to_aspect":"Add contact","select_aspects":"Select aspects","all_aspects":"All aspects","stopped_sharing_with":"You have stopped sharing with <%= name %>.","started_sharing_with":"You have started sharing with <%= name %>!","error":"Couldn't start sharing with <%= name %>. Are you ignoring them?","toggle":{"zero":"Select aspects","one":"In <%= count %> aspect","two":"In <%= count %> aspects","few":"In <%= count %> aspects","many":"In <%= count %> aspects","other":"In <%= count %> aspects"}},"show_more":"show more","failed_to_like":"Failed to like!","failed_to_post_message":"Failed to post message!","comments":{"show":"show all comments","hide":"hide comments"},"reshares":{"duplicate":"That good, huh? You've already reshared that post!"},"aspect_navigation":{"select_all":"Select all","deselect_all":"Deselect all","no_aspects":"No aspects selected"},"getting_started":{"hey":"Hey, <%= name %>!","no_tags":"Hey, you haven't followed any tags! Continue anyway?","alright_ill_wait":"Alright, I'll wait.","preparing_your_stream":"Preparing your personalized stream..."},"photo_uploader":{"looking_good":"OMG, you look awesome!"},"tags":{"wasnt_that_interesting":"OK, I suppose #<%= tagName %> wasn't all that interesting..."},"stream":{"hide":"Hide","public":"Public","limited":"Limited","like":"Like","unlike":"Unlike","reshare":"Reshare","comment":"Comment","original_post_deleted":"Original post deleted by author.","show_nsfw_post":"Show post","show_nsfw_posts":"Show all","hide_nsfw_posts":"Hide #nsfw posts","follow":"Follow","unfollow":"Unfollow","likes":{"zero":"<%= count %> Likes","one":"<%= count %> Like","two":"<%= count %> Likes","few":"<%= count %> Likes","many":"<%= count %> Likes","other":"<%= count %> Likes"},"reshares":{"zero":"<%= count %> Reshares","one":"<%= count %> Reshare","two":"<%= count %> Reshares","few":"<%= count %> Reshares","many":"<%= count %> Reshares","other":"<%= count %> Reshares"},"more_comments":{"zero":"Show <%= count %> more comments","one":"Show <%= count %> more comment","two":"Show <%= count %> more comments","few":"Show <%= count %> more comments","many":"Show <%= count %> more comments","other":"Show <%= count %> more comments"}},"header":{"home":"Home","profile":"Profile","contacts":"Contacts","settings":"Settings","admin":"Admin","log_out":"Log out","notifications":"Notifications","messages":"Messages","search":"Search","recent_notifications":"Recent Notifications","mark_all_as_read":"Mark all as read","view_all":"View all"},"viewer":{"stop_following_post":"Stop following post","follow_post":"Follow post","like":"Like","unlike":"Unlike","reshare":"Reshare","reshared":"Reshared","comment":"Comment"},"pluralization_rule":"function (n) { return n == 1 ? \"one\" : \"other\" }"}, "en");
Diaspora.Page = "TagsShow";
</script>
<script> app.baseImageUrl("")
</script>
<script> window.current_user_attributes = {"id":48878,"guid":"631be3deb24041f2","name":"ftwbot@pod.geraspora.de","diaspora_id":"ftwbot@pod.geraspora.de","avatar":{"small":"/images/user/default.png","medium":"/images/user/default.png","large":"/images/user/default.png"},"notifications_count":4,"unread_messages_count":0,"admin":false}
</script>
<script src="/assets/home.js?e62591713" type="text/javascript"></script>
<script>
//<![CDATA[
$(document).ready(function(){
// Change the text and color of the "follow this tag" button on hover.
$(".button.tag_following").hover(function(){
$this = $(this);
$this.removeClass("in_aspects");
$this.val("Stop Following #federationtestautomated");
},
function(){
$this = $(this);
$this.addClass("in_aspects");
$this.val("Following #federationtestautomated");
});
});
$(".people_stream .pagination a").live("click", function() {
$.getScript(this.href);
return false;
});
//]]>
</script>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.geraspora.de/" : "http://piwik.geraspora.de/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script>
<!-- End Piwik Code --></head>
<body>
<header>
</header>
<div class='container'>
<div class='span-24 last'>
<div class='span-6 tags_people'>
<h3>
no people
</h3>
<div class='side_stream stream'>
<div class='people_stream'>
</div>
</div>
<br>
<div class='section'>
<ul class='left_nav sub'>
<li>
<b><a href="/followed_tags" class="home_selector">#Followed Tags</a></b>
</li>
</ul>
</div>
</div>
<div class='span-15 last'>
<div class='stream_container'>
<div id='author_info'>
<div class='right'>
<form method="post" action="/tags/federationtestautomated/tag_followings" class="button_to"><div><input name="_method" type="hidden" value="delete" /><input class="button red_on_hover tag_following in_aspects take_action" type="submit" value="Following #federationtestautomated" /><input name="authenticity_token" type="hidden" value="jwLvsf2t0vPhPHEn9c9lvegWBvbuzytKVj+qTCXW9U0=" /></div></form>
</div>
<h2>
#federationtestautomated
<small>
followed by
2 people
</small>
</h2>
</div>
<div class='mention_popup' id='publisher'>
<div class='content_creation'>
<form accept-charset="UTF-8" action="/status_messages" class="new_status_message" id="new_status_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="jwLvsf2t0vPhPHEn9c9lvegWBvbuzytKVj+qTCXW9U0=" /></div>
<p>
<params>
<div id='publisher_textarea_wrapper'>
<a href="#" id="hide_publisher" title="Discard post"><img alt="Deletelabel" src="/images/deletelabel.png?e62591713" /></a>
<ul id='photodropzone'></ul>
<textarea cols="40" id="status_message_fake_text" name="status_message[fake_text]" placeholder="Start a conversation..." rows="2" tabindex="1">The thing about #federationtestautomated is... </textarea>
<input class="clear_on_submit" id="status_message_text" name="status_message[text]" type="hidden" value="The thing about #federationtestautomated is... " />
<div id='file-upload' title='Upload photos'>
<img alt="Upload Photos" src="/images/icons/camera.png?e62591713" />
</div>
</div>
</params>
</p>
<input id="aspect_ids_" name="aspect_ids[]" type="hidden" value="all_aspects" />
<div class='options_and_submit'>
<div class='public_toggle'>
<span id='publisher_service_icons'>
<a href="#question_mark_pane" class="question_mark" rel="facebox" title="manage connected services"><img alt="Monotone_wrench_settings" src="/images/icons/monotone_wrench_settings.png?e62591713" /></a>
</span>
<div class='dropdown hang_right'>
<div class='button toggle publisher'>
All Aspects
&#9660;
</div>
<div class='wrapper'>
<ul class='dropdown_list' unSelectable='on'>
<li class='public radio' data-aspect_id='public'>
Public
</li>
<li class='all_aspects divider radio selected' data-aspect_id='all_aspects' style='border-bottom: 1px solid #ddd;'>
All Aspects
</li>
<li data-aspect_id=41162 class=' aspect_selector'>
Family
</li>
<li data-aspect_id=41163 class=' aspect_selector'>
Friends
</li>
<li data-aspect_id=41164 class=' aspect_selector'>
Work
</li>
<li data-aspect_id=41165 class=' aspect_selector'>
Acquaintances
</li>
<li data-aspect_id=41166 class=' aspect_selector'>
ftwarrior
</li>
</ul>
</div>
</div>
<input class="button creation" id="status_message_submit" name="commit" tabindex="2" type="submit" value="Share" />
<div class='facebox_content'>
<div id='question_mark_pane'>
<div class='span-12 last'>
<div class='modal_title_bar'>
<h4>Set up connected services</h4>
</div>
<p>
Public messages will be available for others outside of Diaspora to see.
<br>
<br>
<a href="https://pod.geraspora.de/public/ftwbot.atom">Atom feed</a>
<br>
<a href="/services">manage connected services</a>
<br>
<br>
<a href="#" class="button" onClick="$.facebox.close();">OK</a>
</p>
</div>
</div>
</div>
</div>
</div>
</form>
<a href="/contacts?aspect_ids[]=41162&amp;aspect_ids[]=41163&amp;aspect_ids[]=41164&amp;aspect_ids[]=41165&amp;aspect_ids[]=41166" class="selected_contacts_link hidden"></a>
<div id='publisher_photo_upload'>
<script>
//<![CDATA[
function createUploader(){
var aspectIds = "41162,41163,41164,41165,41166".split(',');
var uploader = new qq.FileUploaderBasic({
element: document.getElementById('file-upload'),
params: {'photo' : {'pending' : 'true', 'aspect_ids' : aspectIds}, 'set_profile_image' : ""},
allowedExtensions: ['jpg', 'jpeg', 'png', 'gif', 'tiff'],
action: "/photos",
debug: true,
button: document.getElementById('file-upload'),
sizeLimit: 4194304,
onProgress: function(id, fileName, loaded, total){
},
messages: {
typeError: "{file} has invalid extension. Only {extensions} are allowed.",
sizeError: "{file} is too large, maximum file size is {sizeLimit}.",
emptyError: "{file} is empty, please select files again without it."
},
onSubmit: function(id, fileName){
$('#file-upload').addClass("loading");
$('#publisher').find("input[type='submit']").attr('disabled','disabled');
$("#publisher textarea").addClass("with_attachments");
$('#photodropzone').append(
"<li class='publisher_photo loading' style='position:relative;'>" +
"<img src='/images/ajax-loader2.gif' />" +
"</li>"
);
},
onComplete: function(id, fileName, responseJSON) {
$('#fileInfo').text(fileName + ' completed');
var id = responseJSON.data.photo.id,
url = responseJSON.data.photo.unprocessed_image.url,
currentPlaceholder = $('li.loading').first();
$("#publisher textarea").addClass("with_attachments");
$('#new_status_message').append("<input type='hidden' value='" + id + "' name='photos[]' />");
// replace image placeholders
var img = currentPlaceholder.find('img');
img.attr('src', url);
img.attr('data-id', id);
currentPlaceholder.removeClass('loading');
currentPlaceholder.append("<div class='x'>X</div>" +
"<div class='circle'></div>");
////
var publisher = $('#publisher'),
textarea = publisher.find('textarea');
publisher.find("input[type='submit']").removeAttr('disabled');
$('.x').bind('click', function(){
var photo = $(this).closest('.publisher_photo');
photo.addClass("dim");
$.ajax({url: "photos/" + photo.children('img').attr('data-id'),
type: 'DELETE',
success: function() {
photo.fadeOut(400, function(){
photo.remove();
textarea.css('paddingBottom', $("#photodropzone").height() + 10);
if ( $('.publisher_photo').length == 0){
textarea.removeClass("with_attachments");
textarea.css('paddingBottom', '');
}
});
}
});
});
},
onAllComplete: function(completed_files){
}
});
}
createUploader();
//]]>
</script>
</div>
</div>
</div>
<hr>
<div class='stream' id='main_stream'></div>
<div id='paginate'></div>
</div>
</div>
</div>
</div>
<a href='#' id='back-to-top' title='translation missing: en.back_to_top'>
&#8679;
</a>
<footer>
<div class='container'>
<ul id='footer_nav'>
<!-- %li= link_to "blog", "http://blog.geraspora.de", :target => "_blank" -->
<!-- %li= link_to "team", "http://blog.geraspora.de/das-team", :target => "_blank" -->
<li><a href="http://twitter.com/geraspora" target="_blank">twitter</a></li>
<li><a href="http://spored.de" target="_blank">community</a></li>
<li><a href="http://finance.geraspora.de" target="_blank">spenden / kostenübersicht</a></li>
<li><a href="https://github.com/geraspora/diaspora" target="_blank">code</a></li>
</ul>
<img alt="Powered_by_diaspora" height="11px" src="/images/powered_by_diaspora.png?e62591713" width="145px" />
</div>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment