Re: 'who is online' feature

2009-03-10 Thread przemek.ch
Or a different approach using sessions stored in files After log-in, user will be added to a table - users online. In the front end of the application a autologoff js script set for 10 min. User will get a warning when no activity will be detected and then logged off. Then every 5 minutes a

Re: 'who is online' feature

2009-03-08 Thread przemek.ch
Ok but You'll need a lot of memory to use memcached. I was wondering if it would be possible check if a session has expired using database/filesystem session type. Any ideas? On 8 Mar, 18:16, Jonathan Vanasco jonat...@findmeon.com wrote: you might be better off using memcached to handle this,

'who is online' feature

2009-03-07 Thread przemek.ch
Hi, I'd like to to have a list with all users who are online and logged in. Is there a way to detect session expiration? Regards P. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to

error handler

2009-03-01 Thread przemek.ch
Hi, I was wondering if its possible to handle errors returned from http://wiki.pylonshq.com/display/pylonscookbook/A+Better+Way+To+Limit+File+Upload+Size class LimitUploadSize(object): def __init__(self, app, size): self.app = app self.size = size def __call__(self,

google spell and tinymce

2009-02-22 Thread przemek.ch
Hi, I'm trying to integrate tiny mce spellchecker plug in with my pylons application. http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker Any ideas if there's a python solution to do that? Regards P --~--~-~--~~~---~--~~ You received this message

logger configuration for sqlalchemy

2009-02-10 Thread przemek.ch
Hi, Using sql alchemy I get warnings like this: C:\Python26\lib\site-packages\sqlalchemy-0.5.3dev-py2.6.egg\sqlalchemy \orm\scoping.py:121: SADeprec ationWarning: Use session.add() return getattr(self.registry(), name)(*args, **kwargs) But here I can't see the source of the problem. How can

pylons and hoteditor

2009-02-04 Thread przemek.ch
There's a nice wysiwyg/bbcode editor http://www.ecardmax.com/hoteditor/index.html. But I'm confused about one thing. The editor works like that: td script var getdata =[B]Test me[/B]; Instantiate(min,editor, getdata , 600px, 200px); /script /td So the editor will be loaded and the

routes src

2009-01-23 Thread przemek.ch
I'm getting an error while trying to get sources from svn co http://routes.groovie.org/svn/trunk routes svn: Server sent unexpected return value (405 Method Not Allowed) in response to PROPFIND request for '/svn/trunk' --~--~-~--~~~---~--~~ You received this

remember me option using SignedCookie

2009-01-06 Thread przemek.ch
I'd like to create a remember me check box on my login page. Can someone give me an example how to use http://docs.pylonshq.com/thirdparty/beaker.html#beaker.session.SignedCookie class. regards P. --~--~-~--~~~---~--~~ You received this message because you are

small problem using pudge

2008-12-15 Thread przemek.ch
Hi, when I try to generate the documentation for my application using pudge i get the following error File C:\Python25\lib\pydoc.py, line 305, in safeimport raise ErrorDuringImport(path, sys.exc_info()) pydoc.ErrorDuringImport: problem in ajax.tests - type 'exceptions.KeyError': '__file__'

Re: pylons and jquery - restricting POST calls

2008-10-21 Thread przemek.ch
')        return render('full_page_template') Jerry On Oct 15, 10:26 am, przemek.ch [EMAIL PROTECTED] wrote: Hi, I've build two select boxes. Onchange method on the first selectbox I fill with ajax the second one using the selected value as a   parameter. It works. function

pylons and jquery - restricting POST calls

2008-10-16 Thread przemek.ch
Hi, I've build two select boxes. Onchange method on the first selectbox I fill with ajax the second one using the selected value as a parameter. It works. function loadElements(groupID){ $(#secondSelectDiv).load(${h.url_for(controller='ajax', action='getElements',