[web2py] Admin app return a blank page

2022-11-02 Thread dirman
The admin app return a blank page and '1' on the page source code even on https. all the apps are working on aws lightsail hosting+python3 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Web2py site ssl expired

2021-09-15 Thread dirman
Well same from my end. SSL expired On Saturday, September 11, 2021 at 2:04:38 PM UTC+1 rodrig...@gmail.com wrote: > Hello my friends, I don't know for report this. > https://web2py.com/ when I access this url. > This not show with http. > -- Resources: - http://web2py.com -

[web2py] Share sessions not working

2021-09-11 Thread dirman
In my case, sessions are not shared in my two apps main and sub domain session.connect(request, response,masterapp='test', db=db) response.cookies[response.session_id_name]['domain'] = '.test.com' routers = dict( BASE=dict( default_controller='default', default_function='index',

[web2py] Re: Optimization web2py app

2019-11-28 Thread dirman
See post link: https://groups.google.com/d/msg/web2py/W4cbtIDNoSA/Lb0bTJilAgAJ On Sunday, April 21, 2019 at 9:06:37 AM UTC+1, Константин Комков wrote: > > Hello! Are anybody use tecnology - progressive web app(PWA)? Can you tell > where I can find .html file for using it in cache for service

[web2py] Re: Getting a PWA set up based on web2py

2019-11-28 Thread dirman
You can also use this approach https://groups.google.com/d/msg/web2py/W4cbtIDNoSA/Lb0bTJilAgAJ. It works fine for me. On Friday, October 11, 2019 at 7:06:26 AM UTC+1, mostwanted wrote: > > Hi @Valdeck Rowe, i wan to know if this approach worked for you in your > PWA development. Were there

[web2py] Re: Progressive Web Apps

2019-11-28 Thread dirman
#view Hello World Hello World! Write functions to return the three files instead. Dont put actual files in static folder #controller def manifest(): response.headers['Content-Type'] = 'text/json' return ''' { "name":

[web2py] Re: Dropzone app thumbnail error in web2py appliances

2019-10-07 Thread dirman
>\x10\x85\xe1\x11' builtinTrue True errors 'strict' global codecs codecs.utf_8_decode Context On Monday, October 7, 2019 at 7:11:52 AM UTC, Dave S wrote: > > > > On Saturday, October 5, 2019 at 9:41:47 AM UTC-7, dirman wrote: >> >> i really need help on

[web2py] Re: Dropzone app thumbnail error in web2py appliances

2019-10-07 Thread dirman
>\x10\x85\xe1\x11' builtinTrue True errors 'strict' global codecs codecs.utf_8_decode Context On Wednesday, October 2, 2019 at 10:15:37 AM UTC, dirman wrote: > > 'utf8' codec can't decode byte 0xb7 > in position 0: invalid start byte > > Getting the abov

[web2py] Re: Dropzone app thumbnail error in web2py appliances

2019-10-07 Thread dirman
https://github.com/mdipierro/web2py-appliances/tree/master/DropZone On Monday, October 7, 2019 at 8:11:52 AM UTC+1, Dave S wrote: > > > > On Saturday, October 5, 2019 at 9:41:47 AM UTC-7, dirman wrote: >> >> i really need help on this >> >> On Wednesday, Octobe

[web2py] Re: Dropzone app thumbnail error in web2py appliances

2019-10-07 Thread dirman
The Dropzone app in web2py appliances link https://github.com/mdipierro/web2py-appliances/tree/master/DropZone On Saturday, October 5, 2019 at 5:41:47 PM UTC+1, dirman wrote: > > i really need help on this > > On Wednesday, October 2, 2019 at 10:15:37 AM UTC, dirman wrote: >>

[web2py] Re: Dropzone app thumbnail error in web2py appliances

2019-10-07 Thread dirman
On Wednesday, October 2, 2019 at 11:15:37 AM UTC+1, dirman wrote: > > 'utf8' codec can't decode byte 0xb7 > in position 0: invalid start byte > > Getting the above error as thumbnails are not showing. what could be the > issue? > -- Resources: - http://web2py.com - h

[web2py] Re: Dropzone app thumbnail error in web2py appliances

2019-10-05 Thread dirman
i really need help on this On Wednesday, October 2, 2019 at 10:15:37 AM UTC, dirman wrote: > > 'utf8' codec can't decode byte 0xb7 > in position 0: invalid start byte > > Getting the above error as thumbnails are not showing. what could be the > issue? > -- Resources

[web2py] Dropzone app thumbnail error in web2py appliances

2019-10-02 Thread dirman
'utf8' codec can't decode byte 0xb7 in position 0: invalid start byte Getting the above error as thumbnails are not showing. what could be the issue? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Function for checking payments and arrears in DB needed

2019-06-14 Thread dirman
I need a function to manage payment by installment and when fee is fully paid db.define_table('payment_type', Field('category'), Field('amount', 'double'),format='%(category)s %(amount)s') db.define_table('fee', Field('name', 'reference students'), Field('category', 'reference payment_type'),

[web2py] Blocking email account registration based on domain

2018-05-09 Thread dirman
how do i block email accounts from registration based on domain ie @yahoo.com or @gmail.com and main website domain email accounts? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-20 Thread dirman
UTC-4, dirman wrote: >> >> The page reloads the same SQLFORM edit form page with edited field not >> submited >> > > Works for me. Please show all your code and describe the exact workflow. > > Anthony > >> -- Resources: - http://web2py.com - http://

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-19 Thread dirman
The page reloads the same SQLFORM edit form page with edited field not submited On Thursday, April 19, 2018 at 12:33:46 AM UTC, Anthony wrote: > > On Wednesday, April 18, 2018 at 6:21:12 PM UTC-4, dirman wrote: >> >> Working after adding compute=lambda >> >>

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-18 Thread dirman
Working after adding compute=lambda Field('link', compute=lambda r: r.article_link.replace(' ', '-')) However the table fields can not be updated using grid On Wednesday, April 18, 2018 at 6:12:40 PM UTC, Anthony wrote: > > On Wednesday, April 18, 2018 at 10:57:11 AM UTC-4, dirman

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-18 Thread dirman
http://.../articles/high-temperature-in-city def articles(): news = db(db.articles.article_link==request.args[0]).select()[0] return(news=news) On Wednesday, April 18, 2018 at 2:28:41 PM UTC, Anthony wrote: > > On Wednesday, April 18, 2018 at 10:24:21 AM UTC-4, dirman

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-18 Thread dirman
Any example?. what i want to do is to use article_link as request args to select the records instead of record.id On Wednesday, April 18, 2018 at 11:16:35 AM UTC, 黄祥 wrote: > > perhaps you can use before_insert callback or onvalidate, then assign > article_link with the article_title that

[web2py] Re: Automatically repeat field text in another before record insertion

2018-04-18 Thread dirman
ad at runtime, as the links will be created from > the titles when you select rows from the database). > > Anthony > > On Wednesday, April 18, 2018 at 6:58:47 AM UTC-4, dirman wrote: >> >> How can i automatically repeat a field text into another field with >&g

[web2py] Automatically repeat field text in another before record insertion

2018-04-18 Thread dirman
How can i automatically repeat a field text into another field with hyphens to replace spaces before record insertion I want to insert 'High Temperature In City' in the article_title and to be repeated in the article_link with hyphens db.define_table('articles', Field('article_title',

[web2py] Nginx + SSL certificates for two different apps

2018-04-18 Thread dirman
I need help setting two SSL certificates for two different apps on one instance of web2py. kindly include the config file if you can help me. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Version 2.15.4 not sending auth mails

2018-04-12 Thread dirman
UTC, Dave S wrote: > > > > On Thursday, April 12, 2018 at 7:20:09 AM UTC-7, dirman wrote: >> >> Is there an issue sending reset password and verification mails in >> version 2.15.4? >> I am using port 587 with tls set to True and hosted on a vps server. >&g

[web2py] Version 2.15.4 not sending auth mails

2018-04-12 Thread dirman
Is there an issue sending reset password and verification mails in version 2.15.4? I am using port 587 with tls set to True and hosted on a vps server. server = smtp.zoho.com:587 sender =mydoma...@domain.com login = mydoma...@domain.com:password tls =True getting 'Unable to send mail' error

[web2py] Reset password page problem

2017-01-18 Thread dirman
i can't access the reset password page after clicking the reset password link from email. it redirects to login page. I need help. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Subscription table

2016-11-25 Thread dirman
I have this newspaper subscription table; db.define_table('business_and_financial_times', Field('subscription', 'boolean', default=False), Field('creation_date', 'date', default=now), Field('subscription_option',requires=IS_IN_SET((['none','monthly','yearly']))),

Re: [web2py] Re: Enabling Google Sign-In

2016-01-21 Thread dirman
hi am getting global name 'Storage' is not defined when using Storage(json.load(f)['web']) On Thursday, October 22, 2015 at 11:27:35 AM UTC, mcm wrote: > > > http://web2py.com/books/default/chapter/29/09/access-control?search=oauth#Other-login-methods-and-login-forms > > > Grab the file

[web2py] oauth2 for google

2016-01-21 Thread dirman
I am getting global name 'Storage' is not defined when using Storage(json.load(f)['web']) I need help -- 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) ---

[web2py] SSL certificates for three different domains/apps

2015-12-14 Thread dirman
I have three apps with their own domain. Am running web2py-nginx on ubuntu 12.04.how and where do i configure SSL for the three different domains -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] web2py - on ubuntu 12.04 vps.net

2015-12-09 Thread dirman
i just install web2py on ubuntu 12.04 on vps.net server but can't route to web2py this is what i am getting from Apache instead of the web2py welcome app It works! This is the default web page for this server. The web server software is running but no content has been added, yet. i need

[web2py] Re: web2py - on ubuntu 12.04 vps.net

2015-12-09 Thread dirman
eb2py.com/books/default/chapter/29/13/deployment-recipes#Apache-setup > > On Wednesday, December 9, 2015 at 11:09:09 AM UTC-5, dirman wrote: >> >> i just install web2py on ubuntu 12.04 on vps.net server but can't route >> to web2py >> >> this is what i am getting

[web2py] Re: help on form button inner text

2015-09-06 Thread dirman
r 5, 2015 at 11:13:55 PM UTC, Ben Lawrence wrote: > > I just write: > form=SQLFORM.factory(*fields,buttons = [TAG.button('Send > Message',_type="submit")]) > > > On Saturday, September 5, 2015 at 3:21:09 PM UTC-7, dirman wrote: >> >> i need

[web2py] Re: help on sessions

2015-09-06 Thread dirman
Thank you. On Sunday, September 6, 2015 at 4:54:01 AM UTC, Massimo Di Pierro wrote: > > del session.cart['name'] ? > > On Saturday, 5 September 2015 17:26:50 UTC-5, dirman wrote: >> >> is it possible to delete or clear an item in session.cart.items() ? >> > -

[web2py] help on sessions

2015-09-05 Thread dirman
is it possible to delete or clear an item in session.cart.items() ? -- 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

[web2py] Security issue with request.vars

2015-09-05 Thread dirman
am having a security issue with this function i sent this ajax request: cart_callback?action=add=hacked def cart_callback(): id = request.vars.id if request.vars.action == 'add': session.cart[id]=session.cart.get(id,0)+1 if request.vars.action == 'sub':

[web2py] help on form button inner text

2015-09-05 Thread dirman
i need help here this works fine with form input form.element('input[type=submit]')['_value']='Go!' but this does not output the inner text on form button form.element('button[type=submit]')['_submit_button']='Go!' -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Problem returning XML in VIEW

2013-11-25 Thread dirman
How do i return all XML values in the condition tags #XML condition code111/code descriptionSunny/description /condition condition code112/code descriptionWindy/description /condition condition code113/code descriptionOvercast/description /condition condition

[web2py] now.weekday() as string

2013-11-22 Thread dirman
how do i return now.weekday() as string instead of a integer and also two days ahead from current weekday? -- 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)

[web2py] Re: BingSearch API

2013-11-19 Thread dirman
: https://github.com/mdipierro/web2py-appliances/blob/master/BingApi/controllers/default.py#L10 Did you get your own API ID? On Monday, 18 November 2013 10:40:50 UTC-6, dirman wrote: I downloaded the bing search api from web2py appliances and change the APPID to my account ID but does

[web2py] BingSearch API

2013-11-18 Thread dirman
I downloaded the bing search api from web2py appliances and change the APPID to my account ID but does not work.i get the error ticket: parameter is invalid.What is wrong? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

[web2py] Re: Bing appliance

2013-10-30 Thread dirman
I installed the bingsearch app from https://github.com/mdipierro/web2py-appliances/tree/master/BingApi. I then changed the APPID to my account key but i get the error class 'applications.BINGSEARCH.modules.bingapi_w.BingException' Parameter has invalid value. Please what is wrong? On

Re: [web2py] User Preference Settings

2013-09-03 Thread dirman
wrote: Tell us what is not working in your try. On Sat, Aug 31, 2013 at 11:33 AM, dirman anc...@gmail.com javascript: wrote: i want to add a preference settings page where a logged in user can change font size and also turn off advertisement on the website and this will be unique

[web2py] User Preference Settings

2013-08-31 Thread dirman
i want to add a preference settings page where a logged in user can change font size and also turn off advertisement on the website and this will be unique to the user.i don like the cookie method that runs on client machines. I am thinking of a function that can manipulate css property values

[web2py] Re: Logged in dropdown links

2013-08-29 Thread dirman
Thank you. On Wednesday, August 28, 2013 6:19:28 PM UTC, dirman wrote: is it posible to add another link to the logged in dropdown in adding to the profile,password and logout links? -- --- You received this message because you are subscribed to the Google Groups web2py-users group

[web2py] Logged in dropdown links

2013-08-28 Thread dirman
is it posible to add another link to the logged in dropdown in adding to the profile,password and logout links? -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email