[web2py] Re: SQLFORM.grid() buttons have no names? 2.17.2-stable

2018-12-30 Thread Paul Ellis
Seems to me that it would as simple as using the buttonclass key as a name or id in the gridbutton function. But I am not a professional so I don't know if this is a good idea. def gridbutton(buttonclass='buttonadd', buttontext=T('Add'), buttonurl=url(args=[]),

[web2py] Making my binary standalone apps function faster

2018-12-30 Thread mostwanted
Hi guys, I develop a-lot of stand alone apps with web2py but my problem is that i find the performing slower, every-time there is data entry or a query it takes a while to save information and or bring out the query results, is there a way in which i can make my apps faster? Mostwanted --

Re: [web2py] CAS error

2018-12-30 Thread Carlos Cesar Caballero Díaz
Well, actually I have being not able to replicate the issue, maybe was something related to sessions or the browser cache, but right now I am not sure what was wrong. Greetings. El 30/12/18 a las 4:45 p.m., Massimo Di Pierro escribió: Thanks On Friday, 7 December 2018 07:15:33 UTC-8, Carlos

[web2py] Re: error exporting data (CSV) using smartgrid

2018-12-30 Thread Web2_3py
for me: *export_to_csv_file* under python2 , no problem under python3 , the following problem File "C:\Users\assus\Desktop\Flash\python3\web2py_2_17_2_src\web2py\gluon\packages\dal\pydal\objects.py", line 2619, in export_to_csv_file writer.writerow(unquote_colnames(colnames))

[web2py] SQLFORM.grid() buttons have no names? 2.17.2-stable

2018-12-30 Thread Paul Ellis
Is there a reason there are no names or ids attached to the grid buttons? Like addBtn, deleteBtn and so on. There's no identifying information on the buttons to make it easy to change the text or colour, for example. I don't want 'Add record' I want something more contextual depending on the

[web2py] Re: An Easy way to Support ADFS / AZURE / OKTA / Sibboleth and other SAML2 SSO Scenarios

2018-12-30 Thread 黄祥
+1 interested to learn it too thx n best regards, stifan -- 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 because you are

[web2py] Re: How to assign a group to a big auth_user list?

2018-12-30 Thread 黄祥
you can assign the new id to the variable and pass it to add_membership() function pls try (not tested, and change group_id with the group id number you want to assign) for kardex in db(db.kardex).select(): new_user_id = db.auth_user.validate_and_insert(

[web2py] Re: An Easy way to Support ADFS / AZURE / OKTA / Sibboleth and other SAML2 SSO Scenarios

2018-12-30 Thread Massimo Di Pierro
Thank you! Can you please post a more complete example of integration? This will be very useful to many people here. On Saturday, 8 December 2018 07:37:13 UTC-8, Pbop wrote: > > Greetings Fellow Web2Pyers, > > It's the season of giving. I hope what I share inspires others to share > some of

[web2py] Re: Problem with wsgihandler.py Apache/Python3

2018-12-30 Thread Massimo Di Pierro
This looks correct. Can you please submit a PR? On Friday, 7 December 2018 07:47:00 UTC-8, Carl Petersen wrote: > > I was able to get web2py up and running by changing the following line > (131) in http.py I don't expect that this was the proper way to do it > (especially considering backward

[web2py] How to put a variable in the A helper?

2018-12-30 Thread Stephan
Hi, How do I put a variable in the 2a helper? %s does not seem to work within {{=A // download_file = "https://www.something.zip; {{=A('Your File', callback=URL('tracker',vars=dict(contents=contents.id.id,art='zip')), _onclick="window.open('%s');") % (download_file)}}

Re: [web2py] CAS error

2018-12-30 Thread Massimo Di Pierro
Thanks On Friday, 7 December 2018 07:15:33 UTC-8, Carlos Cesar Caballero wrote: > > Hi Massimo, I am working on a fix, hopefully I will submit a PR soon. > > Greetings. > El 7/12/18 a las 3:03 a.m., Massimo Di Pierro escribió: > > can you please open an issue about this? > > On Thursday, 29

[web2py] Re: How to create an administration account (Sahana eden)

2018-12-30 Thread Massimo Di Pierro
Sorry. You need to ask Sahana developers. I know it is built on web2py but I am not familiar with the architecture and whether what they define is "admin" is the same as a web2py "admin" On Thursday, 6 December 2018 23:43:37 UTC-8, Muhammad Ahsan Farooqui wrote: > > > Hi, > > I have just added

[web2py] How to assign a group to a big auth_user list?

2018-12-30 Thread jaimeburstmedia
Hi, hope can help me. I already import and convert a CSV file to auth_user with this code. I don´t know how to automatically assign to a group this users when I import the CSV to kardex db? or I need to do it after they are all at auth_user db? The kardex have more than 500 users thats why I