[web2py] New site on web2py

2017-06-14 Thread Ian Ryder
Hi all, not sure if it's OK to do this - slap me down if not! We're just about to launch a new tool / site based on web2py - https://www.wherecani.live Any feedback appreciated and if it's useful to anyone looking to live in different parts of the world, great stuff. Thanks Massimo et al for t

Re: [web2py] Re: Future of web2py

2017-06-14 Thread Richard Vézina
Kill anxiety, the only certainty we have is that things gonna change... :D On Tue, Jun 13, 2017 at 4:40 PM, JorgeH wrote: > Hehe. > Let poor Massimo breath.. > He shared with us his intentions about web3py > I expect the first release to be an alfa version. > We are excited and thrilled but jus

[web2py] Re: New site on web2py

2017-06-14 Thread Ron Chatterjee
Interesting! What are the marketing steps you are taking to promote the site? On Wednesday, June 14, 2017 at 9:36:18 AM UTC-4, Ian Ryder wrote: > > Hi all, not sure if it's OK to do this - slap me down if not! > > We're just about to launch a new tool / site based on web2py - > https://www.wher

Re: [web2py] New site on web2py

2017-06-14 Thread Chinh Dang
Beautiful design. Did you use any particular bootstrap-based theme for this? On Jun 14, 2017 9:36 AM, "Ian Ryder" wrote: > Hi all, not sure if it's OK to do this - slap me down if not! > > We're just about to launch a new tool / site based on web2py - > https://www.wherecani.live > > Any feedbac

[web2py] Re: New site on web2py

2017-06-14 Thread Ian Ryder
Big push starts in the next week or two - lot of leg work, don't want to spend too much at this stage so a lot of making contact with others in this space. There's nothing quite like it so we're confident we should get decent coverage...also we should be able to make use of the press around Bre

Re: [web2py] New site on web2py

2017-06-14 Thread Ian Ryder
Thanks - can't take all the credit, it was based around one called Unify but has been heavily tweaked! On Wednesday, 14 June 2017 18:22:00 UTC+2, Chinh Dang wrote: > > Beautiful design. Did you use any particular bootstrap-based theme for > this? > > On Jun 14, 2017 9:36 AM, "Ian Ryder" > > wro

Re: [web2py] Re: web2py 2.15.1

2017-06-14 Thread Richard Vézina
Anthony, What are the issue with Calendar?? I know it outdated, support seems to shade away (http://www.dynarch.com/ -> Website down and a link to documentation is provide... But it plays so well with python date/datetime formatting string... I had step back from implementing flatpickr, maybe we

Re: [web2py] Re: web2py and SEO

2017-06-14 Thread rajjmatthur
Did anyone had any success on inserting metadata on layout or SEO ( http://www.web2pyslices.com/slice/show/2048/simple-seo) plugins? It doesn't seem to work at all. On Friday, January 3, 2014 at 9:25:14 AM UTC-5, Gael Princivalle wrote: > > Hi Bruno. > > In a same page where you make translatio

[web2py] Re: dev_appserver does not allow login to my web2py app from LAN client

2017-06-14 Thread Jim S
You could use the appropriate options on startup of the web2py server to enable SSL so you would have a secure channel. http://web2py.com/books/default/chapter/29/04/the-core#Command-line-options -Jim On Tuesday, June 13, 2017 at 12:12:44 PM UTC-5, 98u...@gmail.com wrote: > > I run my web2py on

[web2py] Re: dev_appserver does not allow login to my web2py app from LAN client

2017-06-14 Thread Anthony
On Tuesday, June 13, 2017 at 1:12:44 PM UTC-4, 98uj...@gmail.com wrote: > > I run my web2py on a home lan, headless box of linux. My web2py apps > require login and it can only be performed over a secure channel. My > question: is it possible (if yes then how) to configure my linux box to > simu

Re: [web2py] Re: web2py 2.15.1

2017-06-14 Thread Anthony
On Wednesday, June 14, 2017 at 2:33:58 PM UTC-4, Richard wrote: > > Anthony, > > What are the issue with Calendar?? I know it outdated, support seems to > shade away (http://www.dynarch.com/ -> Website down and a link to > documentation is provide... > See OP. > I had step back from implement

[web2py] Re: dev_appserver does not allow login to my web2py app from LAN client

2017-06-14 Thread 98ujko9
Thank you for your response! I am afraid that my question lacked precision! Here is my regular command line to start web2py: ~/src/w2app$ ./web2py.py --password='1' -c ../ssl-key-crt/server.crt -k ../ssl-key-crt/server.key --ip=192.168.1.25 It works very nice! Here is my command required by

[web2py] Why do I get a blank screen on view

2017-06-14 Thread Maurice Waka
when trying to view posts created by author, i tried this piece of code on controller: 1. option one: replies = db(db.answers.posted_by==auth.user_id).select(orderby=~db.answers.posted_by,limitby=(0,10)) 2. option two where the author has two fields populated with information: 1.

[web2py] Re: dev_appserver does not allow login to my web2py app from LAN client

2017-06-14 Thread Anthony
It's still not clear what is generating the message you see. Can you show the URL you are attempting to visit and exactly what you see on the page? Note, requiring login via @auth.requires_login() or @auth.requires() does not require HTTPS or a "secure channel", so merely requiring login for pa

[web2py] Re: Why do I get a blank screen on view

2017-06-14 Thread Anthony
What is the value of auth.user_id? Are you sure there are records in the database whose "post_by" value is equal to it? On Thursday, June 15, 2017 at 12:03:54 AM UTC-4, Maurice Waka wrote: > > when trying to view posts created by author, i tried this piece of code on > controller: > >1. opti

Re: [web2py] Re: Why do I get a blank screen on view

2017-06-14 Thread Maurice Waka
Sorry. Am not sure about value of Auth.user_id On Jun 15, 2017 07:25, "Anthony" wrote: > What is the value of auth.user_id? Are you sure there are records in the > database whose "post_by" value is equal to it? > > On Thursday, June 15, 2017 at 12:03:54 AM UTC-4, Maurice Waka wrote: >> >> when t

[web2py] How I can disable user_group, membership, permission, events?

2017-06-14 Thread Вячеслав Анатольевич
So, I have db/table where i have data, i want just login user by the my field/data: def user(): auth = Auth(db, signature=False) auth.settings.create_user_groups = False db.define_table('user_psw', Field ('tabnum'

[web2py] Re: dev_appserver does not allow login to my web2py app from LAN client

2017-06-14 Thread 98ujko9
My mistake! Please forgive me for wasting your time. I can't replicate that situation where I received above mentioned message. Suddenly I can do everything that I want. Working with web2py is fun! On Thursday, June 15, 2017 at 12:21:11 AM UTC-4, Anthony wrote: > > It's still not clear what is

Re: [web2py] Re: Why do I get a blank screen on view

2017-06-14 Thread 黄祥
just an idea, why not put the default value for that fields? e.g. default = auth.user_id 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)

Re: [web2py] Re: Why do I get a blank screen on view

2017-06-14 Thread Anthony
On Thursday, June 15, 2017 at 1:48:51 AM UTC-4, Maurice Waka wrote: > > Sorry. Am not sure about value of Auth.user_id > It is the id of the current logged in user. You can simply display it on the page or print it to the console to inspect it. Anthony -- Resources: - http://web2py.com - http:

[web2py] Re: How I can disable user_group, membership, permission, events?

2017-06-14 Thread Anthony
web2py will still create the auth_group and auth_membership tables (they are not only used for the groups controlled by the auth.settings.create_user_groups setting, which only determines whether each user gets their own personal group). Anyway, I think the problem you are having is due to nami

[web2py] Is it possible to set target of callback method to a div of view of another function?

2017-06-14 Thread Sibasish_247
I have a button in a function A() and on clicking it I need to send a value to function B() which will process it and send the desired output to view of function C(). Using callback I am able to send the value to function B() but it only gets displayed in view of function B() if I set a target d

[web2py] Application developed and hosted in the web2py is very slow, how to increase memory for application?

2017-06-14 Thread skylab . chennai2017
Hi Team, Application developed and hosted in the web2py. When I am trying to access any page even simple page, it is taking minimum 5 to 20 seconds. I am using m4.10x large EC2 instance. I have lot of memory. How to increase memory for application in web2py? I am not finding any document for me

[web2py] How to get value of selection from a SQLFORM.widgets.autocomplete in Javascript

2017-06-14 Thread Flavio Bovio
I have this custom field Widget Field('cliente', widget=SQLFORM.widgets.autocomplete(request, db.clientes.razon, limitby=(0, 10), min_length=1)) ... And this function in the

[web2py] Re: Application developed and hosted in the web2py is very slow, how to increase memory for application?

2017-06-14 Thread Anthony
What makes you think it is a memory problem? What does your code look like? What happens if you access the /welcome/default/index, or /admin? Do those pages also take 5-20 seconds? Anthony On Thursday, June 15, 2017 at 2:31:11 AM UTC-4, skylab.chennai2...@gmail.com wrote: > > Hi Team, > > Appl

[web2py] Re: How I can disable user_group, membership, permission, events?

2017-06-14 Thread Вячеслав Анатольевич
Thx, i understand, that its all must be in model - im testing) So, how i must write, that web2py understand "tabnum" like "id"? In book i found: db.mytable.other_id.represent = lambda id, row: row.myfield and primarykey=['accnum','acctype'] im trying, but still error. -- Resources: - htt