[web2py] groups and access control

2016-10-11 Thread Joe Lwe
Hello, a)How can i specify automatic group assignment on creation of user based on a particular condition. Consider, on signup form a user can select if he is registering as a business or an individual.. if user selects business account is automatically assigned group business else assigned to in

Re: [web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2015-10-23 Thread Marco Mansilla
El Wed, 21 Oct 2015 11:38:56 -0700 (PDT) Julieta Abdala escribió: > How I can load Layout.html or plugin_jqmobile/layout.html according > with the client? > > I need to do 2 applications? One for pc and other for mobile? > > Thanks > > El sábado, 17 de septiembre de 2011, 10:45:19 (UTC-3), Pys

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2015-10-21 Thread Julieta Abdala
How I can load Layout.html or plugin_jqmobile/layout.html according with the client? I need to do 2 applications? One for pc and other for mobile? Thanks El sábado, 17 de septiembre de 2011, 10:45:19 (UTC-3), Pystar escribió: > > I would like to know if anyone here has used web2py with JQuery

[web2py] Re: can we have web2py groups with AD authentication ?

2015-02-13 Thread Gary Cowell
ment, I'm using standard auth, where users can self register, >> then I add them to the admin group myself if necessary >> >> I found a web2py slices for authenticating against AD, but how can I also >> use web2py groups, /instead of/ AD/ldap groups? So authenticate

[web2py] Re: can we have web2py groups with AD authentication ?

2015-02-13 Thread Niphlod
imho the docstrings are pretty clear manage_groups=True --> turns on the whole machinery to sync ldap groups with web2py's ones at login time with manage_groups=False, your users basically don't need to register theirself and web2py doesn't need to store the password, but you can still

[web2py] Re: can we have web2py groups with AD authentication ?

2015-02-13 Thread mcamel
ere users can self register, > then I add them to the admin group myself if necessary > > I found a web2py slices for authenticating against AD, but how can I also > use web2py groups, /instead of/ AD/ldap groups? So authenticate the user > and password against AD, but u

Re: [web2py] can we have web2py groups with AD authentication ?

2015-02-12 Thread Richard Vézina
ions within the app. > > So at the moment, I'm using standard auth, where users can self register, > then I add them to the admin group myself if necessary > > I found a web2py slices for authenticating against AD, but how can I also > use web2py groups, /instead of/ AD/ldap gr

[web2py] can we have web2py groups with AD authentication ?

2015-02-11 Thread Gary Cowell
I'm using standard auth, where users can self register, then I add them to the admin group myself if necessary I found a web2py slices for authenticating against AD, but how can I also use web2py groups, /instead of/ AD/ldap groups? So authenticate the user and password against AD, but use my

Re: [web2py] Re: ASK Web2py Groups: Clarification on decimal type field

2011-11-04 Thread Vinicius Assef
Think of it as any normal database application. As far as Web2py doesn't create indexes, you must take care of it by yourself. If your IS_IN_DB() validator refers to a field that isn't indexed, your performance will suffer. -- Vinicius Assef. On Fri, Nov 4, 2011 at 1:33 AM, Pystar wrote: >

[web2py] Re: ASK Web2py Groups: Clarification on decimal type field

2011-11-03 Thread Pystar
Another Question: what is the performance drawback in using IS_IN_DB() validator in a form? From what I understand, web2py checks if the query passes against the database before doing a database insert or any other action. I would like to know if there would be a performance degrade as the number o

[web2py] Re: ASK Web2py Groups: Clarification on decimal type field

2011-11-03 Thread Pystar
Thanks Max On Nov 4, 4:07 am, Massimo Di Pierro wrote: > I always use request.now.I think of utfnow as a utility in case there > ar multiple servers in different dimezones. > > On Nov 3, 9:46 pm, Pystar wrote: > > > > > > > > > I have another question, > > Whats the best way to get the time to u

[web2py] Re: ASK Web2py Groups: Clarification on decimal type field

2011-11-03 Thread Massimo Di Pierro
I always use request.now.I think of utfnow as a utility in case there ar multiple servers in different dimezones. On Nov 3, 9:46 pm, Pystar wrote: > I have another question, > Whats the best way to get the time to use for a time stamp field in a > database insert? request.utcnow? I would like to

[web2py] Re: ASK Web2py Groups: Clarification on decimal type field

2011-11-03 Thread Massimo Di Pierro
n is the precision. It is important to know how many digits store else the db does not know how long the field should be. Are you going to handle more than one trillion? On Nov 3, 9:41 pm, Pystar wrote: > I would like some clarification on the Decimal type field in DAL. From > the book, in the co

[web2py] Re: ASK Web2py Groups: Clarification on decimal type field

2011-11-03 Thread Pystar
I have another question, Whats the best way to get the time to use for a time stamp field in a database insert? request.utcnow? I would like to do time comparisons between when a record was inserted into a database and the present time, so would request.utcnow suffice? and if it would, how do I get

[web2py] ASK Web2py Groups: Clarification on decimal type field

2011-11-03 Thread Pystar
I would like some clarification on the Decimal type field in DAL. From the book, in the complete signature for Decimal type is "decimal(n,m)" where; n -- total number of digits m -- total number of digits after the decimal point if I am to specify a decimal type field that has 4 digits after the de

Re: [web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-10-20 Thread joseph simpson
Thanks for the update On Thu, Oct 20, 2011 at 6:40 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > > The web2py 4th ed is almost ready. Problem is that we keep addi > features...and we need to decide on new welcome layout or we cannot > make screenshots > > The packt book is in

[web2py] new web2py books (was Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due)

2011-10-20 Thread Gour
On Thu, 20 Oct 2011 06:40:35 -0700 (PDT) Massimo Di Pierro wrote: > The web2py 4th ed is almost ready. Problem is that we keep addi > features...and we need to decide on new welcome layout or we cannot > make screenshots Is the 'code' for the book available for the public (if one wants to fix so

[web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-10-20 Thread Massimo Di Pierro
The web2py 4th ed is almost ready. Problem is that we keep addi features...and we need to decide on new welcome layout or we cannot make screenshots The packt book is in the hands of the publisher. Both book shout be available berofe christmas On Oct 19, 2:16 pm, joseph simpson wrote: > Just c

Re: [web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-10-19 Thread joseph simpson
Just checking on the current state of the Web2py online book update as well as the rumored "Packt Web2py book." Any new projected release dates? Have fun, Joe On Tue, Sep 27, 2011 at 7:00 AM, Jim Steil wrote: > +1 for keeping in the book format. Definitely helped attract me to Web2py. > >

Re: [web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-27 Thread Jim Steil
+1 for keeping in the book format. Definitely helped attract me to Web2py. -Jim On 9/26/2011 10:18 PM, Andrew wrote: I was actually qutie impressed with the book-like docs when I first saw them. It gives the framework a polished, professional feel (I think). I say keep it, but I'm all fo

Re: [web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-26 Thread joseph simpson
Web2py Team: Brilliant software architecture and ingenuous code can be greatly enhanced by up-to-date documentation. The documentation associated with Web2py is what attracted me to the framework. The documentation is a significant discriminator and provides high value to individuals that are ne

[web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-26 Thread Massimo Di Pierro
The printed book and the online book are the same. Anthony and other people here have done a great job updating the book online. Some features are very new and still undocumented there. I posted a list last week. I froze the book online and hope to have the 4th edition ready in 2-3 weeks. I will po

[web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-26 Thread Andrew
I was actually qutie impressed with the book-like docs when I first saw them. It gives the framework a polished, professional feel (I think). I say keep it, but I'm all for keeping it up to date, in line with new functionality being released in the stable version. I'm also hanging out for an upd

[web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-26 Thread pbreit
I wonder if we could benefit from docs that are more dynamic and less book-like? I'm not totally enamored with Sphinx, though.

[web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-26 Thread Marcello
Hello Massimo, Any ETA on that ? Thanks On 26 set, 22:44, Massimo Di Pierro wrote: > I guess you mean the 4th edition... working on it. > > On Sep 26, 7:53 pm, Pystar wrote: > > > > > > > > > I think that the Web2py Book 3rd Edition is long over due as most of > > the new features arent in the

[web2py] Re: Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-26 Thread Massimo Di Pierro
I guess you mean the 4th edition... working on it. On Sep 26, 7:53 pm, Pystar wrote: > I think that the Web2py Book 3rd Edition is long over due as most of > the new features arent in the online book and arent getting used by > most people especially newbies.

[web2py] Tell Web2py Groups: The Web2py Book 3rd Edition is long over due

2011-09-26 Thread Pystar
I think that the Web2py Book 3rd Edition is long over due as most of the new features arent in the online book and arent getting used by most people especially newbies.

Re: [web2py] Re: Ask Web2py Groups: How to implement infinite login session

2011-09-19 Thread Phyo Arkar
LOL :D may be till 2012 december 21st should be enought? On 9/17/11, pbreit wrote: > Unsafe and unnecessary. Wouldn't 10 or 20 or 50 years be ok?

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-18 Thread Pystar
Much thanks to Anthony for pointing out this awesome plugin to me and also to Anthonio for making me understand some things. I have gotten it working perfectly on google chrome desktop browser. The reason why it wasnt working is that the plugin_jqmobile/layout.html file which you must use to replac

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-18 Thread Pystar
@Anthonio, Can you please show a sample code of your working layout file? So that I can compare it to what I have here, so that I can know what exactly I am doing wrong. Thanks On Sep 18, 2:56 pm, Pystar wrote: > So I cant have a downloadable app? What of if I have an icon or image > that a user

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-18 Thread Pystar
So I cant have a downloadable app? What of if I have an icon or image that a user can download to a smart device, once that image is clicked, it launches the devices mobile browser with the url to my app automatically? Would that work? On Sep 18, 1:58 pm, António Ramos wrote: > Answer:  have to b

Re: [web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-18 Thread António Ramos
Answer: have to be accessed from a mobile broswer with a URL! 2011/9/18 Pystar > I need to understand something, after developing my app with jquery > mobile, can I make it downloadable and installable to a smart phone or > device like apps from apple app store or android market? or does it >

Re: [web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-18 Thread António Ramos
I also use Chrome 13 and no problem with jquery mobile You dont need a mobile device ! You may have a problem with your view! 2011/9/18 Pystar > I have commented it out but its still not working. Do I have to view > it on a mobile device browser to see if its working? or would it work > with a

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-18 Thread Pystar
I need to understand something, after developing my app with jquery mobile, can I make it downloadable and installable to a smart phone or device like apps from apple app store or android market? or does it have to be accessed from a mobile broswer with a URL? thanks On Sep 18, 12:43 pm, Pystar w

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-18 Thread Pystar
I have commented it out but its still not working. Do I have to view it on a mobile device browser to see if its working? or would it work with a desktop broswer? I use google chrome 13. Thanks On Sep 17, 8:47 pm, António Ramos wrote: > I´m no expert but i have it working i 3 diferent pages. > >

Re: [web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-17 Thread António Ramos
i have bee using it and it works nice !! 2011/9/17 Pystar > Thanks for the link to the plugin. But I am at loss of how to use it. > I have removed the "extend layout.html" directive in all my layout > files and included "plugin_jqmobile/layout.html". But whenever I visit > any of those pages, I

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-17 Thread Pystar
Thanks for the link to the plugin. But I am at loss of how to use it. I have removed the "extend layout.html" directive in all my layout files and included "plugin_jqmobile/layout.html". But whenever I visit any of those pages, I see just a barebones page that looks like a html page without any css

[web2py] Re: Ask Web2py Groups: How to implement infinite login session

2011-09-17 Thread pbreit
Unsafe and unnecessary. Wouldn't 10 or 20 or 50 years be ok?

[web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-17 Thread Anthony
Check out http://web2py.com/plugins/plugin_jqmobile/about. On Saturday, September 17, 2011 9:45:19 AM UTC-4, Pystar wrote: > > I would like to know if anyone here has used web2py with JQuery > Mobile? And what the experience was.

[web2py] Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2011-09-17 Thread Pystar
I would like to know if anyone here has used web2py with JQuery Mobile? And what the experience was.

[web2py] Re: Ask Web2py Groups: How to implement infinite login session

2011-09-16 Thread Pystar
why do you advise against infinite logins? On Sep 17, 12:55 am, pbreit wrote: > Just set auth.settings.long_expiration to something big (in seconds). You > don't want infinite logins.

[web2py] Re: Ask Web2py Groups: How to implement infinite login session

2011-09-16 Thread pbreit
Just set auth.settings.long_expiration to something big (in seconds). You don't want infinite logins.

[web2py] Re: Ask Web2py Groups: How to implement infinite login session

2011-09-16 Thread Alan Etkin
I don't know if there is an example posted yet but you could imitate this code somehow: http://www.web2py.com/examples/static/epydoc/web2py.gluon.tools-pysrc.html#Auth Based on user login events you could use a very long time limit to conserve the session (Line 1021) response.cookies[response.ses

[web2py] Ask Web2py Groups: How to implement infinite login session

2011-09-16 Thread Pystar
I would really like to know if it is possible for a user to have an infinite login session? i,e the user is never logged out unless he specifically wants to do so. And how can this be implemented? thanks

[web2py] Groups and Roles using LDAP

2011-03-10 Thread Ialejandro
Hi! I have this question, how could I use LDAP auth and use roles. So I need to take the users from an active directory (microsoft exchange) and they must have a role. How could I do that?? I need 2 basic roles, Boss, User (boss can create, delete) and have access to every controller in the app, w

[web2py] Groups.

2010-02-21 Thread Matt
Whats the best way to create groups for an application but only create them once...? Thanks, Matt -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send

[web2py:32256] synchronize Google Apps groups with web2py groups?

2009-10-05 Thread Graham Charles
Has anyone already written code to synchronize Google Apps groups with web2py groups? That is, I'd like to be able to make use of the groups I've defined in Google Apps in decorator functions like @auth.requires_membership The code in gluon.contrib.login_methods.gae_google_account r

[web2py:9898] Re: web2py groups sections?

2008-10-07 Thread mdipierro
I do not know. Will look into it On Oct 7, 2:11 am, vihang <[EMAIL PROTECTED]> wrote: > Just a suggestion, for easy readability, is it possible to have > sections in this group, like General, Bugs, Dev, etc like a forum? > This will make it easy to browse through. --~--~-~--~~

[web2py:/] web2py groups sections?

2008-10-07 Thread vihang
Just a suggestion, for easy readability, is it possible to have sections in this group, like General, Bugs, Dev, etc like a forum? This will make it easy to browse through. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou