[web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Christian Foster Howes
the problem is that facebook is not returning an email. i know, i know, you told facebook that email is required and you can't reproduce such a state. i'm 100% with you, but i see the exact same behavior with my users! i suspect that these are actually returning users who granted email

[web2py] Re: Problem with combination of SQLForm.grid + LEFT JOIN + Computed Fields

2013-10-29 Thread hiro
Having the same problem, thank you for the info. The problem for me is that I can get either the left join to work using row.table_name.field_name, or the simple view to work by using row.field_name. Is there anyway to define a represent-function to work with both? On Tuesday, January 15, 2013

[web2py] Re: One of the best things that happened to web2py

2013-10-29 Thread Neil
Wow, this is excellent - everything seems to work really well. On Monday, 28 October 2013 09:41:35 UTC-7, Massimo Di Pierro wrote: I am happy to announce a great new opportunity for web2py users: https://www.pythonanywhere.com/try-web2py Basically they give you the opportunity to

[web2py] Re: One of the best things that happened to web2py

2013-10-29 Thread Mirko
2.7.4 , great ! On Monday, October 28, 2013 5:41:35 PM UTC+1, Massimo Di Pierro wrote: I am happy to announce a great new opportunity for web2py users: https://www.pythonanywhere.com/try-web2py Basically they give you the opportunity to create a web2py instance directly from the

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread DenesL
@Niphlod the workaround is required because web2py creates data-options={mode:calbox} which ends up like this in the INPUT element source code in the generated page mode:calbox}= data-options={ All works fine if the output from web2py is enclosed in single quotes instead, as in

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread Niphlod
I generated that simply with data=dict(options='{mode : calbox}') On Tuesday, October 29, 2013 11:52:55 AM UTC+1, DenesL wrote: @Niphlod the workaround is required because web2py creates data-options={mode:calbox} which ends up like this in the INPUT element source code in the generated

[web2py] Re: new web2py appliance: File Manager

2013-10-29 Thread Alan
did you ever get this as a plugin? looking to implement filemanager with ckeditor on my cms2py app im making, so would be a big timesaver. On Thursday, November 4, 2010 8:35:17 PM UTC, mdipierro wrote: email email email. :-) On Nov 4, 3:20 pm, Massimiliano mbelle...@gmail.com wrote:

[web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Lisandro
I see, your theory is pretty much accurate (sorry for my english, I hope that phrase is correct). What I mean is that your theory is the most addecuate for this case, thought it can't be proved. Actually, there is another error that says something about access token been already used, but

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread Anthony
@Anthony from module import * def f(): header = ... content = GRID(... ( # CALBOX used to create one of the columns footer = return {'page':PAGE(header, content, footer)} I guess it's hard to say without knowing what those other functions do, but I don't think web2py is

[web2py] Making dependent form fields in web2py

2013-10-29 Thread aabhas majumdar
I have to create a form which has 2 fields source and destination . I have a table Location1 in db.py with source and destination . I wanted to implement the view such that if i select a source from the drop down list of source then in destination only those destinations will be in drop down

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread Anthony
Anyway, it might not be a bad idea to allow the option to use single quotes around an HTML attribute, though not sure of the best way to achieve that. Maybe use a double underscore to identify such attributes: INPUT(..., **{'__data-options': XML('{mode:calbox}')}) or add a json argument to

[web2py] Re: Making dependent form fields in web2py

2013-10-29 Thread Anthony
See http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910 . On Tuesday, October 29, 2013 8:39:20 AM UTC-4, aabhas majumdar wrote: I have to create a form which has 2 fields source and destination . I have a

Re: [web2py] Re: Making dependent form fields in web2py

2013-10-29 Thread aabhas majumdar
Thanx a million :) !! On Tue, Oct 29, 2013 at 6:22 PM, Anthony abasta...@gmail.com wrote: See http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910 . On Tuesday, October 29, 2013 8:39:20 AM UTC-4, aabhas

[web2py] Re: Getting the current record in a custom widget

2013-10-29 Thread Anthony
On Tuesday, October 29, 2013 12:33:33 AM UTC-4, mr.freeze wrote: I am trying to break up a large form into steps that have complex interdependent values for a benefit application. I can achieve everything with controller/client side logic but I was hoping to do it at the widget level so

[web2py] Re: One of the best things that happened to web2py

2013-10-29 Thread stefaan
It's a manual process to clear down sites from people that decide not to sign up. Ouch... so let's hope not too many people decide to try it out then... (oh wait...! :D) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Problem with login_next and redirection

2013-10-29 Thread peter
There seems to be a problem with login_next and routes. I have a site called spinjazz.net My routes.py in the web2py directory directs to folder 'new_spin2' In the new_spin2 folder I have (r'.*://spinjazz.net:\w* /$anything', r'/new_spin2/default/$anything'), so spinjazz.net/index routes

[web2py] GAE compatability with recent web2py versions

2013-10-29 Thread David Manns
I have been running my application on GAE using Python 2.7 and web2py 2.4.6. Recently made minor application change and deployed with web2py 2.7.4, the current version. I am getting an error in at least one part of the application. The GAE log is attached. Re-deployed with the same application

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread DenesL
The other functions are pretty ordinary, there are just wrappers of the standard helpers. Most of them return DIV with some added attributes for jQuery Mobile. On Tuesday, October 29, 2013 8:36:19 AM UTC-4, Anthony wrote: @Anthony from module import * def f(): header = ... content

[web2py] Re: web2py resources

2013-10-29 Thread Andreas Wienes
This could help for the very first orientation http://learn-web2py.com/. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message

[web2py] Re: One of the best things that happened to web2py

2013-10-29 Thread Giles Thomas
On Tuesday, October 29, 2013 1:12:12 PM UTC, stefaan wrote: It's a manual process to clear down sites from people that decide not to sign up. Ouch... so let's hope not too many people decide to try it out then... (oh wait...! :D) It's not that bad, we just need to run a couple of

[web2py] Question on DAL

2013-10-29 Thread Saisha D
Forking this question from a different thread since changing topic. I've tried the welcome app n read through the docs, things were a breeze to set up. I'm now at the data modeling stage for my app. I'm quite familiar with bigtable, and most probably going to deploy my startup live on

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread DenesL
True, thanks. That generates HTML entities in the output which work fine as you pointed out before: data-options='{quot;modequot;:quot;calboxquot;}' Probably it was that presentation that got me started on using XML to get rid of them. On that note two things spring to mind: 1) Add an entry

[web2py] Auth User Table Modifications

2013-10-29 Thread archeaneon
I was wondering how I would go about removing First Name and Last Name from the user table and making email not required. Is this possible without breaking Auth? Again, thank you very much for your support! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: how to add a style to form tags

2013-10-29 Thread archeaneon
What I ended up doing was just that; I wrote out what form.custom.begin was outputting and added the style tag manually. I was just wondering if there was a way to manipulate the tag without resorting to this. On Monday, October 28, 2013 7:34:53 PM UTC-4, Anthony wrote: How are you creating

Re: [web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Michele Comitini
create a fake email... something like the following (check for errors I did not test it) if user: if not user.has_key('email') or user['email'] == '' or user['email'] is None: user['email'] = user['first_name'] + '.' + user['last_name'] + '.' + user['id'] + '@facebook.email.is.not.valid'

Re: [web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Lisandro Rostagno
Thanks for the answer. The problem is that I really need a valid email address, because in my site I use that email to send important notifications to the user. I already tried with facebook mail, that is, joining the user name with @ facebook.com. But it didn't work. When I send an email to a

Re: [web2py] Re: how to add a style to form tags

2013-10-29 Thread Anthony
On Tuesday, October 29, 2013 10:12:37 AM UTC-4, arche...@gmail.com wrote: What I ended up doing was just that; I wrote out what form.custom.begin was outputting and added the style tag manually. I was just wondering if there was a way to manipulate the tag without resorting to this. It

[web2py] Any good tutorials on how to implement auth_group, auth_membership auth_permissions?

2013-10-29 Thread raferbop
I am having a difficult time in understanding how to implement the above functions, and the chapter on authentication skims over the topic. Massimo has some great examples in the appliances section, but I haven't come across an example that utilizes a many-to-many relationship with respect to

[web2py] Do welcome still use superfish.js ? If not book is wrong

2013-10-29 Thread Richard
Hello, I fall on this : While web2py is mainly for server-side development, the *welcome* scaffolding app comes with the base jQuery library[jqueryhttp://web2py.com/books/default/reference/29/jquery ], jQuery calendars (date picker, datetime picker and clock), the * superfish.js* menu, and

Re: [web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Michele Comitini
this is what they say: https://www.facebook.com/help/224049364288051 facebook documentation for developers is incomplete, so to say, on many occasions... mic 2013/10/29 Lisandro Rostagno rostagnolisan...@gmail.com Thanks for the answer. The problem is that I really need a valid email

[web2py] BeautifulSoup import error

2013-10-29 Thread lyn2py
Version web2py™ Version 2.7.4-stable+timestamp.2013.10.27.23.22.02 Python Python 2.7.1: /usr/bin/python (prefix: /System/Library/Frameworks/Python.framework/Versions/2.7) Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Traceback (most recent call last): File

Re: [web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Lisandro Rostagno
Thanks, you're right, Facebook documentation is very poor and is often outdated. That page says that anyone can send you an email from external mail services (gmail, yahoo, etc).. but I tried that and I receive a response from Facebook saying that there is a permission problem... I suppose that

[web2py] Re: BeautifulSoup import error

2013-10-29 Thread lyn2py
I'm using this tar ball http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/beautifulsoup4-4.3.2.tar.gz I did not install it' and per the instructions I only copied the bs4 folder into modules folder of my app. Thanks, I appreciate any help to resolve this. I'm not getting any help

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread Niphlod
but why since data=dict(options='{mode : calbox}') works fine ? Il giorno martedì 29 ottobre 2013 13:49:12 UTC+1, Anthony ha scritto: Anyway, it might not be a bad idea to allow the option to use single quotes around an HTML attribute, though not sure of the best way to achieve that. Maybe

[web2py] Re: NDB support for GAE

2013-10-29 Thread Quint
Ok, I will look at it this weekend. On Monday, October 28, 2013 2:49:37 PM UTC+1, Massimo Di Pierro wrote: If you send me a revised patch to do this, I will include. It may be better than using a different adapter. On Monday, 28 October 2013 01:40:41 UTC-5, Quint wrote: Yes, using the

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread Anthony
Yeah, I suppose it's not necessary as long as quot; within the string never causes any problems. Anthony On Tuesday, October 29, 2013 11:47:10 AM UTC-4, Niphlod wrote: but why since data=dict(options='{mode : calbox}') works fine ? Il giorno martedì 29 ottobre 2013 13:49:12 UTC+1, Anthony

Re: [web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Christian Foster Howes
Lisandro, the ratio of users without email is so low that i would just block the user telling them that they must grant email permissions to use your site. detect that there was no email returned from facebook and send a response to the browser that prompts the user to try again and add the

[web2py] grid exception, what is wrong?

2013-10-29 Thread Marin Pranjić
This is the code: query=db.customer_code codes=SQLFORM.grid(query, left=db.file_queue.on(db.file_queue.code_id== db.customer_code.id)) On 2.7.1 it prints exception in grid (html). On 2.7.4 and trunk it raises a ticket. Is this change intentional? And why is this not working?

Re: [web2py] Any good tutorials on how to implement auth_group, auth_membership auth_permissions?

2013-10-29 Thread Richard Vézina
What do you want exactly? auth_membership is a many-to-many table that put in relation auth_user and auth_group... What do you mean by implement auth_group, etc. you don't need to, they are built-in web2py... If you explain more what you want exactly we can provide more insight on what you

Re: [web2py] Conexao POSTGRESQL vs PYTHON/WEB2PY - problemas

2013-10-29 Thread Caleb Pedroso
fala Carlinhos, guenta a mão que eu vou ver o que posso fazer, tou meio na correria por causa de CEI Promotor e o caramba... enquanto isso porque tu não pede uma ajuda pessoal ao Bruno Rocha? Tu é ex-aluno, se tu não tiver o e-mail dele procura o grupo web2py do Brasil ele frequenta direto

[web2py] deletable=True Not working

2013-10-29 Thread saurabh kathpalia
I have linked my sql database with web2py and when I am making any grid of a table and making deletable=True Its not working I have attached my db.py along. What may be the problem -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: built-in wiki

2013-10-29 Thread Alan Etkin
Hello, I am new to web programming. I use web2py built-in wiki: auth.wiki(), the simplest form. Why is it that when I click the preview button the style for markmin items like ``this is some code`` looks OK (code is highlighted, break lines are present) and when I click on submit a

Re: [web2py] FPDF ul issue

2013-10-29 Thread step
Fair enough, Richard, I'm providing sample code here, and I will link to it in the issue report. Comments in the sample code explain the 0x95 codec error and also ask some questions. Thanks for your help. Download TTF font DejaVuSans.ttf and copy it into gluon/contrib/fpdf/ You can download it

[web2py] change web2py application directory

2013-10-29 Thread wiel
I have a local repository and a web2py installation up. how can I change web2py's application directory so that it points to the repository? or how can I let web2py use the repository? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Using a javascript variable in python in views

2013-10-29 Thread saurabh kathpalia
I have a javascript variable which I want to use in python I m trying to do it with JSON but not able to do so How to do it -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Using a javascript variable in python in views

2013-10-29 Thread Richard Vézina
Ajax ! http://web2py.com/books/default/chapter/29/11/jquery-and-ajax?search=ajax#The-ajax-function On Tue, Oct 29, 2013 at 2:23 PM, saurabh kathpalia sksaurabhkathpa...@gmail.com wrote: I have a javascript variable which I want to use in python I m trying to do it with JSON but not able

Re: [web2py] FPDF ul issue

2013-10-29 Thread Mariano Reingart
You can try to download the fpdf source code from the repository (see the download zip link) and update your web2py distribution: http://code.google.com/p/pyfpdf/source/browse/ Please let follow this on the fpdf site: http://code.google.com/p/pyfpdf/issues/detail?id=66 Thanks for reporting it!

Re: [web2py] Re: Join might work? Table limits?

2013-10-29 Thread Massimo Di Pierro
Try this: rows = db(db.groups.id == db.lab.group_id)(db.lab.id == db.researcher_lab_permission.lab_id)(db.researcher.id == db.researcher_lab_permission.researcher_id)(db.researcher.user_id == db.auth_user.id).select(db.groups.name,db.city.name,db.auth_user.ALL) On Monday, 28 October 2013

[web2py] Re: gae boilerplate vs web2py

2013-10-29 Thread Massimo Di Pierro
On Monday, 28 October 2013 22:03:06 UTC-5, Saisha D wrote: Thanks for the responses everyone. I've tried the welcome app n read through the docs, things were a breeze to set up. I'm now at the data modeling stage for my app. I'm quite familiar with bigtable, and most probably going to

[web2py] Re: web2py markmin function does not render plus ( + ) charcter

2013-10-29 Thread Massimo Di Pierro
You found a bug. For now do $$ x %20 y $$ On Tuesday, 29 October 2013 00:47:59 UTC-5, 98u...@gmail.com wrote: I am afraid that expression $$ x + y $$ will render as xy rather than x+y. I tried escaping the plus character but without any luck. I was wondering if somebody else encountered

[web2py] Re: web2py markmin function does not render plus ( + ) charcter

2013-10-29 Thread Massimo Di Pierro
Just fixed it in trunk. On Tuesday, 29 October 2013 00:47:59 UTC-5, 98u...@gmail.com wrote: I am afraid that expression $$ x + y $$ will render as xy rather than x+y. I tried escaping the plus character but without any luck. I was wondering if somebody else encountered such an issue. Any

[web2py] Re: GAE compatability with recent web2py versions

2013-10-29 Thread Massimo Di Pierro
Can you show us the db.Reservations definition and in particular its widgets and validators. there seems to be an invalid query in a IS_IN_DB somewhere. On Tuesday, 29 October 2013 08:28:06 UTC-5, David Manns wrote: I have been running my application on GAE using Python 2.7 and web2py 2.4.6.

Re: [web2py] Auth User Table Modifications

2013-10-29 Thread Richard Vézina
Hmmm... I think they are required. Why would you do that? I am pretty sure these fields are required by Auth, I rather create my own user table than altering like that... Richard On Tue, Oct 29, 2013 at 10:10 AM, archean...@gmail.com wrote: I was wondering how I would go about removing

[web2py] Re: Auth User Table Modifications

2013-10-29 Thread Massimo Di Pierro
auth.define_tables(username=True) db.auth_user.first_name.writable = db.auth_user.first_name.readable = False ... same for last_name and for email ... yet without email how to you retrieve a password? On Tuesday, 29 October 2013 09:10:51 UTC-5, arche...@gmail.com wrote: I was wondering how I

Re: [web2py] Do welcome still use superfish.js ? If not book is wrong

2013-10-29 Thread Massimo Di Pierro
oops On Tuesday, 29 October 2013 09:49:21 UTC-5, Richard wrote: Hello, I fall on this : While web2py is mainly for server-side development, the *welcome* scaffolding app comes with the base jQuery library[jqueryhttp://web2py.com/books/default/reference/29/jquery ], jQuery calendars

[web2py] Re: deletable=True Not working

2013-10-29 Thread Massimo Di Pierro
Can you show us the controller? Are you logged in? You cannot delete something if you are not logged in. On Tuesday, 29 October 2013 10:10:23 UTC-5, saurabh kathpalia wrote: I have linked my sql database with web2py and when I am making any grid of a table and making deletable=True Its not

Re: [web2py] Do welcome still use superfish.js ? If not book is wrong

2013-10-29 Thread Richard Vézina
:) Richard On Tue, Oct 29, 2013 at 3:01 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: oops On Tuesday, 29 October 2013 09:49:21 UTC-5, Richard wrote: Hello, I fall on this : While web2py is mainly for server-side development, the *welcome* scaffolding app comes with the

[web2py] Re: grid exception, what is wrong?

2013-10-29 Thread Massimo Di Pierro
looks like you have a query which uses a column uuid which does not exist. On Tuesday, 29 October 2013 11:30:37 UTC-5, Marin Pranjić wrote: This is the code: query=db.customer_code codes=SQLFORM.grid(query, left=db.file_queue.on(db.file_queue.code_id ==db.customer_code.id)) On

Re: [web2py] FPDF ul issue

2013-10-29 Thread Massimo Di Pierro
Should I do that too? On Tuesday, 29 October 2013 13:30:58 UTC-5, Mariano Reingart wrote: You can try to download the fpdf source code from the repository (see the download zip link) and update your web2py distribution: http://code.google.com/p/pyfpdf/source/browse/ Please let follow

Re: [web2py] FPDF ul issue

2013-10-29 Thread step
The latest fpdf code commit is dated August 15. I checked its source code against the one bundled with web2py 2.6.4-stable and they appear to be identical. On Tuesday, October 29, 2013 8:06:23 PM UTC+1, Massimo Di Pierro wrote: Should I do that too? On Tuesday, 29 October 2013 13:30:58

[web2py] Re: built-in wiki

2013-10-29 Thread Alan Etkin
Why is it that when I click the preview button the style for markmin items like ``this is some code`` looks OK (code is highlighted, break lines are present) and when I click on submit a record I see a page where code text is in a different style (in red color and there is no line breaks).

[web2py] Re: GAE compatability with recent web2py versions

2013-10-29 Thread David Manns
I have attached the reservations section from my model. Also the relevant section of the controller script - a number of validators are set up at run time. The failure case is the crud.update() in the middle of the function, modifying an existing reservation. There are no custom widgets

[web2py] Re: built-in wiki

2013-10-29 Thread Alan Etkin
Note: The current markmin render engine requires a first line-break for multi-line code, otherwise it renders as single line. Try adding a leading line-break in the text box. Nevermind that. http://code.google.com/p/web2py/issues/detail?id=1746 -- Resources: - http://web2py.com -

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread DenesL
This dead horse could take one last beating, couldn't it?. On Tuesday, October 29, 2013 11:47:10 AM UTC-4, Niphlod wrote: but why since data=dict(options='{mode : calbox}') works fine ? Il giorno martedì 29 ottobre 2013 13:49:12 UTC+1, Anthony ha scritto: Anyway, it might not be a bad

Re: [web2py] Conexao POSTGRESQL vs PYTHON/WEB2PY - problemas

2013-10-29 Thread Carlynhos77
Ola, boa tarde.. boas noticias... *Ovidio* deu certo, agradeço imensamente... joguei os arquivos e fiz igual tu orientou, chega enchi os olhos ao ver o projeto funcionando em parceria com o db... agora vou partir dá sequencia... no começo nao funcionou, dai eu desinstalei todo o meu

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread Niphlod
seems that any major js framework accessing data-* do the escaping (as they should) so it's really not a problem. On Tuesday, October 29, 2013 5:01:22 PM UTC+1, Anthony wrote: Yeah, I suppose it's not necessary as long as quot; within the string never causes any problems. Anthony On

[web2py] Re: Setting up CGI calls

2013-10-29 Thread melmg
Yes, I was able to write to the LCD using GET requests. Thank you. On Monday, October 28, 2013 4:08:48 PM UTC-4, Derek wrote: click the 'update settings' button after changing the settings, and you should see the url change (it uses a GET request). On Sunday, October 27, 2013 1:37:08 PM

Re: [web2py] change web2py application directory

2013-10-29 Thread Richard Vézina
Symbolic link? Richard On Tue, Oct 29, 2013 at 2:04 PM, wiel wieli...@gmail.com wrote: I have a local repository and a web2py installation up. how can I change web2py's application directory so that it points to the repository? or how can I let web2py use the repository? -- Resources:

[web2py] Re: GAE compatability with recent web2py versions

2013-10-29 Thread Massimo Di Pierro
Not sure what the problem is but it it fails because of this: affl = db(db.Colleges.id.belongs(cl)) db.Reservations.Affiliation.requires = IS_EMPTY_OR(IS_IN_DB(affl, db.Colleges.id, '%(Name)s',orderby=db.Colleges.Name)) could it be affl is empty? On Tuesday, 29 October 2013 14:24:38 UTC-5,

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread DenesL
Is the book open to editors?. I still would like to add an example about this in there. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received

[web2py] Re: OAuth2.0 and Facebook (as from the book)

2013-10-29 Thread Paolo Comitini
The mobile registration page allows for users to signup without an email address: http://touch.facebook.com/r.php Paolo Il giorno lunedì 28 ottobre 2013 18:57:06 UTC+1, Lisandro ha scritto: I'm having a similar problem with KeyError: 'email'. I have a site in production that uses

Re: [web2py] Re: auth.messages.verify_email html template

2013-10-29 Thread Lisandro Rostagno
Thanks for the tip! I thought it would be more difficult, but apparently nothing is too difficult with web2py ;) For those interested in doing that, is just as simple as instantiating Auth class and overwriting wanted methods, for example, I overwrited register and email_reset_password methods in

[web2py] Re: Auth User Table Modifications

2013-10-29 Thread archeaneon
It seems there are enough times where people either put in fake e-mails or rather not put in e-mails. I personally believe this should be optional in most cases. Sometimes the account isn't important enough that you may want to go through the trouble of retrieving a password and might rather

[web2py] Re: having trouble with data-xxx when they are not a simple option

2013-10-29 Thread Niphlod
free and available here github.com/mdipierro/web2py-book On Tuesday, October 29, 2013 10:13:28 PM UTC+1, DenesL wrote: Is the book open to editors?. I still would like to add an example about this in there. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: built-in wiki

2013-10-29 Thread 98ujko9
Thanks for reporting the issue. On Tuesday, October 29, 2013 3:38:04 PM UTC-4, Alan Etkin wrote: Note: The current markmin render engine requires a first line-break for multi-line code, otherwise it renders as single line. Try adding a leading line-break in the text box. Nevermind

[web2py] Re: GAE compatability with recent web2py versions

2013-10-29 Thread David Manns
This validator is only used if affs is non-empty, I.e. the member has known college affiliations. Otherwise the standard validator is used, allowing any college in the table to be selected. In the failure case, affs was non-empty. So that doesn't seem to be the problem. -- Resources: -

[web2py] Re: GAE compatability with recent web2py versions

2013-10-29 Thread Scott Hunter
Don't know if this helps, but I see that the query for affl uses belongs, and I'm seeing the following in my GAE log for a query that uses belongs: File /Users/shunter/Dropbox/webdev/google_app_engine/mypptrials/gluon/dal.py, line 4802, in BELONGS raise SyntaxError(Not supported) I

Re: [web2py] Any good tutorials on how to implement auth_group, auth_membership auth_permissions?

2013-10-29 Thread raferbop
Richard, I am trying to create a number of number of groups, who are assigned users with different roles. A good example is where you have different taxi companies, that have its own dispatch personnel and drivers. For example, lets say you have 2 companies with the following employees;