[web2py] Re: nav bar in 2.16.1

2017-12-30 Thread Carlos Kitu
Thanks a lot Paolo. It worked fine. Best regards. El sábado, 23 de diciembre de 2017, 19:08:18 (UTC+1), Paolo Caruccio escribió: > > Regarding the collapsed navbar issue, in the web2py 2.16.1 welcome > layout.html page the id on the navbar-collapse is missing > > > > > Il giorno sabato 23

[web2py] Re: nav bar in 2.16.1

2017-12-22 Thread Carlos Kitu
Me too, with chromium and chrome as browsers. I just started with 2.16.1, and found that out. I thought that something was wrong with my browser. Best regards. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: web2py with js framework

2017-08-16 Thread Carlos Kitu
@valk: wow, that looks great. One of the most annoying things of working with vue.js was the need to write html. After getting used to the helpful web2py's html helpers, writing pure html feels really verbose. With the code you showed, the view seems somewhat similar to working with html

[web2py] Re: web2py with js framework

2017-08-16 Thread Carlos Kitu
I agree with you, @limedrop, for a fully "reactive"(let's call it that way) application I would also go your way. The use case I described only makes sense if you only need a small part of your application truly reactive. Best regards. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] web2py with js framework

2017-08-14 Thread Carlos Kitu
Hi stifan, I just wanted to share my recent experience with vue.js and web2py. At first I didn't want to give up things like sqlform. Then I tried to tweak the form generated by web2py with el1=form.element(...) to get a reference to the html element I wanted to add certain vue.js directives

[web2py] Re: possible error in autocomplete code

2017-06-07 Thread Carlos Kitu
ge tables. > > Anthony > > On Tuesday, June 6, 2017 at 9:51:33 AM UTC-4, Carlos Kitu wrote: >> >> Thanks a lot, Anthony. >> I use to check the framework code before posting questions, and when I >> saw this in the callback method of the autocomplete widget: >&

[web2py] Re: possible error in autocomplete code

2017-06-06 Thread Carlos Kitu
mplete to search a virtual field. It runs a database > query, so the field must exist in the database. > > Anthony > > On Monday, June 5, 2017 at 9:23:51 AM UTC-4, Carlos Kitu wrote: >> >> Good afternoon, >> I'm trying to create an autocomplete field to search in the tabl

[web2py] possible error in autocomplete code

2017-06-05 Thread Carlos Kitu
Good afternoon, I'm trying to create an autocomplete field to search in the table db.auth_user, but the search must be done with the full name. As db.auth_user has two separate fields (first_name, and last_name), I created a virtual field to compose both fields: db.auth_user.full_name =

[web2py] Re: Any ideas on how to prepare web2py apps for GDPR

2017-06-02 Thread Carlos Kitu
Hi Antonio, I don't know the UK regulations about GDPR, but I know the spanish ones, and in this subject both countries apply the european regulation, thus i think that they must be quite similar. The spanish data protection regulations defines three levels of security personal data, related to

[web2py] Re: How to speed up query processing in web2py's sqlite?

2017-06-02 Thread Carlos Kitu
As Leonel mentioned, index creation will be your best friend in this issue. I have been using web2py during the last two years, and till now, I had no concerns about database performance because I was working in intranet applications without a big volume of data. In the latest project we had a

[web2py] [solved] unable to install application on Windows Server and IIS

2017-05-19 Thread Carlos Kitu
Just to share a finding, I was getting crazy with a simple installation of a new application on Windows Server and Internet Information Server. Many applications in production with no issues, I could upload any other application, but was getting the "unable to install application" with an

[web2py] Re: Communication between server and python script help

2017-05-01 Thread Carlos Kitu
Hi Esteve, I use web2py, and also as a side project, I develop firmware for microcontrollers (with mbed OS, not arduino, but quite similiar). I didn't have the need of connecting both worlds, so take this as hints, not real tested experience. First, let's check a couple of assumptions: - I

[web2py] Re: How to change menu bar background and font colors

2017-04-27 Thread Carlos Kitu
What I use to do when I don't want to deal with css changes or creating new classes, just a *quick and dirty solution* is: Right click on the element I want to change – Inspect I get a pane with the html code. For instance, if I try to change the style of navbar, I would right click on LOG

[web2py] Re: btw: great job

2017-04-24 Thread Carlos Kitu
Yeah! Awesome product and support. So good that I seldom need to make questions in this forum. Thank you and best regards. El domingo, 23 de abril de 2017, 5:35:29 (UTC+2), lucas escribió: > > hey everyone, > > I think we should recognize and congratulate Massimo and the developers of >

[web2py] Re: [SOLVED] Custom form not accepted (formkey missing)

2016-05-09 Thread Carlos Kitu
You are welcome. Just a way of giving back so much help received from this group. Best regards. El lunes, 9 de mayo de 2016, 1:48:34 (UTC+2), Michael Beller escribió: > > Thanks Carlos! I just came across this and your post helped me. > > On Friday, March 11, 2016 at 5:09:50 AM U

Re: [web2py] Re: Using python as an user rules engine in a web2py application

2016-04-29 Thread Carlos Kitu
l see, a DSL would seem to be more >> appropriate. Or maybe one of those visual programming things where you use >> "virtual Lego(tm) pieces" which are compute blocks that you connect up (I >> don't know of any of those that would fit in as an IDE the way the web2py >&

[web2py] Re: Using python as an user rules engine in a web2py application

2016-04-28 Thread Carlos Kitu
Thank you very much Leonel. This is also a very useful hint. As with the previous recommendation I need a deeper knowledge about the subject to make a decission, and this is a good point to start with. Thank you and best regards. El miércoles, 27 de abril de 2016, 14:48:18 (UTC+2), Leonel

[web2py] Re: Using python as an user rules engine in a web2py application

2016-04-27 Thread Carlos Kitu
Thanks a lot Alfonso for your quick and useful answer. I agree with your concerns about security. It's a real issue. On the other side, I'm taking into account some issues that help to mitigate the risks: - It will be a trusted and trained user of my company(non IT person), not the

[web2py] Using python as an user rules engine in a web2py application

2016-04-26 Thread Carlos Kitu
Hellow everyone, I'm developing an application for a consulting company. To make a long story short, there is some data in the database that is user administered, and some formulas to execute with that data. Those formulas should be administered by the consultant. The database data can be

[web2py] Re: ckeditor error

2016-04-21 Thread Carlos Kitu
Hi Henk, I recently used this slice for one of the projects I'm working on(still at web2py 2.13.4), and everything went fine: http://www.web2pyslices.com/slice/show/1345/using-ckeditor-for-text-fields Actually I didn't need the upload feature and applied a simplified configuration. Did you

[web2py] [SOLVED] Custom form not accepted (formkey missing)

2016-03-11 Thread Carlos Kitu
Hi guys, I don't show up here too often because all the issues I find use to be solved here. Good job. Today I was going nuts with one issue, and I would like to share my findings for other developer's shake. I was generating a form with SQLFORM.factory: form= SQLFORM.factory(...) In the

[web2py] Re: SQLFORM.grid export and user_signature issue

2015-11-13 Thread Carlos Kitu
problem, you can tell @auth.requires_signature to > ignore the query string: > > @auth.requires_signature(hash_vars=False) > > Anthony > > On Friday, November 13, 2015 at 2:47:36 AM UTC-5, Carlos Kitu wrote: >> >> There seems to be an issue with export (any class of export: csv, t

[web2py] SQLFORM.grid export and user_signature issue

2015-11-12 Thread Carlos Kitu
There seems to be an issue with export (any class of export: csv, tsv, ...) in SQLFORM.grid when using user_signature and the corresponding decorator. Pressing any export button in that context generates a: Not authorized. Insufficient privileges - Error Here is a minimal example of the code:

[web2py] possible error in fpdf module (solved)

2015-10-28 Thread Carlos Kitu
It was my first try with pyfpdf library, (great job of Mariano Reingart, thank you so much). In my first tests generating a PDF from html, the H1 tag displayed in red color. As far as I could see in pyfpdf there was no way to change the default style for H1. Then I resorted to the tag, but

Re: [web2py] Re: opening different grids with the same controller in a multi-tabs form(seeking for confirmation)

2015-10-26 Thread Carlos Kitu
Vinicius, thank you so much for your help. It worked fine. Best regards. El lunes, 26 de octubre de 2015, 12:11:21 (UTC+1), Vinicius Assef escribió: > > You can try filling the `formname` argument of SQLFORM.grid(). > > > > > -- > Vinicius Assef > > > > On 2

[web2py] opening different grids with the same controller in a multi-tabs form(seeking for confirmation)

2015-10-26 Thread Carlos Kitu
Hi, I have a sqlform with four tabs. There is a main form and 4 additional tabs. In each tab there is one grid with a related table to the one in the main form (1 to many relationship), and they are loaded gracefully using the LOAD function and ajax. In my first version, I used a separate

[web2py] Re: opening different grids with the same controller in a multi-tabs form(seeking for confirmation)

2015-10-26 Thread Carlos Kitu
octubre de 2015, 11:39:51 (UTC+1), Carlos Kitu escribió: > > Hi, I have a sqlform with four tabs. There is a main form and 4 additional > tabs. In each tab there is one grid with a related table to the one in the > main form (1 to many relationship), and they are loaded gracefully usin

[web2py] Using Sphinx to document web2py based application

2015-10-09 Thread Carlos Kitu
Hi friends, this group is making a great job supporting web2py users. I don't use to ask many questions because it's easy to find them already solved. I would like to use Sphinx to document an application developed with web2py 2.12.1. I mean using docstrings in controllers and models. As

[web2py] Possible error in book about jquery (already corrected in online book)

2015-01-15 Thread Carlos Kitu
I was trying to implement the jquery code example to conditionally show or hide part of the page (see page 505 in https://dl.dropboxusercontent.com/u/18065445/web2py/web2py_manual_5th.pdf). It didn't work because it was using the attr function as:

[web2py] [solved] Weird type 'exceptions.AttributeError' 'Row' object has no attribute 'id' and Ñ error

2015-01-10 Thread Carlos Kitu
Hi, just for other developers sake to save some time. I was getting this error: type 'exceptions.AttributeError' 'Row' object has no attribute 'id' Versión web2py™ Version 2.9.11-stable+timestamp.2014.09.15.23.35.11 Traceback (most recent call last): File ./web2py/gluon/restricted.py, line