[web2py] getting started with fbconnect

2010-04-19 Thread Rohan
Hi All, I want to use fbconnect with web2py. I found couple of threads in this group 1. http://groups.google.com/group/web2py/browse_frm/thread/84f27e0a06312da2/df12a6fac159242e?lnk=gst&q=fbconnect#df12a6fac159242e 2. http://groups.google.com/group/web2py/browse_frm/thread/31e9149ad731067d/938e0

[web2py] Re: Creating a new auth session

2010-04-19 Thread Rohan
hi Jon, Can you please share updates on integration between fbconnect and auth.user()? Thanks On Feb 2, 4:34 pm, Jon Romero wrote: > But then how auth.user is updated? > > > > > > >All auth does on successful login is: > >from gluon.storage import Storage > >session.auth=Storage() > >session.au

[web2py] Customizing Retrieve password process

2010-04-19 Thread Rohan
Hi All, Currently my retrieve password application sends new password directly to user. Anyone can reset password of any other user as long as they know the email id. So I want to customize the process and want to send a mail to user asking user to verify email and reset password from some link pr

[web2py] storing sessions for auth users

2010-04-19 Thread selecta
I wonder what is the best way to store session of auth users What I want is to retrieve an old session of a user when he loges in again (restoring all his customizations etc) To achieve this I could A) store the session in a table once the user loges out, but then I would loose changes if the sess

Re: [web2py] storing sessions for auth users

2010-04-19 Thread Jason Brower
On the same lines, I wonder if someone could simply pickle everything is session and save it in teh database under there user id. BR, Jason On Mon, 2010-04-19 at 03:18 -0700, selecta wrote: > I wonder what is the best way to store session of auth users > > What I want is to retrieve an old sessio

[web2py] Re: Trouble starting web2py

2010-04-19 Thread szimszon
Is there now a quick way to start web2py without removing simplejson from debian? Tnx. On ápr. 11, 16:23, mdipierro wrote: > What's your advice about this? > > Out r version of simplejson is patched to serialize dates. We could > upgrade to the latest and re-patch and for now this problem will g

Re: [web2py] Re: Trouble starting web2py

2010-04-19 Thread Mathieu Clabaut
I use virtualenvwrapper http://www.doughellmann.com/docs/virtualenvwrapper/ which seems to work like a charm. export WORKON_HOME=$HOME/.virtualenvs source /usr/bin/virtualenvwrapper.sh # put those 2 lines in your $HOME/.bashrc mkvirtualenv web2py >From here, you just have to type : workon web2py

[web2py] Re: Trouble starting web2py

2010-04-19 Thread szimszon
I got the some traceback as before :( >>> sys.path ['', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages/ setuptools-0.6c11-py2.5.egg', '/usr/lib/pymodules/python2.5', '/home/ szimszon/.virtualenvs/web2py/lib/python2.5', '/home/ szimszon/.virtualenvs/web2py/lib/python2.5/plat-linux2

[web2py] creating links to '#blah'

2010-04-19 Thread G. Clifford Williams
I'm trying to figure out how to get links created in web2py that point to an anchor name here is the code I'm using: {{=DIV(SPAN(gripe.created_on, _class='gripe-date'), A(SPAN(SPAN('Comments:'), SPAN(gripe.comments, _class='comment-num

[web2py] Re: storing sessions for auth users

2010-04-19 Thread selecta
that should work On Apr 19, 1:06 pm, Jason Brower wrote: > On the same lines, I wonder if someone could simply pickle everything is > session and save it in teh database under there user id. > BR, > Jason > > > > > > On Mon, 2010-04-19 at 03:18 -0700, selecta wrote: > > I wonder what is the best

[web2py] Proposing a web2py Community spring.

2010-04-19 Thread Albert Abril
Hi there! It's known that other communities like rails and django do sprints. Not sure if here has been one time ago, but for what i read i think that no. I would to ask here to the web2py like to do a sprint. We could suggest subjects to focus, as: - fixing bugs - making improvement and

Re: [web2py] Proposing a web2py Community spring.

2010-04-19 Thread Jason Brower
+1 if you can pick the day soon enough. On Mon, 2010-04-19 at 15:14 +0200, Albert Abril wrote: > Hi there! > > It's known that other communities like rails and django do sprints. > Not sure if here has been one time ago, but for what i read i think > that no. > > I would to ask here to the web2py

Re: [web2py] creating links to '#blah'

2010-04-19 Thread Thadeus Burgess
You probably want, XML('#comments', sanitize=False) -- Thadeus On Mon, Apr 19, 2010 at 7:38 AM, G. Clifford Williams wrote: > I'm trying to figure out how to get links created in web2py that point to an > anchor name here is the code I'm using: > >            {{=DIV(SPAN(gripe.created_on,

[web2py] Re: can I hook my code to db.connect() ?

2010-04-19 Thread mdipierro
There is no hook for this, but should this not be always the default? If so I am happy to add it to trunk. Any counterindication? On Apr 19, 12:32 am, Alexey Nezhdanov wrote: > Hi. > Sometimes I have to execute this line prior to making a query: >     oradb.executesql("ALTER SESSION set NLS_DATE_

Re: [web2py] Re: Session id gets re-used

2010-04-19 Thread Thadeus Burgess
The session ID is only unique between your web browser and your application. Try this test using two different web browsers. -- Thadeus On Mon, Apr 19, 2010 at 1:21 AM, Adi wrote: > Update: > > This seems to work in user(): > >  if request.args(0) == 'login': >      session.clear() > > Am I

[web2py] Re: Session id gets re-used

2010-04-19 Thread mdipierro
This is a feature. The web2py session (mapped to a file or db record) is one thing, the auth session (logical) is another. The web2py session is linked to your browser session. The auth session affects whether you are logged in or not. You may want the server to remember you or not whether you are

[web2py] Re: Creating a new auth session

2010-04-19 Thread mdipierro
fbconnect has not been integrated with Auth. It would be easy to do but has not been done yet. On Apr 19, 2:42 am, Rohan wrote: > hi Jon, > > Can you please share updates on integration between fbconnect and > auth.user()? > > Thanks > > On Feb 2, 4:34 pm, Jon Romero wrote: > > > > > But then ho

[web2py] Re: Customizing Retrieve password process

2010-04-19 Thread mdipierro
Yes. auth.settings.reset_password_requires_verification = True On Apr 19, 5:10 am, Rohan wrote: > Hi All, > > Currently my retrieve password application sends new password directly > to user. Anyone can reset password of any other user as long as they > know the email id. So I want to customize

[web2py] Re: Creating a new auth session

2010-04-19 Thread Jon Romero
actually it is :) I just haven't got the time to upgrade the code :\ You can see that is FULLY integrated on this site: http://beyourstar.gr After facebook login, you get an auth.user :D On Apr 19, 5:21 pm, mdipierro wrote: > fbconnect has not been integrated with Auth. It would be easy to do >

[web2py] Re: Proposing a web2py Community spring.

2010-04-19 Thread mdipierro
I am all for it but I would focus on >- develop apps (a better cms, twitter clones..) >- write howto's at your blogs and not on >- fixing bugs Because bugs are normally fixed within 24 hours anyway and I would not want people to fix things that they think are bugs but may not be.

[web2py] Re: creating links to '#blah'

2010-04-19 Thread mdipierro
NOO! URL(r=request, f='gripe',anchor=comments,args=gripe.id) On Apr 19, 9:12 am, Thadeus Burgess wrote: > You probably want, > > XML('#comments', sanitize=False) > > -- > Thadeus > > On Mon, Apr 19, 2010 at 7:38 AM, G. Clifford Williams > > wrote: > > I'm trying to figure out how to get l

[web2py] Re: Uploaded file streaming

2010-04-19 Thread Dragonfyre13
That's much better. Thanks! On Apr 16, 2:04 pm, mdipierro wrote: > never hardcode a path: > > import os > > return > response.stream(os.path.join(request.application,'uploads',rows[0].filedata > ),'rb')) > > response stream makes sure that RANGE request are also supported. > > On Apr 16, 12:57 p

Re: [web2py] Re: storing sessions for auth users

2010-04-19 Thread Thadeus Burgess
Or have a "settings" table that is linked by user id? They only get the site customizations if they are logged in? -- Thadeus On Mon, Apr 19, 2010 at 8:01 AM, selecta wrote: > that should work > > On Apr 19, 1:06 pm, Jason Brower wrote: >> On the same lines, I wonder if someone could simply

[web2py] Re: Creating a new auth session

2010-04-19 Thread mdipierro
wow? Is this implemented as a gluon/contrib/login_method? On Apr 19, 9:26 am, Jon Romero wrote: > actually it is :) I just haven't got the time to upgrade the code :\ > > You can see that is FULLY integrated on this site:http://beyourstar.gr > > After facebook login, you get an auth.user :D > > O

Re: [web2py] creating links to '#blah'

2010-04-19 Thread Jonathan Lundell
On Apr 19, 2010, at 5:38 AM, G. Clifford Williams wrote: > I'm trying to figure out how to get links created in web2py that point to an > anchor name here is the code I'm using: > >{{=DIV(SPAN(gripe.created_on, _class='gripe-date'), >A(SPAN(SPAN('Comments:'), >

Re: [web2py] Re: Uploaded file streaming

2010-04-19 Thread Thadeus Burgess
Also, you can set the X-Sendfile header if your webserver supports it. Basically, you set this header as the location of the file you want to serve, the webserver will then discard everything in response.body, and serve the file itself. You get the benefits of back-end authorization, and the speed

Re: [web2py] Re: Proposing a web2py Community spring.

2010-04-19 Thread Albert Abril
I agree with bugs, because the naturallity of opensource, it was only as proposal of finding bugs as others communities do. In all the points, personally my favourite is on dev apps. Also, I understand that write howto's, or making great layouts (design) would be so much useful too. Maybe somethin

[web2py] Re: Creating a new auth session

2010-04-19 Thread Jon Romero
sadly no :( Take a look at it here: http://codepad.org/tadGosTd I am using my prototype activerecord for some database calls (that should explain the find_by_id). On Apr 19, 5:31 pm, mdipierro wrote: > wow? Is this implemented as a gluon/contrib/login_method? > > On Apr 19, 9:26 am, Jon Romero

[web2py] 1.77.1 is OUT

2010-04-19 Thread mdipierro
#1.77.1 Replaced CherryPy with Rocket web server, thanks Tim CacheOnDisk allows to specify a folder IS_DATE/DATETIME can handle any year since 0 SQLTABLE(...,headers='fieldname:capitalize') Field().with_alias, thanks Nathan and Mengu has_membership(group=...,role=...), thank Jonathan db.define_tabl

[web2py] Re: Creating a new auth session

2010-04-19 Thread mdipierro
I do not see this using db.auth_user at all. Did you rename it db.users? On Apr 19, 9:50 am, Jon Romero wrote: > sadly no :( > > Take a look at it here:http://codepad.org/tadGosTd > > I am using my prototype activerecord for some database calls (that > should explain the find_by_id). > > On Apr 1

[web2py] Re: Creating a new auth session

2010-04-19 Thread Jon Romero
yes, sorry :) db.define_table('users', Field('username', 'string', unique=True, label="Username [*]"), Field('password', 'password', requires=CRYPT(), readable=False, label="Password [*]"), Field('registration_key',length=128, writable=False, readable=False), Field(

Re: [web2py] Re: Proposing a web2py Community spring.

2010-04-19 Thread Albert Abril
Of course, where i told *spring* i would mean *sprint*. Sorry for my.. (not agile) english. On Mon, Apr 19, 2010 at 4:39 PM, Albert Abril wrote: > I agree with bugs, because the naturallity of opensource, it was only as > proposal of finding bugs as others communities do. > In all the points, per

Re: [web2py] Customizing Retrieve password process

2010-04-19 Thread Abdul R. Gani
Same weakness exists. On Mon, Apr 19, 2010 at 12:10 PM, Rohan wrote: > Hi All, > > Currently my retrieve password application sends new password directly > to user. Anyone can reset password of any other user as long as they > know the email id. So I want to customize the process and want to sen

[web2py] Re: Customizing Retrieve password process

2010-04-19 Thread mdipierro
What link are you using? You should be using http:///user/request_reset_password and you should auth.settings.actions_disabled=['retrieve_password'] On Apr 19, 9:22 am, "Abdul R. Gani" wrote: > Same weakness exists. > > > > On Mon, Apr 19, 2010 at 12:10 PM, Rohan wrote: > > Hi All, > > >

[web2py] Re: Creating a new auth session

2010-04-19 Thread mdipierro
OK. when you make the slice please call it auth_user. ;-) On Apr 19, 10:00 am, Jon Romero wrote: > yes, sorry :) > > db.define_table('users', >         Field('username', 'string', unique=True, label="Username [*]"), >         Field('password', 'password', requires=CRYPT(), readable=False, > label

[web2py] Re: Creating a new auth session

2010-04-19 Thread Jon Romero
Will do :D On Apr 19, 6:10 pm, mdipierro wrote: > OK. when you make the slice please call it auth_user. ;-) > > On Apr 19, 10:00 am, Jon Romero wrote: > > > > > yes, sorry :) > > > db.define_table('users', > >         Field('username', 'string', unique=True, label="Username [*]"), > >         Fi

Re: [web2py] Re: can I hook my code to db.connect() ?

2010-04-19 Thread Alexey Nezhdanov
No, I'm all for it. Actually it sounds more like bugfix since atm web2py can't make datetime queries on Oracle. On Mon, Apr 19, 2010 at 6:16 PM, mdipierro wrote: > There is no hook for this, but should this not be always the default? > If so I am happy to add it to trunk. Any counterindication?

[web2py] Re: can I hook my code to db.connect() ?

2010-04-19 Thread mdipierro
taking a second look at the source code self._execute("ALTER SESSION SET NLS_DATE_FORMAT = '- MM-DD';") self._execute("ALTER SESSION SET NLS_TIMESTAMP_FORMAT = '-MM-DD HH24:MI:SS';") Now you propose adding: self._execute("ALTER SESSION set NLS_DATE_FOR

[web2py] time data type and sql forms

2010-04-19 Thread dave
Since upgrading to latest version (from prior version) I can't enter a time into the sql form using either the time helper object or manually by typing. The field back ground show red like an error. I'm using mysql 5.1.45 with tables using engine=innodb, and a table definition shown below: db.d

[web2py] http://www.web2py.com doesnt load

2010-04-19 Thread Pystar
Hello guys, I have noticed for sometime now that I can no longer access web2py.com. i live in Lagos, Nigeria, and this never used to be a problem for me. I want to download the current version of web2py (1.77.1) but cant do so due to this problem. Can anyone please direct me to any alternative down

Re: [web2py] http://www.web2py.com doesnt load

2010-04-19 Thread Thadeus Burgess
Most likely your IP has been blocked by Massimo's aggressive security script. Until yall can figure out what happened, I have mirrored 1.77.1 here: http://static.thadeusb.com/web2py%201.77.1/ -- Thadeus On Mon, Apr 19, 2010 at 1:50 PM, Pystar wrote: > Hello guys, > I have noticed for somet

Re: [web2py] http://www.web2py.com doesnt load

2010-04-19 Thread Cody Harlow
Try from Google Code. It's the dev version though. http://code.google.com/p/web2py/ On Mon, Apr 19, 2010 at 2:50 PM, Pystar wrote: > Hello guys, > I have noticed for sometime now that I can no longer access > web2py.com. i live in Lagos, Nigeria, and this never used to be a > problem for me. I

[web2py] web2py 1.77.2 is OUT

2010-04-19 Thread mdipierro
There was a bug in 1.77.1: the new layout uses ez.css and it changes the z-index of the content. As a result the date/datetime/time popup appear under the windows. I have not fixed this but please check it under IE since I did not get a chance to try that. z-index in IE behaves funny. Massimo

[web2py] Re: time data type and sql forms

2010-04-19 Thread mdipierro
good catch. fixed in 1.77.2 On Apr 19, 12:14 pm, dave wrote: > Since upgrading to latest version (from prior version)  I can't enter > a time into the sql form using either the time helper object or > manually by typing.  The field back ground show red like an error. > > I'm using mysql 5.1.45 w

[web2py] Re: Trouble starting web2py

2010-04-19 Thread szimszon
I can't run it (1.77.1) even if I installed the simplejson 1.9.2 in virtualenv: >>> sys.path ['', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages/ setuptools-0.6c11-py2.5.egg', '/home/szimszon/.virtualenvs/web2py/lib/ python2.5/site-packages/simplejson-1.9.2-py2.5.egg'... On ápr.

[web2py] Re: Trouble starting web2py

2010-04-19 Thread mdipierro
try copy simplejson into gluon/contrib/simplejson for now. On Apr 19, 3:23 pm, szimszon wrote: > I can't run it (1.77.1) even if I installed the simplejson 1.9.2 in > virtualenv: > > >>> sys.path > > ['', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages/ > setuptools-0.6c11-py2.5.

[web2py] Re: Trouble starting web2py

2010-04-19 Thread szimszon
Okay, copy "/usr/share/pyshared/simplejson" to gluon/contrib seems to work for me. BigTNX. (1.77.2 :) On ápr. 19, 22:25, mdipierro wrote: > try copy simplejson into gluon/contrib/simplejson for now. > > On Apr 19, 3:23 pm, szimszon wrote: > > > > > I can't run it (1.77.1) even if I installed th

[web2py] rocket performance

2010-04-19 Thread elffikk
a simple test loading one by one the same link, leaving concurrency and advanced testing to Tim and others :) just wanted to feel the improvement, and I have to say Tim did his job very well web2py 1.76.5 vs 1.77.1 load test 10 requests: 1.76.5 - 0.3016 seconds 1.77.1 - 0.2736 seconds 100 re

[web2py] Re: Trouble starting web2py

2010-04-19 Thread mdipierro
Mind that this is not the end of the story. The simplejson that ships with web2py was modified to handle date/datetime/time. By replacing with the latest official simplejson you will may not be able to serialize DAL records. One option is to include latest web2py in web2py and re-apply the patch.

[web2py] a bug of sorts in app installation

2010-04-19 Thread Jonathan Lundell
I've been trying to install an app through admin, and it's been failing. (Problem #1: there's no feedback at all when this happens, just a message that the install failed; I had to run a debugger to find out why.) It turned out that fix_newlines was raising an exception because it was trying to

[web2py] another compilation question

2010-04-19 Thread Jonathan Lundell
When I compile an app, and the install it, it appears that controllers show up twice: once in controllers/ as one .pyc per controller file, and again in compiled/, this time once per function. What's going on, and how are these files used? Also, the manual says: > Because views can extend and

[web2py] best practice for an upload with a very long file name

2010-04-19 Thread Rowdy
Greetings, I am (still) using 1.76.5, running under Ubuntu 7.10. During file upload (whether from a form or as part of a cron job that extract files attached to emails) I am finding that some long filenames are causing the store() function to choke: Traceback (most recent call last): File "ap

[web2py] Re: best practice for an upload with a very long file name

2010-04-19 Thread mdipierro
I was not aware of this limit. In gluon/sql.py you should replace: newfilename = newfilename[:500] + '.' + extension with something like newfilename = newfilename[:120] + '.' + extension perhaps this should be the default? Massimo On Apr 19, 5:16 pm, Rowdy wrote: > Greetings, > > I am (still

[web2py] Re: rocket performance

2010-04-19 Thread mdipierro
:-) On Apr 19, 3:57 pm, elffikk wrote: >  a simple test loading one by one the same link, leaving concurrency > and advanced testing to Tim and others :) > just wanted to feel the improvement, and I have to say Tim did his job > very well > > web2py 1.76.5  vs 1.77.1 load test > > 10 requests: >

[web2py] Re: another compilation question

2010-04-19 Thread mdipierro
web2py does something clever for view but very stupid for controllers. The good: For each action is collapses its view, all extended views (layout for example) and included views into a single pyc file. The bad: For each action it generates one pyc that contains a copy of the entire controller.

[web2py] IE6 problems

2010-04-19 Thread mdipierro
User yanni has reported this problem with IE6 http://i.imgur.com/ivWKA.jpg I do not have a windows machine but if anybody can suggest a css fix I will be happy to include it. Massimo -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] Re: best practice for an upload with a very long file name

2010-04-19 Thread Rowdy
mdipierro wrote: I was not aware of this limit. In gluon/sql.py you should replace: newfilename = newfilename[:500] + '.' + extension with something like newfilename = newfilename[:120] + '.' + extension perhaps this should be the default? Massimo That is exactly what I was looking for, an

[web2py] Re: best practice for an upload with a very long file name

2010-04-19 Thread mdipierro
Any objection to make this 200? Massimo On Apr 19, 6:22 pm, Rowdy wrote: > mdipierro wrote: > > I was not aware of this limit. > > > In gluon/sql.py you should replace: > > newfilename = newfilename[:500] + '.' + extension > > > with something like > > > newfilename = newfilename[:120] + '.' + e

[web2py] Re: best practice for an upload with a very long file name

2010-04-19 Thread Rowdy
mdipierro wrote: Any objection to make this 200? Massimo The limit seems to be NTFS with a maximum of 226 characters. I have accumulated nearly 60,000 files in a legacy application, and the longest extension is 5 characters (".batch"). No objection from me. Rowdy -- Subscription settings

Re: [web2py] Re: another compilation question

2010-04-19 Thread Jonathan Lundell
On Apr 19, 2010, at 4:10 PM, mdipierro wrote: > web2py does something clever for view but very stupid for controllers. > > The good: > For each action is collapses its view, all extended views (layout for > example) and included views into a single pyc file. > > The bad: > For each action it gen

[web2py] web2py.com Documentation links book

2010-04-19 Thread Richard
I noticed the web2py.com Documentation link now points to the book. What will happen to the existing documentation - AlterEgo, etc? -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] Re: another compilation question

2010-04-19 Thread mdipierro
> Why does the compiled version include the .pyc files in controllers/ (outside > of compiled/)? It doesn't seem like those get used, at least not by > run_controller_in. I think you refer to line 298 of compileapp.py. I do not recall why it is there. I will try remove it and see what breaks. >

[web2py] Re: web2py.com Documentation links book

2010-04-19 Thread mdipierro
It is linked from the book. On Apr 19, 7:04 pm, Richard wrote: > I noticed the web2py.com Documentation link now points to the book. > What will happen to the existing documentation - AlterEgo, etc? > > -- > Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

Re: [web2py] Re: another compilation question

2010-04-19 Thread Jonathan Lundell
On Apr 19, 2010, at 5:05 PM, mdipierro wrote: >> Why does the compiled version include the .pyc files in controllers/ >> (outside of compiled/)? It doesn't seem like those get used, at least not by >> run_controller_in. > > I think you refer to line 298 of compileapp.py. I do not recall why it

[web2py] Re: another compilation question

2010-04-19 Thread mdipierro
I tried remove it and I an error in listdir. Massimo On Apr 19, 7:22 pm, Jonathan Lundell wrote: > On Apr 19, 2010, at 5:05 PM, mdipierro wrote: > > >> Why does the compiled version include the .pyc files in controllers/ > >> (outside of compiled/)? It doesn't seem like those get used, at least

[web2py] web2py wrong version

2010-04-19 Thread elffikk
hi, just downloaded 1.77.2 (from http://www.web2py.com/examples/static/web2py_src.zip ), but it shows that is version 1.77.1 content of version file: Version 1.77.1 (2010-04-19 15:50:56) -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] delete database entry by form

2010-04-19 Thread claudio
I have a newbie question: How can I create a form to delete selected entries from a database? Can I use SQLFORM for this? I have tables roughly like this in db.py db.define_table('person', Field('name')) db.define_table('posts', Field('title'), Field('author',db.person)) and in default.py a fun

[web2py] Re: delete database entry by form

2010-04-19 Thread mdipierro
This would delete all posts by current user for example: db(db.posts.author==auth.user_id).delete() On Apr 19, 7:12 pm, claudio wrote: > I have a newbie question: How can I create a form to delete selected > entries from a database? Can I use SQLFORM for this? > > I have tables roughly like this

[web2py] Re: web2py wrong version

2010-04-19 Thread mdipierro
Something when wrong in the build script. To avoid confusion I will post a 1.77.3. Massimo On Apr 19, 8:18 pm, elffikk wrote: > hi, > > just downloaded 1.77.2   > (fromhttp://www.web2py.com/examples/static/web2py_src.zip > ), > but it shows that is version 1.77.1 > content of version file: > Vers

Re: [web2py] IE6 problems

2010-04-19 Thread Thadeus Burgess
Display the following code inside your layout.html file. http://pastebin.com/exyxkACz -- Thadeus On Mon, Apr 19, 2010 at 6:15 PM, mdipierro wrote: > User yanni has reported this problem with IE6 > http://i.imgur.com/ivWKA.jpg > I do not have a windows machine but if anybody can suggest a cs

Re: [web2py] Re: another compilation question

2010-04-19 Thread Jonathan Lundell
On Apr 19, 2010, at 6:16 PM, mdipierro wrote: > I tried remove it and I an error in listdir. Odd, since listdir starts out with: if path[-1:] != '/': path = path + '/' Which one did you remove that caused the error? > > Massimo > > On Apr 19, 7:22 pm, Jonathan Lundell wrote: >>

Re: [web2py] IE6 problems

2010-04-19 Thread Álvaro Justen [Turicas]
On Mon, Apr 19, 2010 at 20:15, mdipierro wrote: > User yanni has reported this problem with IE6 > http://i.imgur.com/ivWKA.jpg > I do not have a windows machine but if anybody can suggest a css fix I > will be happy to include it. http://www.dieie6.com/ -- Álvaro Justen - Turicas http://blog.j

[web2py] Re: another compilation question

2010-04-19 Thread mdipierro
I double checked. The problem was not listdir but the following path +file (should have been os.path.join(path,file). Fixed and reposting. Thank Jonathan! Massimo On Apr 19, 8:34 pm, Jonathan Lundell wrote: > On Apr 19, 2010, at 6:16 PM, mdipierro wrote: > > > I tried remove it and I an error in

[web2py] Re: delete database entry by form

2010-04-19 Thread Mengu
SQLFORM has an argument called "deletable" if you set it to True when you initialize it, you will have an option like "delete this record". and when you submit the form with that option checked then the record will be deleted. On 20 Nisan, 03:12, claudio wrote: > I have a newbie question: How can

[web2py] Re: a bug of sorts in app installation

2010-04-19 Thread Jonathan Lundell
As a halfway fix, how about the patch below? On Apr 19, 2010, at 2:48 PM, Jonathan Lundell wrote: > I've been trying to install an app through admin, and it's been failing. > (Problem #1: there's no feedback at all when this happens, just a message > that the install failed; I had to run a debu

[web2py] Re: web2py 1.77.2 is OUT

2010-04-19 Thread Yarko Tymciurak
By the way, thank you for tagging these releases: For general info: you can check releases by reviewing the .hgtags file in the repository http://code.google.com/p/web2py/source/browse/.hgtags Since Massimo has prefixed the tags with "R-", this leaves the possibility to tag specific fixes (sep

[web2py] Re: a bug of sorts in app installation

2010-04-19 Thread mdipierro
Had a long day. I will look at this more in detail tomorrow. On Apr 19, 10:16 pm, Jonathan Lundell wrote: > As a halfway fix, how about the patch below? > > On Apr 19, 2010, at 2:48 PM, Jonathan Lundell wrote: > > > > > I've been trying to install an app through admin, and it's been failing. > >

RE: [web2py] Re: another compilation question

2010-04-19 Thread Fiko
ee why it needs to, as long as it computes n correctly.) > > >> BTW, the comment for listdir seems to confuse add_dirs with drop. Or something. And a pair of typos: s/b "regex pattern to filter files" > > >> -- > >> Subscription settings:http://groups.google.com/g

[web2py] Re: another compilation question

2010-04-19 Thread mdipierro
t; >>> There are a few cases when in can be removed (and I just did in trunk) > > >>> but most of them are required else listdir does not work properly. > > > >> listdir appends a '/' if there isn't one already. (Though I don't see > why it ne

[web2py] Re: getting started with fbconnect

2010-04-19 Thread howesc
Rohan, Someone pointed out gaema (http://code.google.com/p/gaema/) on the group a couple of weeks ago as a tool that integrates google, twitter, facebook, and others with google app engine. i'm in the process of adapting it to work with web2py auth (for GAE and non GAE apps). If all goes well lo

[web2py] Re: http://www.web2py.com doesnt load

2010-04-19 Thread Yarko Tymciurak
On Apr 19, 2:43 pm, Cody Harlow wrote: > Try from Google Code. It's the dev version though. > > http://code.google.com/p/web2py/ The "tip" may be development, but Massimo has started tagging the checkings, so you can ALWAYS get the latest release from Google Code repository: On your machine, jus

[web2py] Re: getting started with fbconnect

2010-04-19 Thread Rohan
I found some code on http://codepad.org/tadGosTd I want to know if below piece of code is sufficient for creating a record in auth.user table and creating a session for a user connected using facebook connect? logged_user = Users.find_by_fb_id(user['uid']) user_id = db.users.inser

Re: [web2py] Re: can I hook my code to db.connect() ?

2010-04-19 Thread Alexey Nezhdanov
Oh, well. May be that's an Oracle bug then. I use my custom 'console.py' script here, but output should be clear enough: BTW - time_start column was created by web2py with this line: Field('time_start','datetime'), sn...@nezhdanov:~/VTC/pinger/elixir$ ./console.py select time_start from pinge

Re: [web2py] Re: can I hook my code to db.connect() ?

2010-04-19 Thread Alexey Nezhdanov
Ah, one more little comment though. In two cases select yielded an empty list - that is intentional. On Tue, Apr 20, 2010 at 9:37 AM, Alexey Nezhdanov wrote: > Oh, well. > May be that's an Oracle bug then. I use my custom 'console.py' script here, > but output should be clear enough: > > BTW - t

[web2py] Re: Trouble starting web2py

2010-04-19 Thread szimszon
Okay. I'll wait :) 1.77.3 isn't working yet... On ápr. 19, 22:58, mdipierro wrote: > Mind that this is not the end of the story. The simplejson that ships > with web2py was modified to handle date/datetime/time. By replacing > with the latest official simplejson you will may not be able to > ser