Re: webinterface_handler.py and mod_python import

2006-06-28 Thread Frédéric Gobry
Okay, I have now documented the import order there explicitly. Tx. (Or we could switch to FastCGI at some point in time, so that we are not limited by mod_python's import context anymore. With FastCGI I guess we should be able to use Emacs+IPython REPL to hack web apps incrementally.

Re: modules to come

2006-06-27 Thread Frédéric Gobry
It's very cool, I've seen that this morning, I'm in the process of including it in my branch :-) modules/websubmit/web/approve.py modules/websubmit/web/publiline.py modules/websubmit/web/yourapprovals.py modules/websubmit/web/yoursubmissions.py Do you still have time to attack

Re: webinterface_handler.py and mod_python import

2006-06-27 Thread Frédéric Gobry
$ python webinterface_tests.py Traceback (most recent call last): File webinterface_tests.py, line 41, in ? from mod_python.util import FieldStorage ImportError: cannot import name FieldStorage preventing testsuite from running. FIxed in CVS, I wonder how it could have

Re: webinterface_handler.py and mod_python import

2006-06-27 Thread Frédéric Gobry
Yup, works like a charm. But dunno why you changed lines in testsuite.in? Out of fear that some other module might try to import mod_python before this one, and make the import trick fail. A nicer way might be to normalize the way mod_python is imported, so that we have a single point to

Re: full title in /record urls

2006-06-21 Thread Frédéric Gobry
Yes, sure. Can you keep (optionally) the otherwise commonly-used site prefix in there? Atlantis Institute of Fictive Science: Record #74: Quasinormal modes of Reissner-Nordstrom Anti-de Sitter Black Holes I'll move the generation of the content into the template, so that we can have

full title in /record urls

2006-06-20 Thread Frédéric Gobry
Hi, I've a patch to display a document's title as the page's title in /record/... URLs. Are you interested? -- Frédéric

listing public baskets for a given user

2006-06-19 Thread Frédéric Gobry
Hi. I've a use-case where I need to list public baskets for a given user (based on her email address). May I add this to /yourbaskets/list_public_baskets, maybe as a field email=... ? Alternatively, I can make this a private change. -- Frédéric

Re: listing public baskets for a given user

2006-06-19 Thread Frédéric Gobry
I've a use-case where I need to list public baskets for a given user (based on her email address). May I add this to /yourbaskets/list_public_baskets, maybe as a field email=... ? Alternatively, I can make this a private change. Just realized that the output is intended to be machine readable

Re: modules to come

2006-06-16 Thread Frédéric Gobry
I have finished porting all the modules to the new URL schema (only the user-level pages, the admin-level pages will follow shortly). It's very cool, I've seen that this morning, I'm in the process of including it in my branch :-) modules/websubmit/web/approve.py

Re: modules to come

2006-06-16 Thread Frédéric Gobry
Okay, I'll continue with the WebSubmit then. Do you have any uncommitted issues in there? (thinking of those unique file names discussions of the other thread) Not so far. I've not yet finished reapplying some templates, so issues might show up then.

Re: modules to come

2006-06-16 Thread Frédéric Gobry
I have finished porting all the modules to the new URL schema (only the user-level pages, the admin-level pages will follow shortly). I've modified the oai module so that /oai2d.py is still valid. No problem with that? -- Frédéric