[web2py:25762] Re: want to help web2py?

2009-07-06 Thread mdipierro
On Jul 6, 1:08 am, "Francois (Jersey)" wrote: > I am currently building an accounting system for companies. This could > be used as a foundation to develop more financial applications. Likely > delivery end of the year. > Your release of spreadsheet is proving very useful, eventhough I am > encou

[web2py:25763] Re: How do we petition Google to mention web2py?

2009-07-06 Thread Hans Donner
Hi Massimo, this is perhaps also fuelled by the fact that all source/distributions are coming from your trunk. Don't get me wrong, I think ity's very good that yo oversee the project and keep it from straying off track. And yes, everybody can send you patches and you says thanks in your commits w

[web2py:25764] Re: need an ajax spreadsheet

2009-07-06 Thread Fran
On Jul 6, 7:59 am, Yarko Tymciurak wrote: > (NOTE:  we need to think about the repository:  it took forever to get a > branch - the .bzr directory is now at 486MB, mostrly from the one pack (I > presume holding revisions)   Are we keeping the tar files in there too? > That would make this H U

[web2py:25765] Re: need an ajax spreadsheet

2009-07-06 Thread Hans Donner
the is now also acting as a kind of distribution. We might need to split that and have - source develop - source stable - distribution dev - distribution stable On Mon, Jul 6, 2009 at 8:59 AM, Yarko Tymciurak wrote: > oh - I just checked, and I was running web2py 1.65.0 on Firefox 3.5 on > Fedora

[web2py:25766] Re: How do we petition Google to mention web2py?

2009-07-06 Thread Yarko Tymciurak
I think you are starting to mix two different things here - django has been in commercial use for some years. Runs info for a news organization. Your TG story is another thing, but the _fact_ remains (and I've had this private conversation quite recently with you) that solid, well designed, non-t

[web2py:25767] Re: How do we petition Google to mention web2py?

2009-07-06 Thread Yarko Tymciurak
I agree - a mainline release process would be of benefit. I think we need to look at the maturity of that google code mercurial option, as that would give us some important tools - like "code-review" per submission, so it would at least be a process... and could lead us into what Hans mentions...

[web2py:25768] Re: need an ajax spreadsheet

2009-07-06 Thread Yarko Tymciurak
Well, it's not a distribution... the various executables and tarballs are distribution. A clean clone today is out of whack to be called a distribution. Here's tonight's clean checkout: size (I skip all the relatively uninteresting stuff): [yak...@thynken web2py]$ du -h clean* 396Kclean

[web2py:25770] Re: Trouble with Recaptcha

2009-07-06 Thread Kuba Kucharski
You have to obtain your own RECAPTCHA_PUBLIC_KEY and RECAPTCHA_PRIVATE_KEY. That's the idea of keys. http://recaptcha.net/ -- Kuba On Sun, Jul 5, 2009 at 10:58 PM, weheh wrote: > > On my clean install of 1.65.1 I'm trying out a brand new test app. All > I'm trying to do is test out all the a

[web2py:25769] xml (important)

2009-07-06 Thread pk
hi together, i have a function: def table_as_xml(): from gluon.serializers import xml response.headers['Content-Type']='text/xml' return ''' '''+"%s" % xml(db(db[request.args (0)].id>0).select().as_list()) ok this works fine. but how can i create the weblink with .xml

[web2py:25771] Re: How do we petition Google to mention web2py?

2009-07-06 Thread mdipierro
Yarko. Many more people than you know are using web2py. I know of companies who do and I know of government organizations who do, although I am not saying their names without their permission. For various reason these users tend to use web2py do develop applications for internal use and not publ

[web2py:25772] Re: xml (important)

2009-07-06 Thread mdipierro
You can call but it ugly. http://www.test.com/myapp/default/table_as_xml.xml/user I suggest def table_as_xml(): from gluon.serializers import xml response.headers['Content-Type']='text/xml' return ''' '''+"%s" % xml(db(db [request.vars.id].id>0).select().as_list()

[web2py:25773] Locking vertical scrollbar ?

2009-07-06 Thread Fauché JM
Hello, when you have hundreds lines of code and you are working on one function ,when testing (index) and comming back to code, you have to scroll to ...the last place you were working on ! (so loosing few precious time). I know you can find a line or word in text editor but you have to enter a wo

[web2py:25774] List of web hosting for Web2py

2009-07-06 Thread Yannick
Hello folks, Maybe it will be good to have in the web2py's website a section where we can see a list of all the good and serious hosting company that support web2py it will be helpful... Me the web hosting I found doesn't seems to be very professional and maybe you guys know a better and really s

[web2py:25775] Re: List of web hosting for Web2py

2009-07-06 Thread Jonathan Lundell
On Jul 6, 2009, at 7:54 AM, Yannick wrote: > Maybe it will be good to have in the web2py's website a section where > we can see a list of all the good and serious hosting company that > support web2py it will be helpful... Me the web hosting I found > doesn't seems to be very professional and may

[web2py:25776] web2py via shell account

2009-07-06 Thread Jonathan Lundell
Is it practical to run web2py from a non-admin remote-login account, without access to httpd.conf or rc files? I'm wondering, for example, how to get it to start after a reboot without manual intervention. Running without web2py admin access would be fine. --~--~-~--~~

[web2py:25777] Re: List of web hosting for Web2py

2009-07-06 Thread Speedbird
In addition to that, are we talking about companies that support web2py in the sense that they provide some sort of "control panel" for it? - I mean I've been using my (same) hosting company for ages now, though I have a "dedicated" VPS with them I do not have a control panel of any sort, and I've

[web2py:25778] Re: xml (important)

2009-07-06 Thread pk
is there no possibiltiy to get follow url: http://www.test.com/myapp/default/table_as_xml/user.xml ?? thanks On 6 Jul., 15:55, mdipierro wrote: > You can call but it ugly. > > http://www.test.com/myapp/default/table_as_xml.xml/user > > I suggest > > def table_as_xml(): >       from gluon.serial

[web2py:25779] Re: xml (important)

2009-07-06 Thread pk
i need this url, when i use httpservice in flex On 6 Jul., 15:55, mdipierro wrote: > You can call but it ugly. > > http://www.test.com/myapp/default/table_as_xml.xml/user > > I suggest > > def table_as_xml(): >       from gluon.serializers import xml >       response.headers['Content-Type']='tex

[web2py:25780] Re: Locking vertical scrollbar ?

2009-07-06 Thread Piotr Banaszkiewicz
Hi, Are you talking about some IDE? In many IDEs you have something like Outline (Eclipse + PyDev) or Navigator (NetBeans + Python plugin) which displays classes, functions, often with variables in them. By doubleclicking on some name (let's say, class Client) you can quickly go to its defini

[web2py:25781] Re: xml (important)

2009-07-06 Thread mdipierro
In routes.py you can do routes_in=(('/myapp/default/table_as_xml/user.html','/myapp/default/ table_as_xml.xml/user'),) routes_out=(('/myapp/default/table_as_xml.html/user','/myapp/default/ table_as_xml/user.html'),) On Jul 6, 10:30 am, pk wrote: > i need this url, when i use httpservice in fle

[web2py:25782] Re: xml (important)

2009-07-06 Thread pk
where can i find routes.py? On 6 Jul., 17:43, mdipierro wrote: > In routes.py you can do > > routes_in=(('/myapp/default/table_as_xml/user.html','/myapp/default/ > table_as_xml.xml/user'),) > routes_out=(('/myapp/default/table_as_xml.html/user','/myapp/default/ > table_as_xml/user.html'),) > > O

[web2py:25783] Re: xml (important)

2009-07-06 Thread Fran
On Jul 6, 4:47 pm, pk wrote: > where can i find routes.py? cp web2py\routes.example.py web2py\routes.py F --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send em

[web2py:25784] Re: xml (important)

2009-07-06 Thread Jonathan Lundell
On Jul 6, 2009, at 8:50 AM, Fran wrote: > On Jul 6, 4:47 pm, pk wrote: >> where can i find routes.py? > > cp web2py\routes.example.py web2py\routes.py And section 4.15 of the manual. --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[web2py:25785] Re: List of web hosting for Web2py

2009-07-06 Thread Yannick
Can I know the name of the company you are using please ? On Jul 6, 11:25 am, Speedbird wrote: > In addition to that, are we talking about companies that support > web2py in the sense that they provide some sort of "control panel" for > it? - I mean I've been using my (same) hosting company for

[web2py:25786] Re: xml (important)

2009-07-06 Thread pk
ok thanks but i dont`t find the routes.example.py i use a mac On 6 Jul., 17:55, Jonathan Lundell wrote: > On Jul 6, 2009, at 8:50 AM, Fran wrote: > > > On Jul 6, 4:47 pm, pk wrote: > >> where can i find routes.py? > > > cp web2py\routes.example.py web2py\routes.py > > And section 4.15 of the m

[web2py:25787] Re: xml (important)

2009-07-06 Thread pk
can you explain in more detailed. what i have to do to change the routes.py On 6 Jul., 18:11, pk wrote: > ok thanks but i dont`t find the routes.example.py > i use a mac > > On 6 Jul., 17:55, Jonathan Lundell wrote: > > > On Jul 6, 2009, at 8:50 AM, Fran wrote: > > > > On Jul 6, 4:47 pm, pk wr

[web2py:25789] Email verification not working the way I expected it...

2009-07-06 Thread Jason Brower
I have setup the email verification according to the instructions online, but everyone is still able to login with no issues. I know the email is setup properly as I have used the same settings for emailing to others with my website. I am using Gmail's smtp to do the emailing. Any ideas? This is i

[web2py:25788] Re: xml (important)

2009-07-06 Thread mdipierro
>From a OSX terminal (which you can open from Application/Utilities) go into web2py.app/Contents/Resources/ and create and edit route.py. Place this text in it: #begin routes_in=(('/myapp/default/table_as_xml/user.html','/myapp/default/ table_as_xml.xml/user'),) routes_out=(('/myapp/default/tabl

[web2py:25790] Re: List of web hosting for Web2py

2009-07-06 Thread Speedbird
Replied. Thanks! On Jul 6, 9:08 am, Yannick wrote: > Can I know the name of the company you are using please ? > > On Jul 6, 11:25 am, Speedbird wrote: > > > In addition to that, are we talking about companies that support > > web2py in the sense that they provide some sort of "control panel" f

[web2py:25791] Re: xml (important)

2009-07-06 Thread pk
ok but now i get this errormessage Traceback (most recent call last): File "gluon/restricted.py", line 107, in restricted File "/Applications/web2py/web2py1.64.4/web2py.app/Contents/ Resources/applications/2busy/controllers/default.py", line 55, in File "gluon/globals.py", line 100, in F

[web2py:25792] Re: Email verification not working the way I expected it...

2009-07-06 Thread mdipierro
add auth.settings.registration_requires_verification = True On Jul 6, 11:19 am, Jason Brower wrote: > I have setup the email verification according to the instructions > online, but everyone is still able to login with no issues. > I know the email is setup properly as I have used the same set

[web2py:25793] Re: xml (important)

2009-07-06 Thread mdipierro
my mistake. try this #begin routes_in=(('/myapp/default/table_as_xml/$user.html','/myapp/default/ table_as_xml.xml/$user'),) routes_out=(('/myapp/default/table_as_xml.html/$user','/myapp/default/ table_as_xml/$user.html'),) #end On Jul 6, 11:40 am, pk wrote: > ok but now i get this errormessage

[web2py:25794] Re: xml (important)

2009-07-06 Thread pk
i also get this ticket Traceback (most recent call last): File "gluon/restricted.py", line 107, in restricted File "/Applications/web2py/web2py1.64.4/web2py.app/Contents/ Resources/applications/2busy/controllers/default.py", line 55, in File "gluon/globals.py", line 100, in File "/Applic

[web2py:25795] Re: xml (important)

2009-07-06 Thread pk
http://127.0.0.1:8000/2busy/default/table_as_xml/projectmember if i try this, this works fine but still: http://127.0.0.1:8000/2busy/default/table_as_xml/projectmember.xml throw a ticket On 6 Jul., 18:54, pk wrote: > i also get this ticket > Traceback (most recent call last): >   File "gluon

[web2py:25796] Re: xml (important)

2009-07-06 Thread mdipierro
one more try #begin routes_in=(('/myapp/default/table_as_xml/$user\.html','/myapp/default/ table_as_xml\.xml/$user'),) routes_out=(('/myapp/default/table_as_xml\.html/$user','/myapp/default/ table_as_xml/$user\.html'),) #end On Jul 6, 11:57 am, pk wrote: > http://127.0.0.1:8000/2busy/default/tab

[web2py:25797] auth and multiple controllers

2009-07-06 Thread Jose
How I use the decorators of auth in multiple controllers without having to declare in every controller: def user (): return dict(form=auth()) Though to do it is troublesome, also I must duplicate the view "user". I imagine that there must be a simpler way. Regards Jose --~--~

[web2py:/] Re: xml (important)

2009-07-06 Thread pk
it still doesn`t work On 6 Jul., 19:59, mdipierro wrote: > one more try > #begin > routes_in=(('/myapp/default/table_as_xml/$user\.html','/myapp/default/ > table_as_xml\.xml/$user'),) > routes_out=(('/myapp/default/table_as_xml\.html/$user','/myapp/default/ > table_as_xml/$user\.html'),) > #end

[web2py:25799] Re: auth and multiple controllers

2009-07-06 Thread mdipierro
Not sure I understand. You need only one > def user (): > return dict(form=auth()) If you need to decorate lots of functions with @auth.requires_login(), you can do if not request.function in ['index','other_allowed_function'] and not auth.is_logged_in(): redirect(URL(r=request,f='user/

[web2py:25800] Re: xml (important)

2009-07-06 Thread mdipierro
Did you restart web2py? If yes, and still does not work, please post you routes.py, and a full path that does work On Jul 6, 1:09 pm, pk wrote: > it still doesn`t work > > On 6 Jul., 19:59, mdipierro wrote: > > > one more try > > #begin > > routes_in=(('/myapp/default/table_as_xml/$user\.html',

[web2py:25801] Re: xml (important)

2009-07-06 Thread mdipierro
P.S. This is a very well established feature. It is just a matter of getting the regex right. I can help you but you may want to read about it in the book. It is well documented. Massimo On Jul 6, 1:09 pm, pk wrote: > it still doesn`t work > > On 6 Jul., 19:59, mdipierro wrote: > > > one more

[web2py:25802] Re: auth and multiple controllers

2009-07-06 Thread Jose
On 6 jul, 18:16, mdipierro wrote: > Not sure I understand. You need only one > > > def user (): > >     return dict(form=auth()) > > If you need to decorate lots of functions with @auth.requires_login(), > you can do > > if not request.function in ['index','other_allowed_function'] and not > au

[web2py:25803] Re: How do we petition Google to mention web2py?

2009-07-06 Thread weheh
Hey, Massimo, what've you got against cats? ;^) And Yarko says: """Your TG story is another thing, but the _fact_ remains (and I've had this private conversation quite recently with you) that solid, well designed, non-trivial, and commercially in-use applications written in web2py are what?

[web2py:25804] Re: Trouble with Recaptcha

2009-07-06 Thread weheh
Thanks, Kuba. I was wondering about that and where to get the keys. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubsc

[web2py:25805] Re: Locking vertical scrollbar ?

2009-07-06 Thread Jason Brower
Little hack I do that most editors have... If you want to see your last change: Cntrl-Z for undo... that will jump your cursor there... the Cntrl-Y is ussually redo, and that will put back your change with your cursor where you want it. I use geany, it has a nice bookmarking feature. I use it at

[web2py:25807] Re: Locking vertical scrollbar ?

2009-07-06 Thread Fauché JM
I am talking of administrative interface of web2py .When looking to my code (models,controllers,views,...) it should be interesting having this option.Of course some idle or éditors,can do that "outside" ,it should be better "inside web2py"... Jean-Marc --~--~-~--~~~--

[web2py:25808] _action='.'

2009-07-06 Thread Jonathan Lundell
The example _action='.' appears in the manual, section 7.2 (SQLForm), page 168. What does that mean? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email

[web2py:25809] Re: auth and multiple controllers

2009-07-06 Thread mdipierro
No. You should define the 'user; action only one (for example in default.py) But, you also need the following in the model auth.settings.login_url = URL(r=request,c='default',f='user/login') auth.settings.on_failed_authorization = URL (r=request,c='default',f='user/on_failed_authorization') so a

[web2py:25810] Re: How do we petition Google to mention web2py?

2009-07-06 Thread mdipierro
weheh. You think you absolutely have a point. here are some other public apps that use web2py (although as I said most web2py apps are not designed to be public): http://www.appliedstacks.com/NewestFirst/web2py Massimo On Jul 6, 1:33 pm, weheh wrote: > Hey, Massimo, what've you got against ca

[web2py:/] Re: xml (important)

2009-07-06 Thread pk
it still doesn`t work. here the routes.py #begin routes_in=(('/2busy/default/table_as_xml/$projectmember\.html','/myapp/ default/table_as_xml\.xml/$projectmember'),) routes_out=(('/2busy/default/table_as_xml\.html/$projectmember','/ myapp/default/table_as_xml/$projectmember\.html'),) #end htt

[web2py:25811] Re: How do we petition Google to mention web2py?

2009-07-06 Thread Yarko Tymciurak
Massimo - Sounds good. On Mon, Jul 6, 2009 at 8:51 AM, mdipierro wrote: > > Yarko. Many more people than you know are using web2py. > > I know of companies who do and I know of government organizations who > do, although I am not saying their names without their permission. While this is und

[web2py:25812] Re: How do we petition Google to mention web2py?

2009-07-06 Thread Yarko Tymciurak
Hey weheh - On Mon, Jul 6, 2009 at 1:33 PM, weheh wrote: > > Hey, Massimo, what've you got against cats? ;^) > .. > > I just announced my first app, which has been used commercially now > for a few weeks and has made hundreds of paid-for reservations for the > club "SPiN New York". Talk abo

[web2py:25813] Re: List of web hosting for Web2py

2009-07-06 Thread Yarko Tymciurak
I think your request is a good one: - A blog-like list of hosting where web2py is known to run, and what it takes to setup a web2py site there. I have an account on webfaction, and have moved others there. They have a writeup on how to get web2py deployed, and support you through it. I _know_

[web2py:25814] Re: _action='.'

2009-07-06 Thread Yarko Tymciurak
_action value (in SQLForm) is what "action" in HTML FORM will be set to. It is a URI, so "." is relative to the current context. check out something like http://www.w3.org/TR/html401/interact/forms.htmlfor more. On Mon, Jul 6, 2009 at 1:44 PM, Jonathan Lundell wrote: > > The example _action='

[web2py:25815] Locking vertical scrollbar ?

2009-07-06 Thread Piotr Banaszkiewicz
I think, that web editor in web2py shouldn't be your main code editor. It is really poor in comparison to other IDEs (Eclipse, NetBeans, or Geany, as Jason mentioned). For example, does it have autocompletion, or a debugger? No. I also think, that the main point of using web editor (which does

[web2py:25816] Re: web2pyslices.com test feedback

2009-07-06 Thread waTR
That looks VERY sleek!! Great job!! Any way to get the source-code to learn from it? On Jul 5, 9:46 pm, "mr.freeze" wrote: > I am putting together a paste bin site for web2py called > web2pyslices.com.  It has ratings, markdown, favorites, comments and a > few other features.  The test si

[web2py:25823] Re: _action='.'

2009-07-06 Thread Jonathan Lundell
On Jul 6, 2009, at 12:31 PM, Yarko Tymciurak wrote: > _action value (in SQLForm) is what "action" in HTML FORM will be > set to. > > It is a URI, so "." is relative to the current context. > > check out something like http://www.w3.org/TR/html401/interact/forms.html > for more. OK, thanks.

[web2py:25819] Re: How do we petition Google to mention web2py?

2009-07-06 Thread mdipierro
I understand what you are trying to say but when you say "no one is using web2py" gives people the wrong impression and not the correct one. It is not fair to member of this community who use web2py. You should also assume that there are lots of people on this list who are considering web2py but

[web2py:25821] Re: web2pyslices.com test feedback

2009-07-06 Thread mdipierro
yes, excellent job! On Jul 6, 2:48 pm, waTR wrote: > That looks VERY sleek!!   Great job!! > > Any way to get the source-code to learn from it? > > On Jul 5, 9:46 pm, "mr.freeze" wrote: > > > I am putting together a paste bin site for web2py called > > web2pyslices.com.  It has ratings, markdow

[web2py:25820] Re: List of web hosting for Web2py

2009-07-06 Thread mdipierro
This is thought one because there are many subtleties. web2py can run everywhere as long as they have python installed. If they can run any other python framework they can run web2py. If they can run java apps, they can run Jython and thus they can run web2py too. All sites that list cherrypy I

[web2py:25826] Re: How to create a JavaScript confirmation popup?

2009-07-06 Thread Speedbird
onclick="confirmation('{{=r.id}}');" Then just accept the parameter in your JS function and handle it there, something like function confirmation(recno) { ... -- Julio On Jul 6, 1:57 pm, NetAdmin wrote: > Hello All, > > I'm trying to display records in a table, that has a button at the end >

[web2py:25822] Re: web2pyslices.com test feedback

2009-07-06 Thread mr.freeze
Thanks! I will pack it into a w2p and make it available on the site after it is deployed. I've still got a few bugs to iron out and CSS to clean up. On Jul 6, 2:48 pm, waTR wrote: > That looks VERY sleek!!   Great job!! > > Any way to get the source-code to learn from it? > > On Jul 5, 9:46 pm,

[web2py:25827] Re: _action='.'

2009-07-06 Thread mdipierro
_action=URL(r=request)) is probably fine _action=URL(r=request,args=request.args)) to be user On Jul 6, 3:32 pm, Jonathan Lundell wrote: > On Jul 6, 2009, at 12:31 PM, Yarko Tymciurak wrote: > > > _action value (in SQLForm) is what "action" in HTML FORM  will be   > > set to. > > > It is a U

[web2py:25825] Re: List of web hosting for Web2py

2009-07-06 Thread gluegl
Here is one Web2Py Hosting site ... http://Gpro.ws -G --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from thi

[web2py:25829] Re: How to create a JavaScript confirmation popup?

2009-07-06 Thread NetAdmin
YES! YES! YES! That worked GREAT! I spent HOURS trying to get that correct! Thanks So Much! Sterling On Jul 6, 4:07 pm, Speedbird wrote: > onclick="confirmation('{{=r.id}}');" > > Then just accept the parameter in your JS function and handle it > there, something like > > function confirmation

[web2py:25830] Re: How do we petition Google to mention web2py?

2009-07-06 Thread JohnMc
"Some people are not interested in features as are only interested in learning the system that will give them the highest chance of getting hired. Some people are interested in features as a way to get the job done better and quicker. I am working for this second class of users. I am interested in

[web2py:25831] peek at new DAL

2009-07-06 Thread Massimo Di Pierro
Some people have asked so here is a prototype of the new DAL. It is far come complete. The tests at the end work. It cannot jet be integrated in web2py because the part for auto-closing transactions if missing. --~--~-~--~~~---~--~~ You received this message

[web2py:25824] How to create a JavaScript confirmation popup?

2009-07-06 Thread NetAdmin
Hello All, I'm trying to display records in a table, that has a button at the end of each row, that calls a JavaScript popup to confirm the delete. I'm stuck and would appreciate any help anyone can offer. Some of the code is attached. Thanks! Sterling