<div dir="ltr">Dear Alan, Blazej, Conrado, Sutharshan and community members,<div><br></div><div>First of all my sincere apologies to all members and more so to the Vtiger team for overlooking the aspect of internal and external linking without going thru the security component of Vtiger. This slipped thru, and it will not be difficult to comply with that aspect. </div><div><br></div><div>This was not intentional in any way and I request that the community give an opportunity to make amends.</div><div><br></div><div>As regards the three open source data base utilities bundled in, they will be dropped for now. A couple of scripts which we used for testing a concept also had got shipped, and will be dropped. They will be suggested as helpful utilities which could be installed by the user under their security policy.</div><div>The iframe linkages to documentation on google and our support portal will also be dropped. Links will be provided instead for the same for the user to opt on.</div><div>For permissions on log files, they will remain at write only mode always and opened and shut for a server read on a bonafide request only. </div><div><br></div><div>This would address everything that is security related. I would be grateful if someone points out anything else.</div><div><br></div><div>Now the aspect of having to rewrite the needed files. There is no other way at present as also pointed out by Blazej in his observation that debugging tools must be part of the engine. Being an amalgam application of various subsystems of freely available GPL and MPL and MIT licensed sources, (Vtiger is built on all those components) and the component authors too by nature do not provide anything too. There is no following of any such usage of a common framework to enable Vtiger debugging.</div><div><br></div><div>So, for practical purposes, as informed in the Wiki, in Vtiger, the debugging output for adodb, Smarty and log4php are just 1 line of code changes in the appropriate scripts. But we need to repeat them and thus was the genesis of vtDebug.</div><div><br></div><div>Database queries is only by adding a line of code to enable the output. Ditto for Smarty toggle a true or false, and for log4php as well, toggle a true or false in a line of code. And thats all that we started to do with, when we needed debugging on Vtiger since version 510 days. Also AdoDb output to screen messed things up and sometimes broke Vtiger, so we used the available ADODB variable to redirect the content.</div><div><br></div><div>Rest is Firebug, Xdebug, Stackoverflow,  good programming practices, long nights and a bit of luck.<br></div><div><br></div><div>Before a further release submission to Vtiger after accomplishing the above stated changes, the module will be published via a downloadable link, to the community on this same thread. I hope that it would meet the same enthusiasm for review as it did the first time around. </div><div><br></div><div>My heartfelt appreciation to the Vtiger community and its vibrancy of activity. Some good comes out of everything, even mistakes. </div><div><br></div><div>I thank Uma, who is very quick to respond to matters, to Prasad for supporting the user community always, and the many silent cubs toiling away at Vtiger.</div><div><br></div><div>S.T.Prasad</div><div><a href="http://www.vtigress.com">www.vtigress.com</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 29, 2015 at 1:50 PM, Pabiszczak, Błażej <span dir="ltr"><<a href="mailto:b.pabiszczak@opensaas.pl" target="_blank">b.pabiszczak@opensaas.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">Hi</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">This module should have never appeared in the marketplace because of the two main reasons:</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">1. Security and the way it’s designed.</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">2. Such functionality should be a part of the engine.</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">I will skip number 1 because there is no point going back to it, but number 2 is interesting. Debugging is a primary element of every developer and it’s used many times during the day. That’s why debugging shouldn’t be a matter of an additional or supplementary module that isn’t supported by the producer but is should be a part of the engine. If you consider that there is something missing in the built-in debugging, you report it in a form of a ready-made change for Vtiger’s engine and you don’t try to solve it in an artificial way.</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">My main comments about debugging are:</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">1. Information should be in a proper order [at the moment debugging is split around in multiple locations and it should be gathered into one file which would be developed along with the system].</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">2. Parameters which can be enabled should have a description and a file path where the result can be viewed [so there would be no need to guess where one should search for the required logs].</p><p style="color:rgb(51,51,51);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px">3. The system of debugging should be developed. At the moment there are many locations that are skipped and aren’t displayed in the log files.</p><span class=""><div><div><div><br></div><div><div>Z poważaniem / Regards</div><div>Błażej Pabiszczak</div><div>M: +48.884999123<br>E: <a href="mailto:b.pabiszczak@opensaas.pl" target="_blank">b.pabiszczak@opensaas.pl</a></div></div></div></div>
</span></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">With best regards,<br><br>S.T.Prasad<br><br><a href="http://www.vtigress.com" target="_blank">http://www.vtigress.com</a><br>The Purr-fect mate for vTiger<br></div>
</div>