[web2py] Re: please help us test new web site

2010-10-11 Thread ont.rif
Can you change a little you CSS? blockquote { ... padding: 3px 15px 10px 20px; ... } with this it will look better than now. On 11 окт, 22:35, Bruno Rocha rochacbr...@gmail.com wrote: I am working on a new idea suggested by Massimo and considering every suggestion that people gave here.

[web2py] [python2.4] need patch for 1.79.2

2010-06-21 Thread ont.rif
Massimo, here non-2.4 constructions in tools.py:2838 ( get_query method ). Here my fast fix: def get_query(self, field, op, value, refsearch=False): try: if refsearch: format = self.get_format(field) if op == 'equals': if not refsearch:

[web2py] web2py bugs

2010-06-17 Thread ont.rif
Massimo, can you apply this patches ? Why my posts was completely ignored ? patches: http://groups.google.com/group/web2py/browse_thread/thread/6ceafe4a7f0beb6c http://groups.google.com/group/web2py/browse_thread/thread/bd3dde6a13608549 What's wrong for them ?

[web2py] [BUG] solution for form.custom.widget and custom widget

2010-06-14 Thread ont.rif
For complex widgets there is bug. During form validation _traverse method doesn't change form.custom.widget. But field.widget(field, value) return correct representation. This is lead to wrong field widget output for custom form and custom widget when error occurred. Solution is simple: ---

[web2py] [patch] search pattern for '{{extend}}'

2010-05-31 Thread ont.rif
Pattern in gluon/myregex.py must be compiled with MULTILINE option: regex_extend = re.compile(\ '^\s*(?Pall\{\{\s*extend\s+[\'](?Pname[^\']+)[\']\s*\}\})', re.MULTILINE ) When {{extend ''}} not in first line of file it doesn't be shown in admin page.

[web2py] [python2.4] small patch for 1.76.5

2010-04-09 Thread ont.rif
Easy and small fixes for newest web2py. This is generated with 'git format-patch -1' command. From: ont.rif ont@gmail.com Date: Fri, 9 Apr 2010 20:28:03 +0700 Subject: [PATCH] (f) fix code to work with python 2.4 --- tools.py | 12 ++-- 1 files changed, 10 insertions(+), 2

[web2py] Re: JqGrid Plugin

2010-03-28 Thread ont.rif
:-) same bug as for http://groups.google.ru/group/web2py/browse_thread/thread/96877110aa87f20c/83536771ac515f8c#83536771ac515f8c I have found intresting feature for JqGrid 3.5.2 http://blogs.teamb.com/craigstuntz/2010/02/08/38548/ May be it is useful to add this option to this plugin ? On 28

[web2py] XSS injection in jqgrid plugin

2010-03-25 Thread ont.rif
May be it is not so dangerous... It is really beauty plugin, but I easy can add any html code in table (include script/script tag). http://web2py.com/plugins/default/jqgrid -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group,

[web2py:38055] Re: web2py and python 2.4

2009-12-30 Thread ont.rif
I have found a few more problems. Below content of a patch which can fix them. Patched code sucessfully runs on CentOS 5.4 (web2py 1.74.4). I drop out fixes for sql.py diff -ru --exclude '*.pyc' --exclude sql.py ./2.5/main.py ./2.4/ main.py --- ./2.5/main.py 2009-12-16 12:42:47.0

[web2py:34329] Re: Mail.send

2009-11-01 Thread ont.rif
Did you try to change to: mail.settings.login = thade...:mypass (without @ and server name) This is because line in gluon/tools.py (username, password) = self.settings.login.split(':') On Oct 31, 2:25 am, Thadeus Burgess thade...@thadeusb.com wrote: Would anybody know why I can send mail using

[web2py:33925] Re: powered by web2py?

2009-10-28 Thread ont.rif
). It is important to stress there is a large community behind the product. On Oct 27, 12:06 am, ont.rif ont@gmail.com wrote: http://help4me.ru This is our first attempt. we use this things:   * FastCGI + apache   * PostgreSQL   * git for version control and deployment On Oct 26

[web2py:33798] Re: powered by web2py?

2009-10-26 Thread ont.rif
http://help4me.ru This is our first attempt. we use this things: * FastCGI + apache * PostgreSQL * git for version control and deployment On Oct 26, 9:46 am, mdipierro mdipie...@cs.depaul.edu wrote: www.appliedstacks.comis dead. This means I lost a way to keep track of web2py sites. So

[web2py:26400] Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
Here is exception when my script insert unicode data: [part of ticket message]- File /var/www/vhosts/help4me.ru/subdomains/web2py/httpdocs/gluon/ sql.py, line 1480, in insert

[web2py:26406] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
This patch seems to work with PostreSQL too. Here is output of diff command. % diff -u sql.py sql_new.py --- sql.py 2009-07-13 20:20:37.0 +0800 +++ sql_new.py 2009-07-13 20:20:30.0 +0800 @@ -1017,6 +1017,7 @@ self._connection.rollback() def executesql(self,

[web2py:/] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
But i can't find way to insert utf-8 data into MysSQL database! For example: tusers = db.define_table( 'users', Field( 'login', 'string', required = True, notnull = True, unique = True ), Field( 'passw', 'string', required = True,

[web2py:26423] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
In short: MySQLdb execute expect type 'unicode' string but web2py pass type 'str' object to it. May be this is a problem ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this

[web2py:26477] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
help, massimo ! On 14 июл, 00:39, mdipierro mdipie...@cs.depaul.edu wrote: perhaps it should be MySQLdb.connect(use_unicode=False) Strange I never had a problem with this? On Jul 13, 10:04 am, ont.rif ont@gmail.com wrote: In short: MySQLdb execute expect type 'unicode' string

[web2py:26011] gluon/validators.py for python 2.4

2009-07-08 Thread ont.rif
Some portion of code in gluon/validators.py use python 2.5 specific code. And so, registration of users in web2py does not work on hosting with CentOS 5.3 Solution: change this: domain = value.partition('@')[2] to this: ## absent in python 2.4 domain = value.partition('@')[2] domain =