[web2py] Registration Password

2011-10-22 Thread horridohobbyist
Why is password not a required field in registration? I just found that if you don't enter a password, you can't login, even though registration was successful. Apparently, login will not accept an empty password. Richard

[web2py] Re: Specifying Fields in Grid

2011-10-21 Thread horridohobbyist
I tried columns, but it just seems to be ignored. Richard On Oct 21, 1:48 pm, Martín Mulone wrote: > yes, but you can use columns instead of fields. > > 2011/10/21 horridohobbyist > > > > > > > > > > > No, but I don't want to display the id. Is t

[web2py] Adding SELECT Field to SQLFORM.factory

2011-10-21 Thread horridohobbyist
I don't know how to add a SELECT field (dropdown list) to SQLFORM.factory. I want to create a form without a database table, and one of the fields should be a dropdown list with a fixed set of items. The sample syntax I've seen is like... SQLFORM.factory(db.table, Field(...), Field(...),

[web2py] Re: Specifying Fields in Grid

2011-10-21 Thread horridohobbyist
I'm guessing it's mandatory. I suppose I can live with it. Thanks. On Oct 21, 1:35 pm, Nate Atkinson wrote: > Have you tried including db.products.id in the fields? > > On Oct 21, 1:30 pm, horridohobbyist wrote: > > > > > > > > > I'm trying t

[web2py] Re: Specifying Fields in Grid

2011-10-21 Thread horridohobbyist
No, but I don't want to display the id. Is this mandatory? Richard On Oct 21, 1:35 pm, Nate Atkinson wrote: > Have you tried including db.products.id in the fields? > > On Oct 21, 1:30 pm, horridohobbyist wrote: > > > > > > > > > I'm trying to spe

[web2py] Specifying Fields in Grid

2011-10-21 Thread horridohobbyist
I'm trying to specify exactly which fields to display in a grid, but I just can't get the syntax right. And the docs are of no help. Here's what I tried, among other things: SQLFORM.grid(db.products,deletable=False,editable=False,create=False,csv=False,searchable=False,details=False,maxtextlength

[web2py] Re: Mobile Viewport Fix

2011-10-19 Thread horridohobbyist
Thanks! On Oct 19, 10:54 pm, Anthony wrote: > Just delete that meta tag from layout.html. Actually, I think you might only > need to delete the maximum-scale=1.0 part of it if you want to be able to > zoom in. > > > > > > > > On Wednesday, October 19, 2011 1

[web2py] Mobile Viewport Fix

2011-10-19 Thread horridohobbyist
Um, guys, I think we have a BIG problem here... For some reason, web2py adds a viewport meta tag to the header that restricts the screen to the device width. This makes it impossible to pinch-zoom on a tablet such as the iPad or TouchPad. For people (with poor eyesight) who need to zoom into the

[web2py] Potential Bug?

2011-10-19 Thread horridohobbyist
I was just curious... In "profile", you can change your E-mail address. Does this send an "Email verification" message just as when you register (assuming you enabled this)? You can see what I'm getting at. If the registration email was verified and the user subsequently changes the email address

[web2py] Re: Menus and Selected Tab

2011-10-18 Thread horridohobbyist
Sorry, it does work. I forgot to clear the damn browser cache! (This bites me in the ass every frickin' time!) Richard On Oct 18, 11:06 am, Paolo Caruccio wrote: > Richard, > > could you post not working code sample? > > Ciao. > > Paolo

[web2py] Re: Menus and Selected Tab

2011-10-18 Thread horridohobbyist
This is all very messy. I think I'll just leave well enough alone. Pity, though. I'm quite surprised at how poorly thought-out the Superfish menu system is. Richard On Oct 17, 3:01 pm, ron_m wrote: > Oops sorry forgot a detail, I did this a while back > > I have a simple mapping of top level me

[web2py] Re: Menus and Selected Tab

2011-10-18 Thread horridohobbyist
Sorry, I tried it, but it didn't work. Richard On Oct 17, 3:00 pm, Paolo Caruccio wrote: > If you're using respone.menu to build your menu and in line > withhttp://www.web2py.com/book/default/search?search=response.menu > you could replace the second item (the boolean value)in the tuple with th

[web2py] Re: Menus and Selected Tab

2011-10-17 Thread horridohobbyist
I tried that (though I didn't bother to change the default color). Doesn't seem to work - the active menu still isn't highlighted. Regards, Richard On Oct 17, 1:09 pm, ron_m wrote: > If you are using superfish menus in views/layout.html hee is what I did. > > I changed >       >         jQuery(

[web2py] Menus and Selected Tab

2011-10-16 Thread horridohobbyist
I was just wondering... When you select a menu tab from the menu, it doesn't get highlighted. Highlighting the current menu tab is expected behavior for every menu system I've ever seen on the web. What am I missing here? Is there an option I need to enable? Thanks, Richard

[web2py] STOOOPID Question

2011-10-12 Thread horridohobbyist
I'm using SQLTABLE in a view and I'm specifying 'orderby' to add sortable column headers, eg, orderby=db.products.name I have the linkable column headers, but when I click on them, NOTHING changes. The order of the rows remain the same. So, what am I missing here? Shouldn't this "just work"? Th

[web2py] OnClick with SELECT

2011-10-11 Thread horridohobbyist
I'm trying to do something fairly simple. I have a dropdown list of product names from a product database. When the user clicks on the dropdown list and chooses a different product name, I want a function to execute "onclick" that goes to the product database, retrieves the rest of the record, and

[web2py] IE9

2011-10-10 Thread horridohobbyist
When I use IE9 to access admin and edit any file in an app, the contents of the editor window are all highlighted and there's no way to get out of it. This makes editing impossible. Has anyone else found this? Not that it really matters to me because I just use Chrome or Firefox, instead. But for

[web2py] Re: Email Verification Issue

2011-10-09 Thread horridohobbyist
http://zerp.ly/rochacbruno > Em 09/10/2011 09:04, "horridohobbyist" escreveu: > > > > > > > > > I think I found a serious issue with email verification... > > > I changed the following in db.py for the scaffolding app: > > >

[web2py] Email Verification Issue

2011-10-09 Thread horridohobbyist
I think I found a serious issue with email verification... I changed the following in db.py for the scaffolding app: ## configure email mail=auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = 'joeb...@gmail.com' mail.settings.login = 'joeblow:somepassword' ##

[web2py] Re: Localhost and web2py

2011-10-09 Thread horridohobbyist
ation > > directives into the Apache configuration in order to grant access to > > the Seaside app. Why I didn't need these directives *before* I > > deployed web2py confounds me. Apparently, web2py did *something* to > > force my hand. > > > Richard > > >

[web2py] Re: Localhost and web2py

2011-10-09 Thread horridohobbyist
d On Oct 8, 6:53 pm, horridohobbyist wrote: > Now that I think about it, I'm wondering:  Is web2py actually using > its internal server? I installed web2py using the One Step Production > Deployment recipe in the Official web2py Book. Since the Ubuntu system > with Apache2 support

[web2py] Re: Localhost and web2py

2011-10-08 Thread horridohobbyist
ferent port: > > python web2py.py -a your_password -i 127.0.0.1 -p > > Also, on production, you might consider using something other than web2py's > built-in server. > > Anthony > > > > > > > > On Saturday, October 8, 2011 5:22:42 PM UTC-4, horridoh

[web2py] Localhost and web2py

2011-10-08 Thread horridohobbyist
I seem to have made a boo-boo. I installed web2py on a production server that is also running a Seaside app. Like web2py, Seaside runs its own internal server, so the app references localhost:8080, for example. Since installing web2py, I can access web2py, for example, with localhost:8000. But now

[web2py] Re: Sending Email Under Linux

2011-10-07 Thread horridohobbyist
That theory don't fly. I have a Seaside app running on a Linux server at a remote datacenter, and it uses the same 'smtp.broadband.rogers.com:25'. Richard On Oct 6, 7:29 am, MidGe wrote: > "If 'smtp.broadband.rogers.com:25' works under Windows, why the hell > > wouldn't it work under Linux?? Oh

[web2py] Re: Sending Email Under Linux

2011-10-06 Thread horridohobbyist
It would seem that Postfix is configured correctly after all. The problem seems to be the server I've chosen -- 'smtp.gmail.com:587' works, but 'smtp.broadband.rogers.com:25' doesn't. WTF. If 'smtp.broadband.rogers.com:25' works under Windows, why the hell wouldn't it work under Linux?? Oh well.

[web2py] Sending Email Under Linux

2011-10-05 Thread horridohobbyist
Under Windows, I have no problem sending emails from my web2py app. I import gluon.tools.Mail and perform a send to the server 'smtp.broadband.rogers.com:25'. Easy peasy. However, under Linux, it just doesn't work. The Mail send operation always fails. If the error is being logged, I don't know wh

[web2py] Re: criticism of web2py

2011-10-05 Thread horridohobbyist
I like web2py. I think it's the best web framework out there... Let me explain where I'm coming from. My first experience as a web developer was with Smalltalk/Seaside in 2007. It came highly recommended to me by a friend. He told me that Seaside was very powerful, very flexible, and most importan

[web2py] Re: Installing under Linux

2011-10-05 Thread horridohobbyist
Never mind. I figured it out. You have to use https:, not http: as in the Welcome app. Richard On Oct 5, 4:48 pm, horridohobbyist wrote: > Son of a gun! That worked! > > The main reason for my Linux experiment is to determine how to make > web2py coexist with an existing web app (

[web2py] Re: Installing under Linux

2011-10-05 Thread horridohobbyist
Son of a gun! That worked! The main reason for my Linux experiment is to determine how to make web2py coexist with an existing web app (which is not written in Python) on the target Linux server. Currently, Apache2 is fully configured within httpd.conf. It would seem that web2py does not touch htt

[web2py] Installing under Linux

2011-10-05 Thread horridohobbyist
I have a problem getting web2py working in Ubuntu Linux (Lucid Lynx). Let me explain the situation... I am experimenting with a VirtualBox VM of Ubuntu. I follow the instructions in the Official web2py Book (sections: Apache setup and mod_wsgi). The VM has an address of 192.168.1.102. As per inst

[web2py] Re: Encryption/Decryption Modules

2011-10-04 Thread horridohobbyist
The Windows version of web2py does NOT require Python to be installed under Windows. Apparently, web2py relies on its internal Python. So installing for my Python install is totally irrelevant. My Windows PC is not set up to compile C code. This is an extra step I do not care to engage in. In the

[web2py] Re: Encryption/Decryption Modules

2011-10-04 Thread horridohobbyist
tion in the past (I do linux/OSX only) without a > single problem at all... > > Is this a web2py issue? - or is it that you cannot install the > packages of m2crypto for your setup, what versions of the OS/web2py/ > python are you using? > > Thanks, > > Julio > > On O

[web2py] Re: Encryption/Decryption Modules

2011-10-04 Thread horridohobbyist
I guess no one has ever used encryption (M2Crypto) in web2py. Maybe the web2py community isn't as large as I had thought... Richard On Oct 3, 11:00 am, horridohobbyist wrote: > I'm looking for a way to encrypt/decrypt data in web2py. Someone > suggested that pyme is already in

[web2py] Encryption/Decryption Modules

2011-10-03 Thread horridohobbyist
I'm looking for a way to encrypt/decrypt data in web2py. Someone suggested that pyme is already included in web2py, but I think he's just plain wrong. I've seen references to m2secret on the web, but it's obvious that it needs to be installed. I've not been able to figure out how to install M2Cryp

[web2py] Re: PGP Mail Confusion

2011-10-02 Thread horridohobbyist
t; > Not yet at least. > > > You have to install using easy_install. > > >http://packages.python.org/distribute/easy_install.html#installing-ea... > > > mic > > Il giorno 02/ott/2011 21:11, "horridohobbyist" > > ha scritto: > > > > Okay, now I'

[web2py] Re: PGP Mail Confusion

2011-10-02 Thread horridohobbyist
Okay, now I'm *really* confused. web2py has nothing to do with any python installation on my Windows PC. So the question is, how do you install python-pyme from within web2py? Does the web2py book talk about this?? Richard On Oct 2, 2:50 pm, horridohobbyist wrote: > Like I said, I&

[web2py] Re: PGP Mail Confusion

2011-10-02 Thread horridohobbyist
Like I said, I'm new to python and web2py. I'm just starting to get into it with the official web2py book. My preliminary search reveals that I may have to build the python-pyme stuff. I'm using web2py under Windows 7. I'm not sure how to proceed. (Things like SWIG puzzle me.) Is there a quick wa

[web2py] PGP Mail Confusion

2011-10-01 Thread horridohobbyist
I'm new to python and web2py. I'm studying the official web2py book. In Chapter 8, there is a reference to PGP mail using the gpgme module... - It is possible to send PGP encrypted emails using the following settings: 1. from gpgme import pgp 2. mail.settings.cipher_type = 'gpg' 3. mail.setti

<    1   2   3