[web2py] Re: DAL new syntax RFC

2011-03-06 Thread Luis Díaz
Explicit is better than implicit. +1

[web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread Brian M
Yeah, I'm no PCI expert, but I'm pretty sure that storing the credit card number in the DB (un-encrypted/un-masked) is a no-no and in the very least is a bad idea. But Massimo's just illustrating how to use Authorize.Net For those who are interested in PCI-DSS https://www.pcisecuritystandards.o

Re: [web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread rochacbruno
I found a utility called Festival that runs on ubuntu. sudo apt-get festival That sounds good too. Em 06/03/2011, às 19:16, Massimo Di Pierro escreveu: > OSX comes a os utility called say > > example: > > $ say hello world > > speaks better than me. > > On Mar 6, 4:10 pm, rochacbruno w

Re: [web2py] Dropdown selection of table reference, select blank option --> 0 not None?

2011-03-06 Thread toan75
Thank Richard. I use: query = (db.tablegroup.parent==None), In this case: parent = 0 --> not work and I want update: parent = None. You have any idea? On Sunday, March 6, 2011 11:11:40 PM UTC+7, Richard wrote: > > What is this for : > > form[0][0][1] = TD(my_select) > > my_select = SELECT(*tabl

Re: [web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread Jonathan Lundell
On Mar 6, 2011, at 4:12 PM, Jonathan Lundell wrote: > > I'm not sure if this is standard, but I've got the system set up to speak > selected text when I hit shift-option-control-s. Set that up in the > Text-to-Speech system preference pane if necessary; it's quite handy. I've > also got a scrip

Re: [web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread Jonathan Lundell
On Mar 6, 2011, at 3:38 PM, Massimo Di Pierro wrote: > > The only problem is that it reads this: > > say web2py > > the same as this > > say web two p why > > but it should be more like this: > > say web2pie > > (it may be technically right and I wrong... or just need a stack). > > also

[web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread Massimo Di Pierro
The only problem is that it reads this: say web2py the same as this say web two p why but it should be more like this: say web2pie (it may be technically right and I wrong... or just need a stack). also say appadmin sonds better if I say say app-admin On Mar 6, 5:21 pm, Marin

[web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread howesc
I see that you are storing the credit card number in the database, can anyone comment on web2py servers and PCI compliance? I'm using other methods to integrate with paypal, and now authorize.net so that i don't store the credit card info on my server. This is more out of fear that real knowl

Re: [web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread Marin Pranjic
+1 :D On Sun, Mar 6, 2011 at 11:48 PM, villas wrote: > > speaks better than me. > > LOL, no way -- we missed the accent! :)

[web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread villas
> speaks better than me. LOL, no way -- we missed the accent! :)

[web2py] Re: DAL new syntax RFC

2011-03-06 Thread villas
To me, to use a period '.' is inherently very ambiguous. But mine is just one point of view and of course I do see the benefit of typing less. Thanks, D On Mar 6, 10:15 pm, Massimo Di Pierro wrote: > You could try for '. and ': in a model and I am pretty sure there is > no ambiguity. Moreover i

[web2py] Re: revised plugin_wiki

2011-03-06 Thread villas
On Mar 6, 10:13 pm, Massimo Di Pierro wrote: > This is patched. There is not more "active." I think we must be talking about different things. This following code is from cube2py controllers/plugin_wiki.py def index(): w = db.plugin_wiki_page if plugin_wiki_editor: pages = db(w.

Re: [web2py] web2py applications and apache vhosts

2011-03-06 Thread Jonathan Lundell
On Mar 5, 2011, at 11:38 AM, Haros wrote: > > I know that this question has been posted a couple of times in this > group but it seems that there is no answer yet... > > I have web2py installed with apache via wsgi. Everything works fine. > > Instead of having multiple web2py instances, I want e

[web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread Massimo Di Pierro
OSX comes a os utility called say example: $ say hello world speaks better than me. On Mar 6, 4:10 pm, rochacbruno wrote: > What did you use for the voice sintetization? > > Enviado via iPhone > > Em 06/03/2011, às 14:57, Massimo Di Pierro > escreveu: > > > > > > > > >http://www.youtube.com/

[web2py] Re: Type of computed fields.

2011-03-06 Thread imm
Thanks - a clean install resolved the issue, I'm not sure what had happened. Sorry for spinning you wheels! -Ian

[web2py] Re: DAL new syntax RFC

2011-03-06 Thread Massimo Di Pierro
You could try for '. and ': in a model and I am pretty sure there is no ambiguity. Moreover if the Field(s) are indented the . and : are easy to spot. That was the rationale. Massimo On Mar 6, 3:51 pm, villas wrote: > > Too late now... > > Well... you're right - we do have quite a bit of magic a

[web2py] Re: revised plugin_wiki

2011-03-06 Thread Massimo Di Pierro
This is patched. There is not more "active." it is auth.signature.is_active and the latest plugin_wiki uses auth.signature On Mar 6, 12:42 pm, villas wrote: > Massimo > > Sorry to keep raising the subject of plugin.wiki fields, but could you > please patch the 'active' field so we can try and tes

Re: [web2py] How to accept credit card payments (video)

2011-03-06 Thread rochacbruno
What did you use for the voice sintetization? Enviado via iPhone Em 06/03/2011, às 14:57, Massimo Di Pierro escreveu: > http://www.youtube.com/watch?v=xW5xOdDk-BE > > Here are the steps: > > > # let us go into our web2py folder > cd /Users/mdipierro/Desktop/demo/web2py > > # and we create

[web2py] Re: How to accept credit card payments (video)

2011-03-06 Thread Plumo
haha - TTS and Civ 4 soundtrack!

[web2py] Re: DAL new syntax RFC

2011-03-06 Thread villas
> Too late now... Well... you're right - we do have quite a bit of magic already :-) But extra punctuation marks don't make the code very readable. More meaningful abbreviations would prompt people to look them up if they don't know them. For example, if an abbreviation was: Field('vf:name') -

[web2py] Re: Google Chrome 9 crashes

2011-03-06 Thread dhmorgan
** THANKS! ** I was going crazy trying to track this down. On Feb 8, 5:44 pm, Bernd Rothert wrote: > Thank you, Paul! That's good news - the new builder tool surely is a > good option to speed up page loading. > > Meanwhile I'm using "google-chrome--disable-webgl" to turn off WebGL > until it ha

Re: [web2py] Re: explanation of corrections in version 1.93.2

2011-03-06 Thread Ovidio Marinho
Thank you all for help, but really could have more details on the modifications. obrigado a todos pela ajuda, mas realmente poderia ter mais detalhes sobre as modificaçoes. 2011/3/6 Luis Díaz > 're right friend;) > true. > I do not follow all the threads. > I am not aware of progress and develo

Re: [web2py] Re: explanation of corrections in version 1.93.2

2011-03-06 Thread Luis Díaz
're right friend;) true. I do not follow all the threads. I am not aware of progress and developments. only note the statement of new features. I would like a link related to summary or detailed information ... for testing Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo Facultad de Od

[web2py] Re: Multiple form flash problem.

2011-03-06 Thread villas
Sorry if anything here is impractical, but here's a couple of thoughts... If you wish to limit the user to make one search only... * Make an input box to enter the search value, and a drop-down box to specify the search type. * If using several input boxes, you could use JS. When user starts t

[web2py] IS_NOT_IN_DB () Bypass the capital letters during validation

2011-03-06 Thread Yannick
Hello mate, A value is saved in the DB as lower case and we put this validation "IS_NOT_IN_DB()". If for that field the user enter a Capital letter of the same value saved the application will validate the entry. This is not really good. Is there a way to avoid this in Web2py without a need to bu

Re: [web2py] Re: DAL new syntax RFC

2011-03-06 Thread Jonathan Lundell
On Mar 6, 2011, at 11:01 AM, villas wrote: > > However, agreed that we don't want anything that looks like 'magic' :) Too late now...

[web2py] IS_NOT_IN_DB () Mypass the capital letter

2011-03-06 Thread Yannick
Hello mate, A value is saved in the DB as lower case and we put this validation "IS_NOT_IN_DB()". If for that field the user enter a Capital letter of the same value saved the application will validate the entry. This is not really good. Is there a way to avoid this in Web2py without a need to bu

[web2py] Re: DAL new syntax RFC

2011-03-06 Thread villas
>> Typing is cheap. Not so cheap in a RAD framework. However, agreed that we don't want anything that looks like 'magic' :) -David

[web2py] Re: revised plugin_wiki

2011-03-06 Thread villas
Massimo Sorry to keep raising the subject of plugin.wiki fields, but could you please patch the 'active' field so we can try and test and use it. Unless I've misunderstood something, it doesn't even exist at the moment! Thanks, D On Mar 4, 2:12 am, villas wrote: > I see what you mean, it could

[web2py] Web2py Layout Wizard examples

2011-03-06 Thread KMax
Hello Was looking for examples of the layout AppWizard provide and failed to find at this group. Looking in to the code give me this URL: http://web2py.com/layouts Where all layouts have html page which give more information about layout then just a small png preview. This post is not a que

[web2py] Re: explanation of corrections in version 1.93.2

2011-03-06 Thread KMax
Please check group history for most of the Some features are not documented, to continue development of them and make available for more users to test. If test passed with success, feature get documented and this feature will be same in all next releases. And yes, if it not documented, it is n

[web2py] How to accept credit card payments (video)

2011-03-06 Thread Massimo Di Pierro
http://www.youtube.com/watch?v=xW5xOdDk-BE Here are the steps: # let us go into our web2py folder cd /Users/mdipierro/Desktop/demo/web2py # and we create a new app called pos (point of sale) cd applications mkdir pos rm -r pos/* # we make it a clone of the scaffolding application cp -r welcome

[web2py] Re: Radbox getting noticed

2011-03-06 Thread Adi
That crazy guy is me. You can watch the video of my demo here: http://adityasahay.com/post/3603615348/i-demo-ed-radbox-at-the-new-york-tech-meetup-the Meanwhile anyone who asks me the stack behind Radbox I tell them "its a Python framework web2py". Not many people, unfortunately, know about it in

[web2py] how to check if form is submitted?

2011-03-06 Thread LightOfMooN
I try to process , but can't check, if form with that checkbox is submitted. How to check if form is submitted?

Re: [web2py] explanation of corrections in version 1.93.2

2011-03-06 Thread Luis Díaz
perhaps for lack of time and hard work has not documented the new features but a new feature that is not reported or explained, is a feature that does not exist :S Greetings and thanks for the good work! Happy Carnival: D Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo Facultad

[web2py] Re: error when insert record in appadmin

2011-03-06 Thread DenesL
I cant' reproduce this. Please post your table definitions. On Mar 5, 8:49 pm, Joaquin Orbe wrote: > Update: I've tried SQLite and it's the same problem: > > (near ")": syntax error) > > > locals > > query   : 'INSERT INTO my_table() VALUES ();' > > Any kind of help will be appreciated. > > Joa

Re: [web2py] Translation of error_messages for IS_INT_IN_RANGE and similar classes

2011-03-06 Thread Jonathan Lundell
On Mar 6, 2011, at 8:07 AM, Martin Weissenboeck wrote: > One more question: > The validator IS_STRONG has the following error messages: > > "Minimum length is %s" > "Maximum length is %s" > "Must include at least %s of the following : %s" > "May not contain any of the following: %s" > "Must includ

Re: [web2py] Dropdown selection of table reference, select blank option --> 0 not None?

2011-03-06 Thread Richard Vézina
What is this for : form[0][0][1] = TD(my_select) ??? Default choice to be charged into the dropdown field?? There is a option for default choice... And there is a syntax to be used into controller to set default value when needed if it is not to be set everywhere the model is used. db.tablegr

Re: [web2py] Translation of error_messages for IS_INT_IN_RANGE and similar classes

2011-03-06 Thread Martin Weissenboeck
One more question: The validator IS_STRONG has the following error messages: "Minimum length is %s" "Maximum length is %s" "Must include at least %s of the following : %s" "May not contain any of the following: %s" "Must include at least %s upper case" "May not include any upper case letters" "Mus

Re: [web2py] explanation of corrections in version 1.93.2

2011-03-06 Thread contatogilson...@gmail.com
> > - css3 buttons in welcome - What is This??? Foi inserido mais uma ferramenta para inserir botões estilizados com e sem ícones com CSS 3. Um exemplo disso: http://css3buttons.michaelhenriksen.dk/ _ *Gilson Filho* *Web Developer http://gilsondev.com*

[web2py] represent and compute examples?

2011-03-06 Thread carlo
Working with web2py again after some time, I got acknowledged of the "represent" and "compute" attributes in DAL. They both seem very attractive to me but I would like to see some more examples of their usage because of the spare description in the book. Anyone could help? btw, I found out the gre

Re: [web2py] explanation of corrections in version 1.93.2

2011-03-06 Thread Ovidio Marinho
Ok , das 7 Duvidas 1 solucionada. Valeu. Em 5 de março de 2011 17:47, Bruno Barbosa escreveu: > Ovidio, > > Para definir writable e readable fazemos o seguinte: > > db.define_table('tabela', >Field('nome'), >Field('idade')) > > db.tabela.nome.writable=db.tabela.no

Re: [web2py] Re: Just a typo in change log.

2011-03-06 Thread Nik Go
Here you go ... On 3/6/11, Massimo Di Pierro wrote: > Can you help us please? Download the README file from web2py/ and > reorder the items. > > > > On Mar 5, 2:54 pm, luismurciano wrote: >> In the change log pagehttp://www.web2py.com/examples/default/changelog >> the version should be 1.93.1-2

[web2py] Dropdown selection of table reference, select blank option --> 0 not None?

2011-03-06 Thread toan75
Hi all, Please help me with the problem of dropdown selection. It work fin by default: select blank option in the drop down, it update value of field reference = None But i need change drop down list: form[0][0][1] = TD(my_select) Now, it update value = 0 (not None) and I can't update: db(db.

[web2py] Re: Multiple form flash problem.

2011-03-06 Thread annet
@Jonathan, Thanks for the link, indeed the first reply is very useful. @David, Thanks for posting your idea. > It wasn't obvious to me why you needed two forms. Why not use one and > test to see what has been filled in? Because I could not figure out how to test what has been filled in. I am