[web2py] Re: Connect to mysql via ssl

2018-03-03 Thread Scorpa
MySQL воскресенье, 25 февраля 2018 г., 5:31:10 UTC+3 пользователь Massimo Di Pierro написал: > > Wedo not support that at this time. What database? > > On Sunday, 18 February 2018 02:40:57 UTC-6, Scorpa wrote: >> >> Hello, experts! >> >> >> How to conn

[web2py] Connect to mysql via ssl

2018-02-18 Thread Scorpa
Hello, experts! How to connect to mysql server via client certificate ? -- 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 becau

[web2py] Re: parametric routes

2018-02-17 Thread Scorpa
Thats reall frustrating because there is no details about parametric and so i need to use patterns :( суббота, 17 февраля 2018 г., 22:05:06 UTC+3 пользователь Anthony написал: > > On Saturday, February 17, 2018 at 1:09:28 PM UTC-5, Scorpa wrote: >> >> Unfortunately this gives n

[web2py] Re: parametric routes

2018-02-17 Thread Scorpa
Unfortunately this gives nothing. Again case is very simple redirect from view named "abc" to controler "blabla". It's not even something unusual. пятница, 16 февраля 2018 г., 19:05:14 UTC+3 пользователь Anthony написал: > > On Friday, February 16, 2018 at

[web2py] Re: parametric routes

2018-02-16 Thread Scorpa
ve to use the pattern-based system (see > the book section for details on how it works). > > Anthony > > On Thursday, February 15, 2018 at 9:05:16 AM UTC-5, Scorpa wrote: >> >> Then how actually re-route inside the app ? >> >> четверг, 15 февраля 2018 г., 16:56:

[web2py] Re: parametric routes

2018-02-15 Thread Scorpa
Then how actually re-route inside the app ? четверг, 15 февраля 2018 г., 16:56:13 UTC+3 пользователь Anthony написал: > > The domains must be in the form of host:port -- it does not support any > path after the port. > > Anthony > > On Thursday, February 15, 2018 at 8:2

[web2py] parametric routes

2018-02-15 Thread Scorpa
Hello guys! How to route some path to specific controller ? For example, i have this in routes.py: routers = dict( # base router BASE=dict( domains={ 'et.mooo.com:8000': 'sd/sea', '127.0.0.1:8000/.we': 'sd/seb', '127.0.0.1:8000/we': 'sd/sec',

[web2py] Re: routes.py and how to activate them

2017-06-07 Thread Scorpa
Ok, Created new project from scratch, renamed this file, copied it everywhere - app folder, web2py library etc etc. used breakpoints, but none of them works. how can i debug routes ? I couldn't find a root cause of this :( понедельник, 5 июня 2017 г., 22:10:17 UTC+3 пользователь Anthony написа

[web2py] routes.py and how to activate them

2017-06-04 Thread Scorpa
Hello folks ! Many times when i'm searching for an answer in the official docs about how to do this or that i'm ending in the stack overflow questions area or in this group. and thats really frustrating that even simplest tasks can't be done easy. For example, how actually routes.py works ? I

[web2py] Re: Saving to database random type data

2017-05-07 Thread Scorpa
Any suggestions, anyone ? How to extract data from BLOB ? среда, 3 мая 2017 г., 22:02:12 UTC+3 пользователь Scorpa написал: > > Hello folks ! > > I have database that's have BLOB type to store any kind of data (it's > should be binary ?): > > Field('f_blob&

[web2py] Saving to database random type data

2017-05-03 Thread Scorpa
Hello folks ! I have database that's have BLOB type to store any kind of data (it's should be binary ?): Field('f_blob', type='blob', label=T('blob object')), I'm inserting new records with: db.t_cache.insert(f_name='processed_' + request.vars.filename, f_blob= data) Where data is pa

[web2py] Re: Web2py multiple request variables to filter database output

2017-04-10 Thread Scorpa
017 г., 21:11:49 UTC+3 пользователь Dave S написал: > > > > On Monday, April 10, 2017 at 4:49:01 AM UTC-7, Scorpa wrote: >> >> Yes, that's what i'm trying to achive. >> >> For now i have three tables: ingredients, tags and data. >>

[web2py] Re: Web2py multiple request variables to filter database output

2017-04-10 Thread Scorpa
Url+=newParam; } else { newParam=separator + name + '=' + value; newUrl=url.replace(newParam,""); newUrl+=newParam; } window.history.pushState(null,"", newUrl); } It's seems slow but it's working. No idea how to

[web2py] Re: Web2py multiple request variables to filter database output

2017-04-10 Thread Scorpa
3 пользователь Marlysson Silva написал: > > You want select many images , highlight them and search at database by > ids's images highlighted ? > > Real-time? > > Em segunda-feira, 20 de março de 2017 10:40:13 UTC-3, Scorpa escreveu: >> >> Hello folks! &g

[web2py] Web2py multiple request variables to filter database output

2017-03-20 Thread Scorpa
Hello folks! I'm struggling with one idea: I want to make visual filter such as - you can click on any image from predefined set (select from db) then this image will be highlited and now interesting part: i want to make select from database based on the id of this image like for example: db(db

[web2py] Filter data based on clicked images

2017-03-20 Thread Scorpa
Hello folks! I'm struggling with this idea - page have several images, user can click on it, then controller must be called with selected id of the image as param. in controller i'm doing db.select based on this id. User can click another one adding its id to variables list. So the question is