Permalink
Browse files

breaking change: rename most instances of couchappspora to monocles, …

…including ddoc id
  • Loading branch information...
maxogden committed Mar 29, 2011
1 parent d5f0d31 commit fb3745e378e57dd916040fcf304622a72757368e
View
@@ -1,4 +1,4 @@
-h1. CouchAppspora
+h1. CouchAppspora (codenamed 'monocles')
h3. ..is Diaspora implemented on CouchDB
@@ -10,21 +10,21 @@ p. CouchDB is a good fit for a federated social web node due to it's robust repl
h3. Protocols
-p. I am shooting for Social Web Acid Test level 0 (SWAT0) compliance by implementing the OStatus stack. Since Couch can use CommonJS, I started a project called "ostatus-js":http://github.com/maxogden/ostatus-js to write the OStatus protocols in server side javascript. To learn more about how CouchAppSpora works and interoperates with other seeds, check out "this wiki page":http://github.com/maxogden/couchappspora/wiki/Protocols-and-examples.
+p. I am shooting for Social Web Acid Test level 0 (SWAT0) compliance by implementing the OStatus stack. Since Couch can use CommonJS, I started a project called "ostatus-js":http://github.com/maxogden/ostatus-js to write the OStatus protocols in server side javascript. To learn more about how monocles works and interoperates with other seeds, check out "this wiki page":http://github.com/maxogden/couchappspora/wiki/Protocols-and-examples.
p. !http://i.imgur.com/J0HPe.png!
h3. Hosting your own
-p. You can run CouchAppSpora anywhere that you can run CouchDB, and since it's a CouchApp, the entire application lives inside your database and can be replicated from any other CouchAppSpora seed. To demonstrate the built in replication that you get with CouchDB:
+p. You can run monocles anywhere that you can run CouchDB, and since it's a CouchApp, the entire application lives inside your database and can be replicated from any other monocles seed. To demonstrate the built in replication that you get with CouchDB:
* Get a CouchDB somewhere! You can get a hosted Couch from "Cloudant":http://cloudant.com, a downloadable Couch from "CouchBase":http://www.couchbase.com/downloads, or an Android Couch from the Android Marketplace
-* Make a database and set up bidirectional continuous replication from @http://monocl.es/db@ (or any other CouchAppSpora instance) to your new database
-* Visit "http://yourcouch/yourdb/==_design/couchappspora/_==rewrite":http://yourcouch/yourdb/_design/couchappspora/_rewrite
+* Make a database and set up bidirectional continuous replication from @http://monocl.es/db@ (or any other monocles instance) to your new database
+* Visit "http://yourcouch/yourdb/==_design/monocles/_==rewrite":http://yourcouch/yourdb/_design/monocles/_rewrite
h3. TO-DO (aka 'how to contribute')
-p. You can either help build out the HTML/CSS/JS interface or you can help out with the "backend protocols":http://github.com/maxogden/ostatus-js.
+p. Hack on the interface and make it do something cool! The bulk of the application logic is in @monocles.js@, @monocles.html@ and @monocles.css@
p. Check out the "Issues page":http://github.com/maxogden/couchappspora/issues
@@ -3,7 +3,7 @@
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link rel="stylesheet" href="style/blueprint-screen.css" type="text/css">
- <link rel="stylesheet" href="style/application.css" type="text/css">
+ <link rel="stylesheet" href="style/monocles.css" type="text/css">
<link rel="stylesheet" href="style/ui.css" type="text/css">
<link rel="stylesheet" href="style/jquery.cluetip.css" type="text/css">
<link rel="stylesheet" href="style/jquery.fileupload-ui.css" type="text/css">
@@ -17,7 +17,6 @@
<script type="text/javascript" src="script/jiverscripts/conc/observable.js"></script>
<script type="text/javascript" src="script/jiverscripts/conc/promise.js"></script>
<script type="text/javascript" src="script/jquery.infieldlabel.js"></script>
- <script type="text/javascript" src="script/ezcrypto.js"></script>
<script type="text/javascript" src="/_utils/script/sha1.js"></script>
<script type="text/javascript" src="/_utils/script/json2.js"></script>
<script type="text/javascript" src="script/jquery.couch.js"></script>
@@ -29,14 +28,15 @@
<script type="text/javascript" src="script/jquery.timeago.js"></script>
<script type="text/javascript" src="script/models/posts.js"></script>
<script type="text/javascript" src="script/models/comments.js"></script>
- <script type="text/javascript" src="script/couchappspora.js"></script>
+ <!-- and, finally -->
+ <script type="text/javascript" src="script/monocles.js"></script>
</head>
<body>
<header>
<div class="container" id="headerContainer">
<div href="#" id="diaspora_text">
<a href="http://github.com/maxogden/couchappspora">
- COUCHAPPSPORA*
+ MONOCLES*
</a>
<span class="sub_text">
ALPHA
@@ -89,7 +89,7 @@
</script>
<script type="text/mustache" id="loggedOutTemplate">
- <div class="container"><p class="loginMessage">Welcome to <a href="https://github.com/maxogden/couchappspora">Couchappspora</a>, an open source social network that lets you talk to people on other networks. Log in or sign up to post.</p></div>
+ <div class="container"><p class="loginMessage">Welcome to <a href="https://github.com/maxogden/couchappspora">monocles</a>, an open source social network based on <a href="https://joindiaspora.com/">Diaspora</a> that lets people on <a href="http://ostatus.org/faq">different networks</a> follow each other. Log in or sign up to post.</p></div>
</script>
<script type="text/mustache" id="newProfileFormTemplate">
@@ -57,7 +57,7 @@
}
.file_upload_progress .ui-progressbar-value {
- background: url(pbar-ani.gif);
+ background: url(images/pbar-ani.gif);
}
.file_upload_progress div {
View
2 _id
@@ -1 +1 @@
-_design/couchappspora
+_design/monocles
View
@@ -65,7 +65,7 @@
"from": "vendor/*"
},
{
- "to": "pages/index.html",
+ "to": "pages/monocles.html",
"from": ""
},
{
View
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/">
- <generator uri="http://{{domain}}" version="0.1alpha">CouchAppSpora</generator>
+ <generator uri="http://{{domain}}" version="0.1alpha">monocles</generator>
<id>http://{{domain}}/feeds/{{username}}</id>
<title>{{username}} timeline</title>
<subtitle>Updates from {{username}}</subtitle>
View
@@ -62,7 +62,7 @@ wf.finger(userUri, function(xrdObj) {
console.log("<<REQUEST URL>>"+JSON.stringify(requestUrl.href));
console.log("<<HUB URL>>"+link.href);
var hubUrl = url.parse(link.href);
- var request = httpClient.request("POST", hubUrl.pathname+"?hub.callback=http://tyler.couchone.com/spora/_design/couchappspora/_rewrite/xml&hub.mode=subscribe&hub.topic="+requestUrl.href+"&hub.verify=sync", {"host": hubUrl.hostname});
+ var request = httpClient.request("POST", hubUrl.pathname+"?hub.callback=http://tyler.couchone.com/spora/_design/monocles/_rewrite/xml&hub.mode=subscribe&hub.topic="+requestUrl.href+"&hub.verify=sync", {"host": hubUrl.hostname});
request.addListener('response', function (response) {
response.setBodyEncoding("utf8");
var body = "";

0 comments on commit fb3745e

Please sign in to comment.