[web2py:19964] pyForum Release Candidate 1 ready

2009-04-18 Thread Speedbird
Ok folks, here it goes: pyForum RC1 is out, pyForum is a web2py, 100% python-based message board system released under the Open Source license, the code is basically ready for heavy usage. The official release: http://www.pyforum.org/pyforum/default/view_topic/44 pyForum can manage categories,

[web2py:19965] Re: pyForum Release Candidate 1 ready

2009-04-18 Thread desfrenes
awesome ! On 18 avr, 09:20, Speedbird ju...@techfuel.net wrote: Ok folks, here it goes: pyForum RC1 is out, pyForum is a web2py, 100% python-based message board system released under the Open Source license, the code is basically ready for heavy usage. The official

[web2py:19966] amf-rpc and Flex 3

2009-04-18 Thread Alexei Vinidiktov
Hi, Now that web2py natively supports amf-rpc, I'd like to make use of it but I need some guidance. I want to use web2py with Flex 3. I know there is an example for Flash and amf0 at http://mdp.cti.depaul.edu/AlterEgo/default/show/22, but I was wondering if there exists and example for Flex 3.

[web2py:19967] optional integer and double fields

2009-04-18 Thread Timmie
Hello, how can I build a optional integer or double field in my model? I fond something at: SQLField of type 'integer' cannot be optional? (http://groups.google.com/group/web2py/browse_thread/thread/ e0147c80b5e079e1/f820f70ad4b9c89e?lnk=gstq=optional+form+fields#) But the explanation requires

[web2py:19968] pre-populated forms

2009-04-18 Thread Timmie
Hello, I am new to web2py and lately bought the manual. It is really cool how fast you can generate a application with so few code! I need more explanation about prepopulating forms. I would like to have the following: select option value=volvoVolvo/option option value=saabSaab/option

[web2py:19969] automatically customising query result

2009-04-18 Thread Timmie
Hello, when building a SQLFORM, there are really useful helpers such as * labels={'name':'Your Full Name:'} * col3={'name':A('what is this?', _href='http://www.google.com/search? q=define:name')} These are very convenient when creating the form in the controller. Is there a possibility to use

[web2py:19970] URL structure for multilanguage site

2009-04-18 Thread jiri
Hello, I am new to web2py and I am working on multi-language site using this framework. What is the best way to structure URLs for such site? Previously I used this scheme (see below) in Pylons framework, it was mapped using routing module to lang parameter and then correct language was set up

[web2py:19972] Re: sorry

2009-04-18 Thread Tito Garrido
I'm using web2py Version 1.61.1 (2009-04-17 21:01:42) On Sat, Apr 18, 2009 at 10:23 AM, Tito Garrido titogarr...@gmail.comwrote: Hi, I'm using SQLTABLE with linkto=URL(r=request,f='data/update'), but when I try to update nothing happens... Am I doing something wrong? Thanks, Tito On

[web2py:19973] Re: pyForum Release Candidate 1 ready

2009-04-18 Thread Yarko Tymciurak
great effort! thanks much for sharing On Sat, Apr 18, 2009 at 2:34 AM, desfrenes desfre...@gmail.com wrote: awesome ! On 18 avr, 09:20, Speedbird ju...@techfuel.net wrote: Ok folks, here it goes: pyForum RC1 is out, pyForum is a web2py, 100% python-based message board system

[web2py:19974] Re: pyForum Release Candidate 1 ready

2009-04-18 Thread Douglas Soares de Andrade
Em Sábado 18 Abril 2009, às 10:25:01, Yarko Tymciurak escreveu: great effort! thanks much for sharing On Sat, Apr 18, 2009 at 2:34 AM, desfrenes desfre...@gmail.com wrote: awesome ! Thanks a lot for sharing this code, it rocks =) --~--~-~--~~~---~--~~ You

[web2py:19975] Re: URL structure for multilanguage site

2009-04-18 Thread Jason Brower
It's my understanding the web2py takes care of all the multi language stuff automatically, no need to set it in the browser. Just set the language file and make sure to put a T() Around ya strings. br- Jason Brower On Sat, 2009-04-18 at 04:14 -0700, jiri wrote: Hello, I am new to web2py and

[web2py:19976] Re: URL structure for multilanguage site

2009-04-18 Thread Iceberg
By the way, I believe the T(...) handles short phrase better, but if you need to deal with some long article such as company background description, it will also be a good choice to manually organize your file as: yourapp/static/en/about.html yourapp/static/de/about.html ... On Apr18,

[web2py:19977] Re: automatically customising query result

2009-04-18 Thread Iceberg
Read doc here. http://www.web2py.com/examples/global/vars/SQLTABLE The headers argument does what you want. On Apr18, 6:30pm, Timmie timmichel...@gmx-topmail.de wrote: Hello, when building a SQLFORM, there are really useful helpers such as * labels={'name':'Your Full Name:'} *

[web2py:19978] Re: optional integer and double fields

2009-04-18 Thread mdipierro
you can define them yourself IS_INT=IS_IN_IN_RANGE(-10**10,10**10) On Apr 18, 4:51 am, Timmie timmichel...@gmx-topmail.de wrote: Hello, how can I build a optional integer or double field in my model? I fond something at: SQLField of type 'integer' cannot be optional?

[web2py:19979] Re: pre-populated forms

2009-04-18 Thread mdipierro
Thank you for your comments. field validators IS_IN_SET and IS_IN_DB trigger SELECT/OPTION automatically. You can do INPUT(_name='fieldname',requires=IS_IN_DB(db,'table.field','% (otherfieldname)s') On Apr 18, 4:58 am, Timmie timmichel...@gmx-topmail.de wrote: Hello, I am new to web2py and

[web2py:19980] Re: pyForum Release Candidate 1 ready

2009-04-18 Thread mdipierro
Fantastic. Thank you! On Apr 18, 8:39 am, Douglas Soares de Andrade dsandr...@gmail.com wrote: Em Sábado 18 Abril 2009, às 10:25:01, Yarko Tymciurak escreveu: great effort!  thanks much for sharing On Sat, Apr 18, 2009 at 2:34 AM, desfrenes desfre...@gmail.com wrote: awesome ! Thanks

[web2py:19981] Re: Can response.flash have different colors?

2009-04-18 Thread Iceberg
Well, I had similar thoughts as Massimo at the beginning, and that is exactly why I stop here, and even use hardcode magic color. IMHO, a controller should be able to clearly express general info, warning msg, and bad error. Because they are so commonly needed in EVERY web app. If you think you

[web2py:19982] Re: URL structure for multilanguage site

2009-04-18 Thread mdipierro
routes_in = ( ('/yourapp/static/(?Pany.*)','/yourapp/static/$any'), ('/yourapp/$language/(?Pany.*)','/yourapp/default/$any?_language= $language'), ) and in your model if request.vars._language: T.force(request.vars._language) Massimo On Apr 18, 9:49 am, Iceberg iceb...@21cn.com wrote: By the

[web2py:19983] Re: URL structure for multilanguage site

2009-04-18 Thread mdipierro
Personally I do not user routes much and I like to do if request.vars.force_language: session.force_language if session.force_language: T.force(force_language) and have button in the 'index' page that reload the index page in various languages a

[web2py:19984] Feature request: password strength integration...

2009-04-18 Thread Jason Brower
it would be nice to have the password weakness meter or something like that that. For example something that adds a class or changes a class of an element nearby to a value that the css attributes. I feel this feature falls in the same feature scope as the recaptcha support. -- Jason

[web2py:19985] Request for more organize feature request lists...

2009-04-18 Thread Jason Brower
Can we use launchpad to keep try of bugs and feature requests? I love to post ideas that come to my mind, but putting to a list with a project this large makes the features melt into the intertube. Regards, Jason Brower --~--~-~--~~~---~--~~ You received this

[web2py:19986] pyjamas example updated

2009-04-18 Thread Alexei Vinidiktov
Hi, I have an updated version of the pyjamas example at http://www.web2py.com/AlterEgo/default/show/203 Should I change the wiki page myself, or should I first present my version for review? I've changed the pyrajams code so it works with the latest 0.5p1 version of pyjamas. I've refactored

[web2py:19987] Re: Feature request: password strength integration...

2009-04-18 Thread desfrenes
should be easy to achieve client-side with this: http://phiras.wordpress.com/2007/04/08/password-strength-meter-a-jquery-plugin/ On 18 avr, 17:49, Jason Brower encomp...@gmail.com wrote: it would be nice to have the password weakness meter or something like that that.  For example something

[web2py:19988] Re: Can response.flash have different colors?

2009-04-18 Thread Yarko Tymciurak
this too sounds good... In fact, controller should have some LOGICAL (name as opposed to hard code) representation on level of / kind of flash, and this is why in my earlier post I took Iceberg's code, and changed to some name (flash.warning, etc.) and commented: defined in models/0.py --- which

[web2py:19989] Re: Request for more organize feature request lists...

2009-04-18 Thread Yarko Tymciurak
I would point this out: It is better to START with requests and bugs here If there are bona-fide or accepted (that is good idea; we'll do it!; or we have enuogh information that we can reproduce, but not sure how to approach it... please log a bug...), then it makes sense to put in the

[web2py:19990] Re: Request for more organize feature request lists...

2009-04-18 Thread Fran
On Apr 18, 4:52 pm, Jason Brower encomp...@gmail.com wrote: Can we use launchpad to keep try of bugs and feature requests?  I love to post ideas that come to my mind, but putting to a list with a project this large makes the features melt into the intertube. Issue Tracker is here:

[web2py:19991] Re: Request for more organize feature request lists...

2009-04-18 Thread mikech
I would like to report that on the edit page of the administrative interface the word previous is misspelled after the revert button. Mike On Apr 18, 1:10 pm, Fran francisb...@googlemail.com wrote: On Apr 18, 4:52 pm, Jason Brower encomp...@gmail.com wrote: Can we use launchpad to keep try

[web2py:19992] Re: Request for more organize feature request lists...

2009-04-18 Thread Yarko Tymciurak
:-) I can reproduce this! [revert] to previour page !!! :-) Can you supply a patch? (just kidding - if Massimo doesn't fix this this weekend, would you post to AND, ALL: PLEASE NOTE CORRECTION TO BUGS LINK: https://bugs.launchpad.net/web2py (The one Fran reported is not used - SVN is just

[web2py:19994] Some doubts

2009-04-18 Thread Jose
Three Questions: 1) Does DAL implement IN and NOT IN? I have not seen it. 2) After filling a dropbox with: db.dog.owner.requires = IS_IN_DB(db,db.person.id,'%(name)s') Is it possible to choose a value predetermined like initially? 3) To a form created with SQLFORM I want to add a new field,

[web2py:19993] Some doubts

2009-04-18 Thread Jose
Three Questions: 1) Does DAL implement IN and NOT IN? I have not seen it. 2) After filling a dropbox with: db.dog.owner.requires = IS_IN_DB(db,db.person.id,'%(name)s') Is it possible to choose a value predetermined like initially? 3) To a form created with SQLFORM I want to add a new field,

[web2py:19995] Re: Can response.flash have different colors?

2009-04-18 Thread Iceberg
Nice brainstorming. Hope you don't mind I add some more summary. 1. Hopefully we can at least have an agreement about controllers should have easy way to express info, warn and error. This is about logic and design. 2. As to how to customize those three message's appearance, this is about

[web2py:19996] Re: Request for more organize feature request lists...

2009-04-18 Thread Jason Brower
There are many times I report a bug or feature, in other projects, and the main developers are working too hard on other parts of the project. (Openoffice is just not working on a feature I requested 3 years ago.) The biggest reason I see a tracker as useful is because I want to contribute. I