<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,7 +8,7 @@
 
 # pick the form for your database
 # sqlobject.dburi=&quot;postgres://username@hostname/databasename&quot;
-sqlobject.dburi=&quot;mysql://ecaeps:5ruveubr-Hekew@ecweb.uoregon.edu:3306/ecaeps?use_unicode=1&amp;charset=utf8&amp;sqlobject_encoding=utf8&quot;
+sqlobject.dburi=&quot;mysql://username:password@server:3306/ecaeps?use_unicode=1&amp;charset=utf8&amp;sqlobject_encoding=utf8&quot;
 # sqlobject.dburi=&quot;sqlite:///file_name_and_path&quot;
 
 # If you have sqlite, here's a simple default to get you started</diff>
      <filename>ecAEPS/dev.cfg</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,4 @@ ecaeps/json.py
 ecaeps/model.py
 ecaeps/release.py
 ecaeps/config/__init__.py
-ecaeps/templates/__init__.py
-ecaeps/tests/__init__.py
-ecaeps/tests/test_controllers.py
-ecaeps/tests/test_model.py
+ecaeps/templates/__init__.py
\ No newline at end of file</diff>
      <filename>ecAEPS/ecAEPS.egg-info/SOURCES.txt</filename>
    </modified>
    <modified>
      <diff>@@ -44,12 +44,6 @@ class AssessmentController(controllers.Controller, identity.SecureResource):
 	def index1(self, id=None, category=None, osep='None', print_area='false'):
 		if identity.current.user.basketmode:
 			raise redirect(url(&quot;index2&quot;,id=id,category=category,osep=osep,print_area=print_area))
-		
-#		if osep is not None:
-#			if osep == 'True':
-#				osep = True
-#			else:
-#				osep = False
 		osep = True
 	
 		if print_area == 'true':</diff>
      <filename>ecAEPS/ecaeps/assessment.py</filename>
    </modified>
    <modified>
      <diff>@@ -2,6 +2,14 @@ import lucene
 import turbogears
 import sys
 
+# To use this library:
+#
+# Add rowDeleted, rowAdded, and rowUpdated as deleted, added, and updated listeners to the correct SQLObject model
+# 
+# Initialize the index by calling initIndex with the SQLObject table class that you want to index
+# 
+# To search the index, call doSearch with a lucene query string. The optional field parameter is the field in each lucene document that contains the database id for the document.
+
 try:
 	lucene.initVM(lucene.CLASSPATH)
 except:
@@ -68,12 +76,10 @@ def initIndex(tbl):
 		acc += 1
 		if acc % 100 == 0:
 			print acc
-		#Begin Lucene copy section
 		doc = lucene.Document()
 		doc.add(lucene.Field(&quot;id&quot;, unicode(c.id), STORE, UN_TOKENIZED))
 		for i in lfc['fields']:
 			doc.add(lucene.Field(i['name'], unicode(eval(LuceneFileCache.getValue(i))), COMPRESS, TOKENIZED))
-		#End Lucene copy section
 		writer.addDocument(doc)
 	writer.optimize(True)
 	writer.close()
@@ -89,7 +95,6 @@ def reindex(c):
 		COMPRESS = lucene.Field.Store.COMPRESS
 		TOKENIZED = lucene.Field.Index.TOKENIZED
 		UN_TOKENIZED = lucene.Field.Index.UN_TOKENIZED
-		#Begin Lucene copy section
 		doc = lucene.Document()
 		doc.add(lucene.Field(&quot;id&quot;, unicode(c.id), STORE, UN_TOKENIZED))
 		lfc = LuceneFileCache().get_field_struct()
@@ -97,7 +102,6 @@ def reindex(c):
 			modules = map(__import__, lfc['modules'])
 		for i in lfc['fields']:
 			doc.add(lucene.Field(i['name'], unicode(eval(LuceneFileCache.getValue(i))), COMPRESS, TOKENIZED))
-		#End Lucene copy section
 		writer.deleteDocuments(lucene.Term(&quot;id&quot;, unicode(c.id)))
 		writer.addDocument(doc)
 		writer.optimize(True)</diff>
      <filename>ecAEPS/ecaeps/luceneUtil.py</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,11 @@
 
 version = &quot;1.0&quot;
 
-# description = &quot;Your plan to rule the world&quot;
-# long_description = &quot;More description about your plan&quot;
-# author = &quot;Your Name Here&quot;
-# email = &quot;YourEmail@YourDomain&quot;
-# copyright = &quot;Vintage 2006 - a good year indeed&quot;
+description = &quot;Replacement for AEPSi&quot;
+long_description = &quot;This TurboGears project created to replace AEPSi due to the extreme nastiness of said project's user interface, as well as its cost.&quot;
+author = &quot;Silas Snider and James Sirard&quot;
+email = &quot;swsnider@gmail.com&quot;
+copyright = &quot;Copyright 2008 EC CARES&quot;
 
 # if it's open source, you might want to specify these
 # url = &quot;http://yourcool.site/&quot;</diff>
      <filename>ecAEPS/ecaeps/release.py</filename>
    </modified>
    <modified>
      <diff>@@ -21,6 +21,7 @@ else:
     update_config(configfile=&quot;prod.cfg&quot;,modulename=&quot;ecaeps.config&quot;)
 config.update(dict(package=&quot;ecaeps&quot;))
 
+#Add listeners to SQLObject so that the Lucene index is automatically updated
 import sqlobject.events as e
 from ecaeps.model import Child
 import ecaeps.luceneUtil as luceneUtil</diff>
      <filename>ecAEPS/start-ecaeps.py</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>ecAEPS/ecaeps/tests/__init__.py</filename>
    </removed>
    <removed>
      <filename>ecAEPS/ecaeps/tests/test_controllers.py</filename>
    </removed>
    <removed>
      <filename>ecAEPS/ecaeps/tests/test_model.py</filename>
    </removed>
    <removed>
      <filename>ecAEPS/test.cfg</filename>
    </removed>
    <removed>
      <filename>ecAEPS/updateme.sh</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>e825fef5c4dd432e0d6a98b2c7a85d988674a230</id>
    </parent>
  </parents>
  <author>
    <name>Silas Snider</name>
    <email>ssnider@macadamia.cs.uoregon.edu</email>
  </author>
  <url>http://github.com/swsnider/portfolio/commit/0572126c337198562280bbe9692ebf3793582ce9</url>
  <id>0572126c337198562280bbe9692ebf3793582ce9</id>
  <committed-date>2008-03-10T22:38:47-07:00</committed-date>
  <authored-date>2008-03-10T22:38:47-07:00</authored-date>
  <message>fixed it up</message>
  <tree>a56b0fe92497a770a6a79d97d33550a29032ae51</tree>
  <committer>
    <name>Silas Snider</name>
    <email>ssnider@macadamia.cs.uoregon.edu</email>
  </committer>
</commit>
