moksha/api/menus/default.py | 2 +- start-moksha | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-)
New commits: commit c5c27d6b4181b9cb441c0f36b4f33ac16d3ff36d Author: Luke Macken lmacken@redhat.com Date: Thu May 7 14:59:32 2009 -0400
Use moksha.url in our menu widget
diff --git a/moksha/api/menus/default.py b/moksha/api/menus/default.py index 5b8f7c8..6b1664b 100644 --- a/moksha/api/menus/default.py +++ b/moksha/api/menus/default.py @@ -56,7 +56,7 @@ class MokshaDefaultMenu(MokshaMenu): .append($('<div/>') .attr('id', '%(id)s_loader')); $.ajax({ - url: moksha.csrf_rewrite_url('/widgets/%(id)s?chrome=True'), + url: moksha.url('/widgets/%(id)s?chrome=True'), success: function(r, s) { var $panel = $('#%(id)s_loader'); var $stripped = moksha.filter_resources(r);
commit 9582fc4b8b56dd4c0a1c0b8eade1071b742cd9f5 Merge: 1474f4e... 7e477ca... Author: Luke Macken lmacken@redhat.com Date: Thu May 7 14:31:40 2009 -0400
Merge branch 'master' of git+ssh://git.fedorahosted.org/git/moksha
commit 1474f4eb21623005753068b727e288f619bec1e8 Author: Luke Macken lmacken@redhat.com Date: Wed May 6 21:27:32 2009 -0400
Use TG2's bootstrapping script to setup the virtualenv.
This should make things Just Work for more people, however there are still dependency issues with Shove & SQLAlchemy. Ideally, we need to get this whole stack packaged properly: http://fedoraproject.org/wiki/TurboGears2
diff --git a/start-moksha b/start-moksha index 7667b07..8fbfbde 100755 --- a/start-moksha +++ b/start-moksha @@ -4,11 +4,13 @@ if [ ! $VIRTUAL_ENV ]; then if [ ! -d tg2env ]; then echo "Initializing a TurboGears2 virtual environment" - virtualenv --no-site-packages tg2env + if [ ! -f tg2-bootstrap.py ]; then + wget http://www.turbogears.org/2.0/downloads/current/tg2-bootstrap.py + fi + python tg2-bootstrap.py --no-site-packages tg2env source tg2env/bin/activate - #easy_install -U setuptools #./pip.py install -E tg2env -r normal-reqs.txt --extra-index-url=http://www.turbogears.org/2.0/downloads/current/index - easy_install -i http://www.turbogears.org/2.0/downloads/current/index tg.devtools + #easy_install -i http://www.turbogears.org/2.0/downloads/current/index tg.devtools pushd moksha/widgetbrowser; python setup.py develop; popd else source tg2env/bin/activate
moksha-commits@lists.fedorahosted.org