Re: [web2py] Multiple Uploads using jQuery-File-Upload: Javascript/CSS Conflict?

2015-06-10 Thread Sujata Aghor
Hello Calvin, Does this mentioned solution any way related with - jQuery-File-Upload ??? When I implemented it, it is not allowing me to upload multiple files v

[web2py] Invalid password reset

2015-06-10 Thread Johann Spies
What would cause this error message if a user receives a link from web2py to reset his password and when he clicks on it he gets the error : "invalid password reset"? Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- Re

Re: [web2py] Invalid password reset

2015-06-10 Thread Michele Comitini
Could it be expired? 2015-06-10 10:54 GMT+02:00 Johann Spies : > What would cause this error message if a user receives a link from web2py > to reset his password and when he clicks on it he gets the error : "invalid > password reset"? > > Regards > Johann > > -- > Because experiencing your loyal

[web2py] Re: Locking app to a single domain

2015-06-10 Thread Najtsirk
If I understand that correctly...that would mean I need to do these all combinations for each domain/app? Is it possible tu use a wildcard for the app part of the routes too? Like: (https?://www.domain1.com:\w+ /$*anything*$anything', '/app1$anything') ? On Tuesday, 9 June 2015 00:35:58 UTC+2

[web2py] Re: show_if logical operators

2015-06-10 Thread kecajkecaj123
Anyone? On Tuesday, 2 June 2015 12:09:20 UTC+2, kecajk...@gmail.com wrote: > > Hi, > > I'm using show_if to hide a filed of my form under certain conditions. > Per web2py guide, show_if uses simple query, but it doesn't work for > logical oprators like "and" "or". > In below example i would like

Re: [web2py][OT] time for kickstarter

2015-06-10 Thread Willoughby
And all you get is some screencasts? How the heck do you search a screencast six months later when you need to reference something? On Tuesday, June 9, 2015 at 10:01:30 PM UTC-4, Richard wrote: > > Have you seen this : > https://www.kickstarter.com/projects/nickjj/build-a-saas-app-with-flask-a

Re: [web2py] Re: Sublime Text web2py plugin

2015-06-10 Thread António Ramos
I still have the same problem. Should i see something like web2py in Tools -> Python ->? thank u 2015-06-10 6:30 GMT+01:00 Gergely Orosz : > Hi Ramos, > > I fixed an issue in the Add REPL support command > I pushed the changes so w2p plugin should be updated automagicly via > PackageControl. > I

[web2py] convert sqlite code to DAL

2015-06-10 Thread Maurice Waka
I have been working with sqlite DB for some time but want to integrate my codes to web2py esp. DAL. How do I rewrite such a code to DAL script? name = input ('Please Type your Question: ').lower().split() name2 = name[:] import sqlite3 for item in name2:#break

Re: [web2py] Re: Sublime Text web2py plugin

2015-06-10 Thread Gergely Orosz
It should create a new entry in Tools -> SublimeREPL -> Web2py {app_name} I will check it again in the source code 2015. június 10., szerda 14:12:31 UTC+2 időpontban Ramos a következőt írta: > > I still have the same problem. > Should i see something like web2py in Tools -> Python ->? > > thank u

[web2py] Re: show_if logical operators

2015-06-10 Thread Anthony
Try: db.table1.order.show_if = db.table1.colour.belongs(['red', 'blue']) Anthony On Tuesday, June 2, 2015 at 6:09:20 AM UTC-4, kecajkecaj...@gmail.com wrote: > > Hi, > > I'm using show_if to hide a filed of my form under certain conditions. > Per web2py guide, show_if uses simple query, but it

Re: [web2py] Re: Sublime Text web2py plugin

2015-06-10 Thread António Ramos
thank u 2015-06-10 14:18 GMT+01:00 Gergely Orosz : > It should create a new entry in Tools -> SublimeREPL -> Web2py {app_name} > I will check it again in the source code > > 2015. június 10., szerda 14:12:31 UTC+2 időpontban Ramos a következőt írta: >> >> I still have the same problem. >> Should

[web2py] How to redirect user after login only first time logs in that day

2015-06-10 Thread Alex Glaros
What would be be approach to redirect user to their account only when logging in for the first time that day? I want to avoid redirecting when session times out, because then user loses their place and gets taken away from what they were working on. Thanks, Alex Glaros -- Resources: - http:/

[web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-10 Thread Donatas Burba
Thank you. Will be waiting for stable release with this fix. Reverting to v2.10.4 for now. -- 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 t

[web2py] Re: soap client with windows NTLM authorization

2015-06-10 Thread Pengfei Yu
I am able to modify the code in transport.py and enable NTLM authentication using PycURL. But the pycurl library or the inside libcurl is not friendly with SOAP request using NTLM authentication, it always send request with invalid "content-length", although it is already correctly specified in

[web2py] Re: example of model w/ model graph, multi-tenancy, record versioning (incl auth tables), and record uid

2015-06-10 Thread Massimo Di Pierro
Yes, it matters. On Tuesday, 9 June 2015 22:06:47 UTC-5, Gene wrote: > > Regarding the appending of common fields, seems to work for me when its > declared at the beginning of the model file, not end. Does the placement > matter, can anyone confirm/deny? > > On Sunday, March 24, 2013 at 5:18:39

[web2py] Re: Locking app to a single domain

2015-06-10 Thread Massimo Di Pierro
yes but not the anything wildcard, which is special. You can do it with these two rules: (https?://www.domain1.com:\w+ /$*a*', '/app1') (https?://www.domain1.com:\w+ /$*a/*$anything', '/app1/$anything') On Wednesday, 10 June 2015 05:25:02 UTC-5, Najtsirk wrote: > > If I understand that correctly

[web2py] Re: How to redirect user after login only first time logs in that day

2015-06-10 Thread Dave S
On Wednesday, June 10, 2015 at 8:32:33 AM UTC-7, Alex Glaros wrote: > > What is best approach to redirect user to their account home page only > when logging in for the first time each day? > > I want to avoid redirecting to their home page when session times out, > because then user loses thei

[web2py] Show button in SQLFORM only if a value is present?

2015-06-10 Thread LoveWeb2py
I'd like to create a SQLFORM button, but only show the button if a value is present in the cell. Is this possible? I'm thinking of creating a function that will check to see if each record has a value present in the field for example: define_table('my_sqldata', Field('name', Fie

[web2py] Re: Show button in SQLFORM only if a value is present?

2015-06-10 Thread 黄祥
yes, i think it's possible, another way around i think you can achieve it on models with represent 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 (Repo

[web2py] Re: Show button in SQLFORM only if a value is present?

2015-06-10 Thread LoveWeb2py
I should have been more specific. I meant I want to create a SQLFORM.grid button and only have it show if a row.id value is present On Wednesday, June 10, 2015 at 5:42:33 PM UTC-4, LoveWeb2py wrote: > > I'd like to create a SQLFORM button, but only show the button if a value > is present in the

[web2py] Query Not Supported: 'Row' object has no attribute 'id'

2015-06-10 Thread Alex Glaros
anyone see obvious syntax/logic problem with statements below? pending_authorizations_set_object = db((db.AuthorizedInstance.authorizationStatus == None) & (db.auth_group.organizationID == specificOrganization.id)).select(db.AuthorizedInstance.superObjectID, distinct=True) grid = SQLFORM.grid

[web2py] Re: Pyrtf colour style problem

2015-06-10 Thread Sonakshi Pandey
hi can anybody plz help in converting text in bold and making it center aligned. On Tuesday, November 13, 2012 at 7:53:38 AM UTC-6, piero crisci wrote: > > I am using pytrf for create a document. > I want to make the Heading font with a particular kind of colour, but i > cannot manage to change

[web2py] Expose public ip address with SOAP

2015-06-10 Thread DucVa
Hi all, I am using SOAP of web2py. In local system, Web2py automatic generate xmlns:soap="http://192.168.0.194:8000/bts/service_mb/call/soap"; in body of xml. 192.168.0.194 is the ip address of my server. Then, I deploy the app on internet and I use SoapUI to connect to my service. But, a probl

[web2py] Re: Query Not Supported: 'Row' object has no attribute 'id'

2015-06-10 Thread Alex Glaros
answering my own question, putting this is grid worked , groupby=db.AuthorizedInstance.superObjectID this below failed, but looked like a good idea .select(db.AuthorizedInstance.id, distinct=db.AuthorizedInstance. superObjectID) Alex -- Resources: - http://web2py.com - http://web2py.com/book