Commits

Ben Bangert  committed 5586728

Update docs

  • Participants
  • Parent commits ca13d91

Comments (0)

Files changed (4)

File development.ini

 
 couchdb_server = http://localhost:5984/
 couchdb_uri = http://localhost:5984/kai
+doc.security_key = YHEBJYsq9L6KrQayA
 openid.base_url = http://openid.localhost.com:5050/
 buildbot_server = http://pylonshq.com:8010/xmlrpc
 

File kai/controllers/docs.py

         
     @jsonify
     def upload_image(self):
+        dockey = config['doc.security_key']
+        if request.environ['HTTP_AUTHKEY'] != dockey:
+            abort(401)
         doc = request.body
         version = request.GET.get('version')
         project = request.GET.get('project')
     
     @jsonify
     def upload(self):
+        dockey = config['doc.security_key']
+        if request.environ['HTTP_AUTHKEY'] != dockey:
+            abort(401)
+        
         try:
             doc = json.loads(request.body)
         except:

File kai/templates/tracebacks/index.mako

 <div class="yui-b content">
-    <h1>List Tracebacks <span class="subtle">(${c.tracebacks.total_rows})</span></h1>
+    <h1>Posted Tracebacks</h1>
     <%
     results = list(c.tracebacks)
     if c.reverse:
     install_requires=[
         "Pylons>=0.9.7rc4", "CouchDB>=0.4", "python-openid>=2.2.1",
         "pytz>=2008i", "Babel>=0.9.4", "tw.forms==0.9.2", "docutils>=0.5",
+        "PyXML>=0.8.4",
     ],
     setup_requires=["PasteScript>=1.6.3"],
     packages=find_packages(exclude=['ez_setup']),