[web2py] We use web2p 2.18.5 with MS SQL on Windows IIS 10. Recently a security patch on the server enforced stricter SSL rules and we can no longer use TLS 1.0 and 1.1. so it has to be TLS 1.2

2020-06-18 Thread Davidiam
Good Morning, I would like to know what I would have to modify in order to connect to MS SQL from web2py with TLS 1.2. We are running web2py 2.18.5 on a Windows 2016 IIS server. Yesterday a security patch was installed to disable TLS 1.0 and 1.1 and enable TLS 1.2 and now all our MS SQL DB co

[web2py] Re: Problem with upload field

2020-06-18 Thread Dave S
On Thursday, June 18, 2020 at 6:26:32 AM UTC-7, Константин Комков wrote: > > I thought that there is problem f'{f} {i} {number} {email}' here, but on > my computer I can send document without problem. > I and another user (with the same data and loading file) having different > result (: > Why

[web2py] How to sort a smartgrid with your own custom sorted id list

2020-06-18 Thread rāma
Hi all, How to sort a smartgrid with your own custom sorted id list? Say I have a id list of the query and I have a sorting functions that returns a sorted id list, how would I make smartgrid to commit to the ordering instead of sorting by ids by default? Thanks, rama -- Resources: - http://

[web2py] Re: Problem with upload field

2020-06-18 Thread Константин Комков
I thought that there is problem f'{f} {i} {number} {email}' here, but on my computer I can send document without problem. Why in error I see databases\\..\\uploads? What means two points? That folder have next structure: - test - databases - uploads -- Resources: - http://web2py.com - ht

[web2py] Problem with upload field

2020-06-18 Thread Константин Комков
Part of users and me don't have problem, but another part of users can't load files. On server I see error: * [Errno 2] No such file or directory: 'C:\\inetpub\\wwwroot\\applications\\test\\databases\\..\\uploads\\doc_images.file.b520635e438be8d7.646f635f696d616765732e66696c652e38306264653266633

[web2py] Re: 2.19.1 redis sessions problem

2020-06-18 Thread Kevin Keller
Is there any update on this or will we not be able to use redis again? ;) I see there is a redis pull request from last year too. On Saturday, 28 March 2020 11:30:11 UTC+1, Jose C wrote: > > Just started testing version 2.19.1 (prior to upgrading) with py3.6 and it > appears that when sessions

[web2py] Re: Having a user belong to 2 groups with different priviledges

2020-06-18 Thread 'Annet' via web2py-users
I am not sure I completely understand what you want, but what about groups Region 1, Region 2, HR and Admin. User 1 has membership Region1 and HR User 2 has membership Region2 and HR In your code you could have if auth.has_membesrhip(Region1) and auth.has_membesrhip(HR) tasks ... elif auth.ha