setup.py
by Luke Macken
setup.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 67eddef873844757572de4c4b4bde86670a244f5
Author: Luke Macken <lmacken(a)redhat.com>
Date: Sat Feb 27 15:05:13 2010 -0500
We need pyOpenSSL...
diff --git a/setup.py b/setup.py
index 8a27c52..08e8bbe 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,8 @@ setup(
"Paver",
"tw.forms",
"pytz",
- "Babel"
+ "Babel",
+ "pyOpenSSL",
#"repoze.squeeze", # Not hard requirements
#"repoze.profile", # Not hard requirements
],
14 years, 2 months
setup.py
by Luke Macken
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 896c4501fd34eace345b54c18119be6f7bd64242
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Feb 26 15:04:45 2010 -0500
Tweak our tw.jquery requirement
diff --git a/setup.py b/setup.py
index 356f916..8a27c52 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ setup(
#"Shove",
"feedcache",
"feedparser",
- "tw.jquery==dev",
+ "tw.jquery",
"orbited",
"Twisted",
"stomper",
14 years, 2 months
setup.py
by Luke Macken
setup.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
New commits:
commit f259390c380c5926ad899c27214192b6da848f88
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Feb 26 15:01:33 2010 -0500
Tweak some of our package requirements
diff --git a/setup.py b/setup.py
index 6fbbb2d..356f916 100644
--- a/setup.py
+++ b/setup.py
@@ -31,19 +31,17 @@ setup(
#"Shove",
"feedcache",
"feedparser",
- "tw.jquery>=0.9.4.1",
- #"repoze.squeeze", # Not hard requirements
- #"repoze.profile", # Not hard requirements
+ "tw.jquery==dev",
"orbited",
- #"Twisted",
+ "Twisted",
"stomper",
"Sphinx",
"Paver",
"tw.forms",
"pytz",
- #"Catwalk",
"Babel"
- #"WidgetBrowser", # not in PyPi yet
+ #"repoze.squeeze", # Not hard requirements
+ #"repoze.profile", # Not hard requirements
],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
14 years, 2 months
moksha/templates
by Luke Macken
moksha/templates/widget.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9aa4ccaac822936c211c45c921bbbcbb7561f3e9
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Feb 24 21:28:29 2010 -0500
Get our test suite working with TG2.0 and TG2.1!
diff --git a/moksha/templates/widget.mak b/moksha/templates/widget.mak
index 1d905d8..c3ab842 100644
--- a/moksha/templates/widget.mak
+++ b/moksha/templates/widget.mak
@@ -2,7 +2,7 @@
<head></head>
<body>${tmpl_context.widget(**options)}</body>
- % if tmpl_context.moksha_socket:
+ % if hasattr(tmpl_context, 'moksha_socket') and not isinstance(tmpl_context.moksha_socket, basestring) :
${tmpl_context.moksha_socket()}
% endif
14 years, 2 months
2 commits - moksha/websetup.py start-moksha
by Luke Macken
moksha/websetup.py | 6 ++++++
start-moksha | 1 +
2 files changed, 7 insertions(+)
New commits:
commit 0feb6b20cfc09ae89adc74e62998e6682226c80c
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Feb 24 19:59:38 2010 -0500
Require the latest Beaker... we really need to do this properly in the setup.py
diff --git a/start-moksha b/start-moksha
index b7dad19..ced4812 100755
--- a/start-moksha
+++ b/start-moksha
@@ -26,6 +26,7 @@ if [ ! $VIRTUAL_ENV ]; then
easy_install tw.jquery==dev
easy_install -U SQLAlchemy
easy_install -U FormEncode
+ easy_install -U Beaker
# `install` instead of `develop` to avoid weird directory vs. egg
# namespace issues
commit fb71b4413449b7851fcbc932c3c345f8acd7e543
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Feb 24 19:58:47 2010 -0500
Disable our fact/entity creation in the websetup, for now
diff --git a/moksha/websetup.py b/moksha/websetup.py
index b427f55..5c5f473 100644
--- a/moksha/websetup.py
+++ b/moksha/websetup.py
@@ -66,5 +66,11 @@ def setup_config(command, filename, section, vars):
model.DBSession.add(u1)
model.DBSession.flush()
+ # Create some knowledge
+ #from moksha.apps.knowledge.model import Entity
+ #snake = Entity(u'Python')
+ #snake[u'type'] = 'snake'
+ #model.DBSession.add(snake)
+
transaction.commit()
print "Successfully setup"
14 years, 2 months
moksha/tests
by Luke Macken
moksha/tests/functional/test_authentication.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9e922a4bf9ef29dbe39cdaf7b3c8dfb6446c4648
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Feb 24 19:57:03 2010 -0500
Update our test_authentication.py to work with the new TG 2.1 stack
diff --git a/moksha/tests/functional/test_authentication.py b/moksha/tests/functional/test_authentication.py
index a86dcb2..becdc5c 100644
--- a/moksha/tests/functional/test_authentication.py
+++ b/moksha/tests/functional/test_authentication.py
@@ -97,6 +97,7 @@ class TestAuthentication(TestController):
assert resp.location.startswith('http://localhost/post_logout')
# Finally, redirected to the home page:
home_page = resp.follow(status=302)
- assert home_page.request.cookies.get('authtkt') == '', \
+ authtkt = home_page.request.cookies.get('authtkt')
+ assert authtkt in ('', 'INVALID'), \
'Session cookie was not deleted: %s' % home_page.request.cookies
assert home_page.location == 'http://localhost/', home_page.location
14 years, 2 months