<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,11 @@
 ====================================================
 Demisauce:  An Integration as a Service Appliance
 ====================================================
-Demisauce is a collection of capability that can be used within your app via services instead of using native components.  It is essentially a service oriented plug in tool.
+Demisauce is a collection of capability that can be used within your app via services instead of using native components.  It is essentially a service oriented plug in tool.   There is a hosted version available at http://www.demisauce.com or you can install
+it as an appliance in your environment, see below.
 
 INSTALL INSTRUCTIONS
 ---------------------
 
-http://github.com/araddon/demisauce/tree/1d24ccb7c757a362441bb249d970525c34fc27a7/install
+http://github.com/araddon/demisauce/tree/master/install
 </diff>
      <filename>README.rst</filename>
    </modified>
    <modified>
      <diff>@@ -119,7 +119,7 @@ class ServiceController(BaseController):
     def apps(self,id=0):
         c.apps = App.by_site(c.site_id)
         return render('/service/app.html')
-        
+    
     @requires_role('admin')
     def appeditform(self,id=0):
         c.item = App.get(-1,id)
@@ -142,6 +142,7 @@ class ServiceController(BaseController):
         
         app.slug = slugify(sanitize(request.POST['app_name']))
         app.name = sanitize(request.POST['app_name'])
+        app.authn = sanitize(request.POST['authn'])
         app.description = sanitize(request.POST['description'])
         app.base_url = sanitize(request.POST['base_url'])
         app.save()</diff>
      <filename>demisauce/trunk/demisauce/controllers/service.py</filename>
    </modified>
    <modified>
      <diff>@@ -101,37 +101,52 @@ app = '''
             &quot;slug&quot;: &quot;demisauce&quot;,
             &quot;url_format&quot;:&quot;{base_url}/api/{format}/{service}/{key}?apikey={api_key}&quot;,
             &quot;base_url&quot;: &quot;http://localhost:4951&quot;, 
-            &quot;authn&quot;: &quot;demisauce&quot;
+            &quot;authn&quot;: &quot;0&quot;
         },{
             &quot;site_id&quot;: &quot;1&quot;,
             &quot;owner_id&quot;: &quot;1&quot;,
             &quot;name&quot;: &quot;demisauce.com alternate api&quot;, 
             &quot;slug&quot;: &quot;demisauce&quot;,
             &quot;base_url&quot;: &quot;http://localhost:4951&quot;, 
-            &quot;authn&quot;: &quot;demisauce&quot;
+            &quot;authn&quot;: &quot;0&quot;
         },{
             &quot;site_id&quot;: &quot;2&quot;,
             &quot;owner_id&quot;: &quot;3&quot;,
             &quot;name&quot;: &quot;djangodemo&quot;, 
             &quot;slug&quot;: &quot;djangodemo&quot;,
             &quot;base_url&quot;: &quot;http://djangodemo.test:8001&quot;, 
-            &quot;authn&quot;: &quot;demisauce&quot;
+            &quot;authn&quot;: &quot;3&quot;
         },{
             &quot;site_id&quot;: &quot;3&quot;,
             &quot;owner_id&quot;: &quot;4&quot;,
             &quot;name&quot;: &quot;phpdemo&quot;, 
             &quot;slug&quot;: &quot;phpdemo&quot;,
             &quot;base_url&quot;: &quot;http://demisauce.test&quot;, 
-            &quot;authn&quot;: &quot;demisauce&quot;
+            &quot;authn&quot;: &quot;3&quot;
         },{
             &quot;site_id&quot;: &quot;1&quot;,
             &quot;owner_id&quot;: &quot;1&quot;,
             &quot;name&quot;: &quot;wordpress&quot;, 
             &quot;slug&quot;: &quot;wordpress&quot;,
             &quot;base_url&quot;: &quot;http://192.168.125.133/blog/xmlrpc.php&quot;, 
-            &quot;authn&quot;: &quot;demisauce&quot;
+            &quot;authn&quot;: &quot;3&quot;
+        },{
+            &quot;site_id&quot;: &quot;1&quot;,
+            &quot;owner_id&quot;: &quot;1&quot;,
+            &quot;name&quot;: &quot;delicious.com&quot;, 
+            &quot;slug&quot;: &quot;deliciouscom&quot;,
+            &quot;base_url&quot;: &quot;http://delicious.com&quot;, 
+            &quot;authn&quot;: &quot;3&quot;
+        },{
+            &quot;site_id&quot;: &quot;1&quot;,
+            &quot;owner_id&quot;: &quot;1&quot;,
+            &quot;name&quot;: &quot;delicious feeds&quot;, 
+            &quot;slug&quot;: &quot;deliciousfeeds&quot;,
+            &quot;base_url&quot;: &quot;http://feeds.delicious.com&quot;, 
+            &quot;authn&quot;: &quot;3&quot;
         }]
 }'''
+
 service = '''
 {
     &quot;class&quot;: &quot;demisauce.model.service.Service&quot;, 
@@ -140,7 +155,7 @@ service = '''
             &quot;site_id&quot;: &quot;1&quot;,
             &quot;app_id&quot;: &quot;1&quot;,
             &quot;owner_id&quot;: &quot;1&quot;,
-            &quot;list_public&quot; : &quot;1&quot;,
+            &quot;list_public&quot;: &quot;1&quot;,
             &quot;name&quot;: &quot;Poll Html Service&quot;, 
             &quot;key&quot;: &quot;poll&quot;,
             &quot;views&quot;: &quot;&quot;,
@@ -149,7 +164,7 @@ service = '''
             &quot;site_id&quot;: &quot;1&quot;,
             &quot;app_id&quot;: &quot;1&quot;,
             &quot;owner_id&quot;: &quot;1&quot;,
-            &quot;list_public&quot; : &quot;1&quot;,
+            &quot;list_public&quot;: &quot;1&quot;,
             &quot;name&quot;: &quot;Comment Html Service&quot;, 
             &quot;key&quot;: &quot;comment&quot;,
             &quot;views&quot;: &quot;&quot;,
@@ -158,7 +173,7 @@ service = '''
             &quot;site_id&quot;: &quot;1&quot;,
             &quot;app_id&quot;: &quot;1&quot;,
             &quot;owner_id&quot;: &quot;1&quot;,
-            &quot;list_public&quot; : &quot;1&quot;,
+            &quot;list_public&quot;: &quot;1&quot;,
             &quot;name&quot;: &quot;Email Template service&quot;, 
             &quot;method_url&quot;: &quot;{base_url}/api/xml/email/{key}?apikey={api_key}&quot;, 
             &quot;key&quot;: &quot;email&quot;,
@@ -186,7 +201,7 @@ service = '''
             &quot;site_id&quot;: &quot;1&quot;,
             &quot;app_id&quot;: &quot;1&quot;,
             &quot;owner_id&quot;: &quot;1&quot;,
-            &quot;list_public&quot; : &quot;1&quot;,
+            &quot;list_public&quot;: &quot;1&quot;,
             &quot;name&quot;: &quot;Help/Idea/Feedback Submission widget.&quot;, 
             &quot;method_url&quot;: &quot;help/feedback_service/{request}&quot;, 
             &quot;key&quot;: &quot;feedback&quot;,
@@ -194,6 +209,16 @@ service = '''
             &quot;description&quot;: &quot;An Idea, Problem, Feedback set of services.&quot;
         },{
             &quot;site_id&quot;: &quot;1&quot;,
+            &quot;app_id&quot;: &quot;7&quot;,
+            &quot;owner_id&quot;: &quot;1&quot;,
+            &quot;list_public&quot;: &quot;1&quot;,
+            &quot;name&quot;: &quot;Delicious Tags Html Page&quot;, 
+            &quot;method_url&quot;: &quot;/tag/{key}&quot;, 
+            &quot;key&quot;: &quot;tag&quot;,
+            &quot;views&quot;: &quot;&quot;,
+            &quot;description&quot;: &quot;Just gets a page on delicious&quot;
+        },{
+            &quot;site_id&quot;: &quot;1&quot;,
             &quot;app_id&quot;: &quot;5&quot;,
             &quot;owner_id&quot;: &quot;4&quot;,
             &quot;name&quot;: &quot;Wordpress content service&quot;, 
@@ -204,6 +229,7 @@ service = '''
             &quot;description&quot;: &quot;Wordpress CMS extraction service&quot;
         }]
 }'''
+
 email = '''
 {
     &quot;class&quot;: &quot;demisauce.model.email.Email&quot;, 
@@ -214,10 +240,10 @@ email = '''
             &quot;key&quot;:&quot;welcome_to_demisauce&quot;,
             &quot;from_email&quot;:&quot;guest@demisauce.org&quot;,
             &quot;from_name&quot;:&quot;Demisauce Admin&quot;,
-            &quot;template&quot;: &quot;Welcome to Demisauce, Your account has been enabled, and you can start using services on demisauce.
-\nTo verify your account you need to click and finish registering $link
-\nThank You
-\nDemisauce Team&quot;
+            &quot;template&quot;: &quot;Welcome to Demisauce;\
+\\n\\nYour account has been enabled, and you can start using services on demisauce.\
+\\n\\nTo verify your account you need to click and finish registering $link\
+\\n\\nThank You\\n\\nDemisauce Team&quot;
         },    
         {
             &quot;site_id&quot;: &quot;1&quot;, 
@@ -225,10 +251,10 @@ email = '''
             &quot;key&quot;:&quot;invitation_to_demisauce&quot;,
             &quot;from_email&quot;:&quot;guest@demisauce.org&quot;,
             &quot;from_name&quot;:&quot;Demisauce Web&quot;,
-            &quot;template&quot;: &quot;Welcome to Demisauce, You have recieved an invite from $from , and an account has been created for you.
-\nTo verify your account you need to click and finish registering $link
-\nThank You
-\nDemisauce Team&quot;
+            &quot;template&quot;: &quot;Welcome to Demisauce;\
+\\n\\nYou have recieved an invite from $from , and an account has been created for you.\
+\\n\\nTo verify your account you need to click and finish registering $link\
+\\n\\nThank You\\n\\nDemisauce Team&quot;
         },    
         {
             &quot;site_id&quot;: &quot;1&quot;, 
@@ -236,12 +262,13 @@ email = '''
             &quot;key&quot;:&quot;thank_you_for_registering_with_demisauce&quot;,
             &quot;from_email&quot;:&quot;guest@demisauce.org&quot;,
             &quot;from_name&quot;:&quot;Demisauce Web&quot;,
-            &quot;template&quot;: &quot;Welcome to Demisauce, we are are currently allowing a few users to try out our hosted service, and will send you an invite when we can accept more testers.  However, this is also an open source project so please feel free to download and try it out yourself.  
-\nMore info at http://www.demisauce.org 
-or at:   http://demisauce.googlecode.com
-\nYour Email address $email will not be used other than for logging in.
-\nThank You
-\nThe Demisauce Team&quot;
+            &quot;template&quot;: &quot;Welcome to Demisauce;\
+\\n\\nWe are are currently allowing a few users to try out our hosted service, and will send you an invite \
+when we can accept more testers.  However, this is also an open source project so please feel free to download \
+and try it out yourself.\
+\\n\\nMore info at http://www.demisauce.com\
+\\n\\nYour Email address $email will not be used other than for logging in.\
+\\n\\nThank You\\n\\nDemisauce Team&quot;
         },    
         {
             &quot;site_id&quot;: &quot;1&quot;, 
@@ -249,23 +276,23 @@ or at:   http://demisauce.googlecode.com
             &quot;key&quot;:&quot;a-new-user-has-registered&quot;,
             &quot;from_email&quot;:&quot;guest@demisauce.org&quot;,
             &quot;from_name&quot;:&quot;Demisauce Admin&quot;,
-            &quot;template&quot;: &quot;A new user has signed up at demisauce.
-\nTheir Email address $email and $displayname
-\n\nThank You
-\n\nThe Demisauce Team&quot;
-        },    
+            &quot;template&quot;: &quot;A new user has signed up at demisauce.\
+\\nTheir Email address $email and $displayname\
+\\n\\nThank You\\n\\nThe Demisauce Team&quot;
+        },   
         {
             &quot;site_id&quot;: &quot;1&quot;, 
             &quot;subject&quot;:&quot;Comment Notification&quot;,
             &quot;key&quot;:&quot;comment-notification&quot;,
             &quot;from_email&quot;:&quot;guest@demisauce.org&quot;,
             &quot;from_name&quot;:&quot;Demisauce Web&quot;,
-            &quot;template&quot;: &quot;Hello;
-\n$email has Commented on your $sitename   on page $url
-\nThank You
-\nDemisauce Team&quot;
+            &quot;template&quot;: &quot;Hello;\
+\\n\\n$email has Commented on your $sitename on page $url\
+\\n\\nThank You\\n\\nDemisauce Team&quot;
         }]
 }'''
+
+
 comment = '''
 {
     &quot;class&quot;: &quot;demisauce.model.comment.Comment&quot;, </diff>
      <filename>demisauce/trunk/demisauce/fixture.py</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,7 @@ app_table = Table(&quot;app&quot;, meta.metadata,
         Column(&quot;slug&quot;, DBString(50)),
         Column(&quot;base_url&quot;, DBString(255)),
         Column(&quot;url_format&quot;, DBString(255),nullable=True),
-        Column(&quot;authn&quot;, DBString(50)),
+        Column(&quot;authn&quot;, DBString(50),default='None'),
         Column(&quot;description&quot;, DBText),
     )
 </diff>
      <filename>demisauce/trunk/demisauce/model/service.py</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,7 @@
         &lt;authn&gt;${item.app.authn}&lt;/authn&gt;
         &lt;method_url&gt;${item.method_url and item.method_url or ''}&lt;/method_url&gt;
         &lt;slug&gt;${item.app.slug }&lt;/slug&gt;
+        &lt;authn&gt;${item.app.authn }&lt;/authn&gt;
         &lt;cache_time&gt;${item.cache_time }&lt;/cache_time&gt;
         &lt;format&gt;${item.format and item.format or ''}&lt;/format&gt;
         &lt;description&gt;&lt;![CDATA[${item.description}]]&gt;&lt;/description&gt;</diff>
      <filename>demisauce/trunk/demisauce/templates/api/service.xml</filename>
    </modified>
    <modified>
      <diff>@@ -143,9 +143,10 @@
                 &lt;div class=&quot;optional&quot;&gt;
                     &lt;fieldset&gt; 
                         &lt;legend&gt;Auth Method?&lt;/legend&gt;
-                        ${h.radio_button('authn', '0',checked=(item and item.authn == 0))} demisauce &lt;br /&gt;
-                        ${h.radio_button('authn', '1',checked=(item and item.authn == 1))} oauth &lt;br /&gt;
-                        ${h.radio_button('authn', '2',checked=(item and item.authn == 2))} CAS &lt;br /&gt;
+                        ${h.radio_button('authn', 'demisauce',checked=(item and str(item.authn)  == 'demisauce'))} demisauce &lt;br /&gt;
+                        ${h.radio_button('authn', 'oauth',checked=(item and str(item.authn)  == 'oauth'))} oauth &lt;br /&gt;
+                        ${h.radio_button('authn', 'CAS',checked=(item and str(item.authn)  == 'CAS'))} CAS &lt;br /&gt;
+                        ${h.radio_button('authn', 'None',checked=(item and str(item.authn) == 'None'))} None &lt;br /&gt;
                     &lt;/fieldset&gt; 
                 &lt;/div&gt;
             &lt;/div&gt;
@@ -209,6 +210,7 @@
     &lt;dt&gt;Site:&lt;/dt&gt;          &lt;dd&gt;${h.link_to(item.site.name, h.url(controller=&quot;site&quot;,action=&quot;view&quot;, id=item.site_id))}&lt;/dd&gt;   
     &lt;dt&gt;Site URL:&lt;/dt&gt;      &lt;dd&gt;${item.app.base_url}&lt;/dd&gt;
     &lt;dt&gt;App:&lt;/dt&gt;           &lt;dd&gt;${item.app.name}&lt;/dd&gt;
+    &lt;dt&gt;AuthN:&lt;/dt&gt;         &lt;dd&gt;${item.app.authn}&lt;/dd&gt;
     &lt;dt&gt;Service URL:&lt;/dt&gt;   &lt;dd&gt;${item.method_url or 'na'}&lt;/dd&gt;
     &lt;dt&gt;View XML:&lt;/dt&gt;      &lt;dd&gt;${h.link_to('View Xml', &quot;/api/xml/service/%s/%s&quot; % (item.app.slug,item.key))}&lt;/dd&gt;
     &lt;dt&gt;Description:&lt;/dt&gt;   &lt;dd&gt;${item.description}&lt;/dd&gt;</diff>
      <filename>demisauce/trunk/demisauce/templates/service/service_bits.html</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@ DATABASE_HOST = ''             # Set to empty string for localhost. Not used wit
 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
 
 #CACHE_BACKEND = 'locmem:///'
-CACHE_BACKEND = 'memcached://192.168.125.128:11211/'
+CACHE_BACKEND = 'memcached://192.168.0.106:11211/'
 
 
 # Local time zone for this installation. Choices can be found here:</diff>
      <filename>demos/djangodemo/settings.py</filename>
    </modified>
    <modified>
      <diff>@@ -4,9 +4,9 @@ Demisauce Getting started with Django
 ================================================
 
 This tutorial will walk through the creation of a simple blog using `Demisauce &lt;http://www.demisauce.com/&gt;`_ 
-services.  First, step, go to Demisauce and *signup* (top right) on demisauce.com, OR `install demisauce &lt;http://github.com/araddon/demisauce/tree/1cd6ec9b9743bade739bb36bbde5630f877c1848/install&gt;`_.  
+services.  First, go to Demisauce and *signup* (top right) on demisauce.com, OR `install demisauce &lt;http://github.com/araddon/demisauce/tree/1cd6ec9b9743bade739bb36bbde5630f877c1848/install&gt;`_.  
 Currently signups on demisauce.com are limited so send an email to the 
-`Help group &lt;http://groups.google.com/group/demisauce&gt;`_ and I will enable your account.  
+`discussion group &lt;http://groups.google.com/group/demisauce&gt;`_ and I will enable your account.  
 
 The full source code for this application can be found on `Github &lt;http://github.com/araddon/demisauce/tree/1cd6ec9b9743bade739bb36bbde5630f877c1848/demos/djangodemo&gt;`_ so you can 
 also pull from there and view that application.
@@ -18,7 +18,8 @@ Create a Django Demo Application
 Create Django App
 ------------------
 See the documentation on `Django Docs &lt;http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01&gt;`_ 
-and follow the part of installing and starting a new app, and where it says to create the app *polls* we will actually be running.
+and follow the part of installing and starting a new app, and where it says to create the app *polls* we will actually be 
+createing an app called *blog*.
 It is easiest to use Sqlite as the db for this demo::
 
     python manage.py startapp blog
@@ -59,14 +60,15 @@ Then enter that apikey, and url to your *settings.py* like this::
     # apikey from account page, service url of demisauce server.
     DEMISAUCE_APIKEY = 'a95c21ee8e64cb5ff585b5f9b761b39d7cb9a202'
     DEMISAUCE_URL = 'http://localhost:4951'
+    # your app name, used to make your urls unique
     DEMISAUCE_APPNAME = 'djangodemo'
     # if you have memcached
     CACHE_BACKEND = 'memcached://192.168.125.128:11211/'
     #CACHE_BACKEND = 'locmem:///'
     
 
-Now Create a view following the `Django tuturial &lt;http://docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03&gt;`_, 
-called *simple*, first add to the urls.py::
+Now Create a view following the `Django tuturial &lt;http://docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03&gt;`_  
+called *simple* by first adding to the urls.py::
     
     urlpatterns = patterns('',
         (r'^simple/$', 'djangodemo.blog.views.simple'),
@@ -97,7 +99,8 @@ and, your page should look like
     &lt;img src=&quot;http://demisaucepub.s3.amazonaws.com/s3/firstbadge.png&quot; border=&quot;0&quot; /&gt;
     
 
-So, now we have the basics of how to use a service from Demisauce.
+So, now we have the basics of how to use a service from Demisauce.  The feedback badge is an
+html service, to fully function it would need javascript as well.
 
 Creating a Demisauce Mapped Service
 ------------------------------------
@@ -106,7 +109,7 @@ Demisauce python library currently provides a mapping layer, to allow local mode
 to remote services, similar to ORM, where the service url's are automatically generated based on this relationship.  
 We are going to add comments to our blog entry model, but first some style.  
 
-Download a css/template from  `Free Css Templates &lt;http://www.freecsstemplates.org/&gt;` and
+Download a css/template from  `Free Css Templates &lt;http://www.freecsstemplates.org/&gt;`_ and
 start working on the blog, add 3 new lines to the to the *url.py*:
 
 .. code-block:: python
@@ -151,6 +154,8 @@ Then run this from the command line to sync schema to DB::
     python manage.py syncdb
 
 
+Creating Views
+---------------
 
 And add the new methods to *blog/views.py*, see the source at `github &lt;http://github.com/araddon/demisauce/blob/1cd6ec9b9743bade739bb36bbde5630f877c1848/demos/djangodemo/blog/views.py&gt;`_
 
@@ -177,7 +182,7 @@ And add the new methods to *blog/views.py*, see the source at `github &lt;http://gi
         })
         return HttpResponse(t.render(rc))
 
-Now create the *index.html* view page.
+Now create the *index.html* view page. 
 
 .. code-block:: python
     </diff>
      <filename>docs/getstarted.rst</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fff80539032007ab0cdf6c37741dbd3af1b9f879</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Raddon</name>
    <email>araddon@yahoo.com</email>
  </author>
  <url>http://github.com/araddon/demisauce/commit/280b65e3ad0234dd0c55258f7cf72125777b1bfb</url>
  <id>280b65e3ad0234dd0c55258f7cf72125777b1bfb</id>
  <committed-date>2009-01-23T21:54:53-08:00</committed-date>
  <authored-date>2009-01-23T21:54:53-08:00</authored-date>
  <message>doc formatting, add authn to service, form cleanup for authn, fixture data formatting fixes</message>
  <tree>280e7a0406ff91ced81d30aeb093159cf0600abe</tree>
  <committer>
    <name>Aaron Raddon</name>
    <email>araddon@yahoo.com</email>
  </committer>
</commit>
