Re: [web2py] Re: Auth extra fields

2016-01-07 Thread greenpoise
Thanks! On Wednesday, January 6, 2016 at 9:53:51 AM UTC-8, Anthony wrote: > > On Wednesday, January 6, 2016 at 12:42:56 PM UTC-5, Mathieu Clabaut wrote: >> >> Be careful that when you update extra fields, it is your responsibility >> to update auth.user and session.auth.user accordingly... >> > >

Re: [web2py] Re: what is difference between ajax() and web2py_component() ?

2016-01-07 Thread Anthony
.load is just a convention to help distinguish from a full HTML page, but you can use any extension you want. In some cases, the same controller might be used as both a component and a full web page, so you could have separate .load and .html views for that controller. Anthony On Thursday, Jan

[web2py] Deploying in Windows server and SSL (no IIS)

2016-01-07 Thread José Eloy
Hi there! How I can deploy a web2py app using Windows and SSL? Is it OK if I use the rocket web server included in Web2py? I'm thinking in use Open SSL because I'm not using the IIS web server, also I'm thinking in create a self signed certificated, the app is running in a intranet. I´ve down

Re: [web2py] Re: what is difference between ajax() and web2py_component() ?

2016-01-07 Thread Ariya Owam-aram
Hi Anthony, Thank you for your clear and helpful explanation. I still have a question, what is .load is for? Why do I need to specific view extension to .load? Sometime I use .html for LOAD() or web2py_component() but did't see the difference. Thank you again Ariya เมื่อ วันศุกร์ที่ 8 มกราคม

Re: [web2py] Translation of the Online Book (to German) and general question about how to translate Wiki Pages

2016-01-07 Thread Jörg Schneider
I don't really understand the concept of T. in a Wiki-context!? How can I translate Wiki Pages with T-Function? My approach was to provide a link or drop down box for the user and to offer separate wiki pages (edited in arabic or english language) like @ar_page1 and @en_page1 or @de_

[web2py] Re: server function not triggered in some cases

2016-01-07 Thread Yebach
The calculation runs on the same server. When user starts a calculation a function creates a txt file and puts it in a folder in my application. The engine checks if the file is there. if file exists it starts a calculation. The way user stops calculation another function actually deletes that f

Re: [web2py] issue with change log in github

2016-01-07 Thread Anthony
In that case, the "Change Log" button at http://www.web2py.com/init/default/download should not point to https://github.com/web2py/web2py/releases. Anthony On Thursday, January 7, 2016 at 2:43:53 PM UTC-5, Niphlod wrote: > > we do not use the "releases" feature of github since web2py splitted p

[web2py] server function not triggered in some cases

2016-01-07 Thread Yebach
Hello Using web2py (Version 2.8.2-stable+timestamp.2013.11.28.13.54.07), on 64-bit Windows, I have the following problem User triggers an engine that does some work and this engine creates an txt file with results. While engine is still calculating (engine is creating better and better results

[web2py] Re: Trigger a page refresh from an AJAX callback controller

2016-01-07 Thread Anthony
It generally helps to show some code. Anyway, if you call redirect() within an action being accessed via Ajax and you want to redirect the top-level page (i.e., not just redirect the Ajax request itself), then you can do: redirect(url, client_side=True) which will reload the entire page onc

Re: [web2py] Re: why you should upgrade to web2py 2.13.4

2016-01-07 Thread Anthony
On Thursday, January 7, 2016 at 11:43:45 AM UTC-5, Richard wrote: > > I suggest that "truncate" get addes to the signature of crud.select at > least, I wasn't so sure that it could fix this issue before trying it... > For now, I have updated the documentation to make it clear that the **attr arg

Re: [web2py] Re: why you should upgrade to web2py 2.13.4

2016-01-07 Thread Anthony
On Thursday, January 7, 2016 at 11:41:49 AM UTC-5, Richard wrote: > > It was not working like that in 2.9.5 actually which is not that old ( > https://github.com/web2py/web2py/releases/tag/R-2.9.5) march 2014, it > starts to date I agree though... > Actually, 2.9.5 wasn't working properly due to

[web2py] Trigger a page refresh from an AJAX callback controller

2016-01-07 Thread Henk Hendricks
Hello All, Is 't possible to trigger a page refresh from an Ajax callback controller? I've an Ajax controller which returns an SQLFORM. This form returns its data to the Ajax controller for the correct form processing. I've tried a redirect(URL('...')), but this results in a page in a page (Lik

Re: [web2py] Re: what is difference between ajax() and web2py_component() ?

2016-01-07 Thread Fabiano Almeida
Great! Can you show me examples of using web2py_component? thanks! Fabiano. 2016-01-07 13:57 GMT-02:00 Anthony : > The ajax() function provides basic functionality for making an Ajax > request, with some additional features, such as automatically sending > values from named input fields and in

Re: [web2py] Re: why you should upgrade to web2py 2.13.4

2016-01-07 Thread Richard Vézina
I suggest that "truncate" get addes to the signature of crud.select at least, I wasn't so sure that it could fix this issue before trying it... Richard On Thu, Jan 7, 2016 at 11:41 AM, Richard Vézina wrote: > It was not working like that in 2.9.5 actually which is not that old ( > https://githu

Re: [web2py] Re: why you should upgrade to web2py 2.13.4

2016-01-07 Thread Richard Vézina
It was not working like that in 2.9.5 actually which is not that old ( https://github.com/web2py/web2py/releases/tag/R-2.9.5) march 2014, it starts to date I agree though... Richard On Thu, Jan 7, 2016 at 11:31 AM, Anthony wrote: > On Thursday, January 7, 2016 at 10:59:45 AM UTC-5, Richard wrot

Re: [web2py] Re: why you should upgrade to web2py 2.13.4

2016-01-07 Thread Anthony
On Thursday, January 7, 2016 at 10:59:45 AM UTC-5, Richard wrote: > > Hello, > > It seems that someone as activate a undocumented truncate function over > CRUD and it by default to True or something... This cause an issue in my > app... It's not a big deal, I just add : truncate=None attribute wi

[web2py] Re: Get list of user groups

2016-01-07 Thread Anthony
auth.user_groups is stored in the user's session. If you (as an admin) make a change in the database, that will not affect the session of another user (which is stored in a file). We should probably make it easier to change content in a user's session (possibly by storing the name of the session

[web2py] what is difference between ajax() and web2py_component() ?

2016-01-07 Thread Ariya Owam-aram
Hi everyone, I often use ajax and web2py_component for onclick action (for example) but I never know what is difference between them and how to use them the right way. Can anyone guide me a good example, please? Thank your Ariya -- Resources: - http://web2py.com - http://web2py.com/book (Do