From kamalakannan at adventnet.com Tue Sep 11 03:42:19 2007 From: kamalakannan at adventnet.com (kamalakannan) Date: Tue, 11 Sep 2007 16:12:19 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <46E6710B.3030208@adventnet.com> plz ignore this mail From smkkannan at gmail.com Tue Sep 11 02:00:29 2007 From: smkkannan at gmail.com (kamal kannan) Date: Tue, 11 Sep 2007 14:30:29 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <48268dc50709110200m1a55d500pfe0f67f77d1e89c6@mail.gmail.com> plz ignore this mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/569a37fe/attachment.html From kamal_subes2000 at rediffmail.com Tue Sep 11 02:11:56 2007 From: kamal_subes2000 at rediffmail.com (kamal kannan) Date: 11 Sep 2007 09:11:56 -0000 Subject: [Vtigercrm-developers] hi Message-ID: <20070911091156.21313.qmail@webmail72.rediffmail.com> hi to all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/ce13055d/attachment.htm From kmsnet at rediffmail.com Tue Sep 11 01:17:56 2007 From: kmsnet at rediffmail.com (Khaja Mohideen) Date: 11 Sep 2007 08:17:56 -0000 Subject: [Vtigercrm-developers] test Message-ID: <20070911081756.23375.qmail@f4mail204.rediffmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/2a47e59f/attachment.htm From ckwu at ck-erp.net Mon Sep 10 19:27:33 2007 From: ckwu at ck-erp.net (C K Wu) Date: Tue, 11 Sep 2007 10:27:33 +0800 Subject: [Vtigercrm-developers] CK-ERP (Open Source ERP / CRM / MRP) v.0.24.1 released [with vTiger 5.0.3 connector] Message-ID: <46E5FD15.7070104@ck-erp.net> Hi, folks, I have posted a new release, v.0.24.1, of CK-ERP, at SourceForge.Net, http://sourceforge.net/projects/ck-erp . New features include, a connector for LegalCase and updated connectors for ClearHealth, OpenEMR and osCommerce, facilities to convert sales order to purchase order and/or material/service requisition so as to procure the required material/service after a sale is concluded, addition of a sample law office chart of accounts and a sample medical practice chart of accounts, addition of Australian GST tax rate and updating of Canadian GST tax rate, addition of narrow/wide display option for the various case handling screens, addition of customer, vendor, employee contact lists, and, addition of German translation for the Quotation module. Special thank is due to David Epperson of Dallas for permission to make use of the "Law Firm Chart of Accounts" (located at http://www/txethics.org/TCLEPCOURSE2005/omlp/sec11.1.pdf) while generating the sample law office chart of accounts. The effort by Stefan Kemper of Switzerland in producing the new German translations is also gratefully acknowledged. [Please note that the sample medical practice chart of accounts is designed for countries/regions where medical doctors are allowed to dispense prescription drugs within their medical practices. If the relevant medical practice is operating within a jurisdiction where doctors are prohibited from dispensing drugs, then it may be a prudent measure to delete all the drug sale, COGS ? drugs, inventory ? drugs and related accounts to avoid a presumption that in-practice drug sale had been planned.] CK-ERP is an open source accounting/MRP/ERP/CRM system that runs on top of multiple middlewares. It comprises 22 modules - Administration, i18n, Contact Management, Customer Relationship, Customer Self Service, Vendor Relationship, Ledger, Bank Reconciliation, MRP, Warehouse, Inventory, Service, AP, AR, PO, SO, Quotation, POS for Cashier, POS for Manager, HR, Staff Self Service and Payroll. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups. Please report error and suggestion to the discussion group / mailing list, CK-ERP-en(at)googlegroups.com or CK-ERP-zh_CN(at)googlegroups.com . General history and expected development is available at the discussion group's Archive. Supported MiddleWares: LegalCase, MirrorMed, ClearHealth, OpenEMR, eGroupWare, Horde-GroupWare; Zencart, CRELoaded, osCMax, osCommerce; Drupal, Joomla, Mambo, e107, XOOPS, Xaraya; Moodle, Atutor; vTiger, XRMS; WordPress, b2evolution; TikiWiki; phpBB. Information/Demo Websites: http://ck-erp.org http://ck-erp.net http://ck-erp.com Download is available from, http://sourceforge.net/projects/ck-erp http://gforge.oss.org.cn/projects/ck-erp http://gf.cs.hit.edu.cn/projects/ck-erp http://www.cnforge.org/modules/xfmod/project/?ck-erp http://gro.clinux.org/projects/ck-ledger Cheers, Wu Chiu Kay, aka CK Wu, aka CK (CK is the preferred alias) Hong Kong From joey.novak at gmail.com Wed Sep 12 06:06:05 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 09:06:05 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. Message-ID: Hey Guys, So, the company I am working for has decided to implement a CRM, and they have budgeted a significant amount of money to do so. We like all the features of vTiger. The only thing that would stop us, is the lack of MSSQL support. We may go with it ontop of MySQL, however a significant portion of our companies money machine is composed of MSSQL DTS Jobs. We have to decided and prepare a plan by the end of the week (this has been in the works for a while). And in an effort to make the decision easier, I have spent some time working through the issues I see that prevent vTiger from running on MSSQL. While I do not yet have a succesful installation, I have gotten the tables to all be created properly, and I have a walkthrough for what I have done sitting on my computer at work (I'll send that out once I am in the office). I don't want to waste my time working through the installation issues if there are going to be LOTS of other little issues, by a LOT I mean > 100. We can slowly work through 100 MSSQL problems, but we can't afford to work through 1000. Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/24f2bcb8/attachment.htm From weigelt at metux.de Wed Sep 12 07:34:51 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 12 Sep 2007 16:34:51 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. In-Reply-To: References: Message-ID: <20070912143450.GA3489@nibiru.local> * Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Wed Sep 12 07:52:16 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 10:52:16 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... Message-ID: Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > Hi, > > > So, the company I am working for has decided to implement a CRM, > > and they have budgeted a significant amount of money to do so. > > We like all the features of vTiger. > > Cool. Maybe your company could provide some funds for completing > several outstanding things :) > (some of us are freelancers who mostly contribute during their > customer projects and can be hired ;-)) > > > The only thing that would stop us, is the lack of MSSQL support. > > We may go with it ontop of MySQL, however a significant portion of > > our companies money machine is composed of MSSQL DTS Jobs. > > Well, I clearly can understand you don't want MySQL, the SQL-enabled > cardfile ;-P. But WTH MSSQL ? > > We've got PostgreSQL support. Instead of burning so much money w/ > M$ license fees and the whole (Windows-generated) troubleshooting, > you can get an complete machine w/ pgsql on GNU/Linux or xBSD > and build evrything optimized for your hw. > > > We have to decided and prepare a plan by the end of the week (this > > has been in the works for a while). And in an effort to make the > > decision easier, I have spent some time working through the issues > > I see that prevent vTiger from running on MSSQL. > > One of the major points (IMHO) is that MSSQL's understanding of SQL > is even crappier than MySQL's. > > I *personally* wouldn't suggest porting to another homebrewn SQL dialect. > Better spend a day for becoming confident w/ PostgreSQL ;-P > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/29098b42/attachment-0001.htm From joey.novak at gmail.com Wed Sep 12 08:38:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 11:38:42 -0400 Subject: [Vtigercrm-developers] Bug Found... Message-ID: I didn't see anyway on the website to submit a bug, (maybe I am blind?) install/4createConfigFile.php Line 106 to 120, single ='s are used instead of '==' Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/67bfcd05/attachment.htm From libregeek at gmail.com Wed Sep 12 20:57:45 2007 From: libregeek at gmail.com (Manilal K M) Date: Thu, 13 Sep 2007 09:27:45 +0530 Subject: [Vtigercrm-developers] Bug Found... In-Reply-To: References: Message-ID: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> On 12/09/2007, Joey Novak wrote: > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > install/4createConfigFile.php > > Line 106 to 120, single ='s are used instead of '==' > > Joey > Joey, You can find the bug tracker here: http://trac.vtiger.com/ regards -- Manilal K M. http://linuxeyes.blogspot.com http://flossvalley.blogspot.com Better to light one candle than to curse the darkness. From liza at vtiger.com Wed Sep 12 22:12:35 2007 From: liza at vtiger.com (liza) Date: Thu, 13 Sep 2007 10:42:35 +0530 Subject: [Vtigercrm-developers] Fwd:Re: Bug Found... In-Reply-To: <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> References: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> Message-ID: <46E8C6C3.3030805@vtiger.com> Hi, I have added this issue in our vtiger trac. For more info kindly refer the following link. http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4170 Here after If you find any issue, kindly file that in our bug tracker. http://trac.vtiger.com Thanks & Regards, Liza. > > On 12/09/2007, Joey Novak wrote: > > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > > > install/4createConfigFile.php > > > > Line 106 to 120, single ='s are used instead of '==' > > > > Joey > > > Joey, > You can find the bug tracker here: > http://trac.vtiger.com/ From joey.novak at gmail.com Thu Sep 13 08:22:32 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 13 Sep 2007 11:22:32 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - Will Code Be Maintained... Message-ID: Hey Guys, So, an important question... If We (as in myself, and others at the company I work for) do all the work to get vTiger to run on MSSQL, can we get our changes into the vTiger repository so that future releases will work with MSSQL? Or does this not have enough demand to be maintained in the future? Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070913/8ac44cac/attachment.htm From minnie at vtiger.com Fri Sep 14 05:00:10 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 14 Sep 2007 17:30:10 +0530 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <11503e3ef58.8002445302510352760.1922159776437872223@vtiger.com> Dear Joey, In DatabaseSchema.xml, some of the tables has specified withautoincrement field. But in vtiger CRM, we are not using theautoincrement while inserting entries in the tables, instead we areusing the method called getUniqueID() which is provide by ADODB library that simplifies many database-related tasks in PHP. In future, we need to review the DatabaseSchema.xml file and remove the unwanted autoincrement fields and test whether it works fine with MySQL. Thanks & Regards, Minnie. ----On Wed, 12 Sep 2007 Joey Novak wrote ---- Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote:* Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/9bfd196d/attachment.htm From client.services.ny at gmail.com Fri Sep 14 06:02:02 2007 From: client.services.ny at gmail.com (Client Services of New York, LLC) Date: Fri, 14 Sep 2007 09:02:02 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <68b1fa90709140602q59ce2b7bhba7d816008796811@mail.gmail.com> On 9/12/07, Joey Novak wrote: > > > No chance I can get them to go with Postgres, we have no one with > experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't > happen, we would be wasting those resources if we switched to Postgres. > If your DBA's are so limited in scope, that they could not read the relevant documentation for Postgresql, or any other database product and adapt to the new environment, I would suggest that your hiring criteria for DBAs are insufficient, and need to be updated. -- Mike Lieman Client Services of New York, L.L.C. client.services.ny at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/024debca/attachment-0001.htm From al at xanthus.net Sun Sep 16 09:58:18 2007 From: al at xanthus.net (Alan Leurck) Date: Sun, 16 Sep 2007 12:58:18 -0400 Subject: [Vtigercrm-developers] outlook plug in Message-ID: <46ED60AA.5090302@xanthus.net> I believe I have run across a security problem with the outlook plug in and would like to discuss this with the person(s) responsible for the plug in. If someone from the plug in team could please contact me to discuss the problem, I think we can resolve the issue with a number of updates on both the client and server side. Thank you. Al From joey.novak at gmail.com Thu Sep 20 05:46:14 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 08:46:14 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger Message-ID: Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/65553b14/attachment.htm From svk at vtiger.com Thu Sep 20 11:03:00 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Thu, 20 Sep 2007 11:03:00 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: Message-ID: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Hi Joey, Today, we have separate distributions for MySQL, and Postgres. It will be nice not having to maintain these different code bases. We are considering adding multi-database support soon. If your changes help us in this process we will certainly look into it. For now, the best way to proceed is to create a new branch (5.0.3 for MSSQL) and contribute your changes to it. Then you can request help from the community in testing it with MySQL and other databases. Regards, Sreenivas vtiger Team. ----On Thu, 20 Sep 2007 Joey Novak wrote ---- Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/d91ce1c5/attachment.htm From joey.novak at gmail.com Thu Sep 20 13:37:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 16:37:42 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: Hey Guys, So, I am 99% finished porting the non-MSSQL compliant SQL into Compatible SQL. I have a running version of vTiger on my desktop, and all the features we have tested work fine (including all the modules, custom reports, etc...) the only known issue that doesn't work is the calendar module writes dates incorrectly to the db, and I haven't spent anytime trying to fix it yet is all). If someone is interested, I have some very unorganized, but mostly complete, notes located here: http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL Again, I don't know what the best way to go about this is, but my Company is willing to invest resources into merging the braches of vTiger into one branch that works on postGres, MSSQL, and MySQL. They wish to make this investment now, so that in the future, we will be able to reap the benefits of continued vTiger improvements without having to patch it to make it work on MSSQL everytime a new release comes out. Specificaly, they have authorized me to spend one to two weeks of work time on the effort. I can do all this, I just want to make certain that my work will be of as much benefit as possible to the community, and my company by getting the work into the main vTiger branch in the svn repository when I am done. If I start with the 5.0.4 branch, and make all the changes to make it work on Postgres, MySQL, and MSSQL with one code base, and test it, how would I submit my work? Again, please keep in mind that although I have extensive programming experience, I have never contributed to an opensource project before, and don't know what is expected. Sreenivas's reply earlyer today, told me I should create a new branch, as I browsed the code, I could not find the seperate postgres branch he spoke of. Is it not clearly labeled? Is the 5.0.3 branch really the MySQL/Postgres branch, and 5.0.4 is MySQL only? If someone is willing to lend me some more guidance, then we should be able to put forth this effort and achieve the mutual goal of my company and the vTiger community without using very much more of everyones time. Thanks Guys, Joey On 9/20/07, Sreenivas Kanumuru wrote: > > Hi Joey, > > Today, we have separate distributions for MySQL, and Postgres. It will be > nice not having to maintain these different code bases. We are considering > adding multi-database support soon. If your changes help us in this process > we will certainly look into it. > > For now, the best way to proceed is to create a new branch (5.0.3 for > MSSQL) and contribute your changes to it. Then you can request help from the > community in testing it with MySQL and other databases. > > Regards, > > Sreenivas > vtiger Team. > > > > > ----On Thu, 20 Sep 2007 *Joey Novak * wrote ---- > > Hey Guys, > > I am still working hard on modifying the parts of vTiger that don't work > well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to > get my changes considered for the next release of vTiger? It is easy for me > to test them on MySQL, but I don't know about postgres. I have never worked > on a big OpenSource project, so I am not framiliar with the proper etiquete > for contributing changes, but I think these changes would be valuable to the > project. > > Joey > > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html_______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/33c806f2/attachment.htm From weigelt at metux.de Fri Sep 21 05:06:43 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 14:06:43 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: <20070921120643.GA12321@nibiru.local> * Joey Novak schrieb: hi, > So, I am 99% finished porting the non-MSSQL compliant SQL into > Compatible SQL. Please try to move the RDBMS specific things into some separate source file, maybe some separate class. This gives an central point for RDBMS specific things and makes further porting much easier. (I did similar things on my branch, which are not yet ported back.) For example: Some base class "VT_DB_Driver" where several individual drivers (ie. for mysql, mssql, pgsql) are derived from. It should have those functions: * QueryRecords($query_string) -> give back an array of recods * SequenceNextVal($seq_name) * SQL_Encode_int($i) * SQL_Encode_date($d) * SQL_Encode_text($t) ... Ah, and please document your changes in the code and give tell us something about what you did on the list :) > Again, I don't know what the best way to go about this is, but my Company > is willing to invest resources into merging the braches of vTiger into one > branch that works on postGres, MSSQL, and MySQL. Is your company willing to hire some of us? ;-O > how would I submit my work? Post an patch to the list ;-P > told me I should create a new branch, as I browsed the code, I could not > find the seperate postgres branch he spoke of. Is it not clearly labeled? It's in the jens_5_1 branch. But last time I checked, it wasn't the whole of Jens's work, and he sent me his personal copy. Mine has also several changes, some maybe already committed, some maybe not. BTW: we already have dozens of branches, we really should get them together. Why not forking from the latest stable, and intensively try to get in all the changes laying around into it ? An clean DB abstraction seems to be an key point for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Fri Sep 21 05:25:07 2007 From: joey.novak at gmail.com (Joey Novak) Date: Fri, 21 Sep 2007 08:25:07 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921120643.GA12321@nibiru.local> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: Enrico, > Please try to move the RDBMS specific things into some separate >source file, maybe some separate class. This gives an central >point for RDBMS specific things and makes further porting much >easier. (I did similar things on my branch, which are not yet >ported back.) I understand what you are asking for (I think). But I don't see how what you want differs from the what is in the 5.0.3 code already. ADOdb does what you are speaking of (I think). Joey On 9/21/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > hi, > > > So, I am 99% finished porting the non-MSSQL compliant SQL into > > Compatible SQL. > > Please try to move the RDBMS specific things into some separate > source file, maybe some separate class. This gives an central > point for RDBMS specific things and makes further porting much > easier. (I did similar things on my branch, which are not yet > ported back.) > > For example: > > Some base class "VT_DB_Driver" where several individual drivers > (ie. for mysql, mssql, pgsql) are derived from. > > It should have those functions: > > * QueryRecords($query_string) -> give back an array of recods > * SequenceNextVal($seq_name) > * SQL_Encode_int($i) > * SQL_Encode_date($d) > * SQL_Encode_text($t) > ... > > > Ah, and please document your changes in the code and give tell us > something about what you did on the list :) > > > Again, I don't know what the best way to go about this is, but my > Company > > is willing to invest resources into merging the braches of vTiger into > one > > branch that works on postGres, MSSQL, and MySQL. > > Is your company willing to hire some of us? ;-O > > > how would I submit my work? > > Post an patch to the list ;-P > > > told me I should create a new branch, as I browsed the code, I could not > > find the seperate postgres branch he spoke of. Is it not clearly > labeled? > > It's in the jens_5_1 branch. But last time I checked, it wasn't > the whole of Jens's work, and he sent me his personal copy. > Mine has also several changes, some maybe already committed, > some maybe not. > > BTW: we already have dozens of branches, we really should get > them together. Why not forking from the latest stable, and > intensively try to get in all the changes laying around into it ? > An clean DB abstraction seems to be an key point for me. > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070921/3bf7202d/attachment.htm From weigelt at metux.de Fri Sep 21 09:34:16 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 18:34:16 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: <20070921163416.GA15655@nibiru.local> * Joey Novak schrieb: > I understand what you are asking for (I think). But I > don't see how what you want differs from the what is in > the 5.0.3 code already. ADOdb does what you are speaking > of (I think). This adodb crap is exactly what I want to get rid of. Doesnt cope the whole dialects, too unstable and extremly resource wasting. An good example for bad design. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Sat Sep 22 16:57:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Sun, 23 Sep 2007 09:57:02 +1000 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921163416.GA15655@nibiru.local> Message-ID: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > This adodb crap is exactly what I want to get rid of. > Doesnt cope the whole dialects, too unstable and extremly > resource wasting. An good example for bad design. Do you have an alternative to suggest? Pear DB perhaps (urghhh). Or do you want to invent your own wheel and create a maintenance nightmare? As far as I can tell, all options have plusses and minuses. But a collective library must be the best way to go. Cheers Graham From weigelt at metux.de Sun Sep 23 05:31:05 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Sun, 23 Sep 2007 14:31:05 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Message-ID: <20070923123105.GA28296@nibiru.local> * Graham Miller schrieb: > Do you have an alternative to suggest? > > Pear DB perhaps (urghhh). Yes, PEAR DB is much cleaner and less complex. It still lacks several functions (ie. for query rendering), but this can be easily extendet. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Sun Sep 23 07:53:17 2007 From: joey.novak at gmail.com (Joey Novak) Date: Sun, 23 Sep 2007 10:53:17 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070923123105.GA28296@nibiru.local> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: I am not trying to argue... But, I really didn't find adodb all that complex. There are three or four functions that it uses, and that is it. With a few modifications to make it always use the associative array return values, instead of index based. And a way to do different queries depending upon the dbms (there are only a few that it would be easier if they could be different, most can be the same). Then I think adodb would do the job great. As for performance, I didn't see very much in the adodb code that would slow things down. Although I may have missed something. Joey On 9/23/07, Enrico Weigelt wrote: > > * Graham Miller schrieb: > > > > > Do you have an alternative to suggest? > > > > Pear DB perhaps (urghhh). > > Yes, PEAR DB is much cleaner and less complex. > It still lacks several functions (ie. for query rendering), > but this can be easily extendet. > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070923/12303117/attachment.htm From joey.novak at gmail.com Mon Sep 24 05:57:13 2007 From: joey.novak at gmail.com (Joey Novak) Date: Mon, 24 Sep 2007 08:57:13 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: Hey Guys, This will probably be my final message here. We decided to go with SugarCRM. There just seems to be a lot more development work going on to extend SugarCRM. It was a very difficult decision, our manager, myself, and others have emotional attachments to vTiger, and really do like it better, but we didn't feel it was the best decision for the progress of the business that we support. Anyways, all that being said, we wanted to try to make sure our efforts aren't being wasted. So we wrapped up our version of vTiger that works on MSSQL, and are making it available here: http://www.affinity4.com/vtiger/ Later Guys, and happy coding! Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/d3f06286/attachment-0001.htm From joe at tsolucio.com Mon Sep 24 06:47:52 2007 From: joe at tsolucio.com (Joe Bordes) Date: Mon, 24 Sep 2007 15:47:52 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: References: Message-ID: <1190641672.22534.18.camel@joesunix.int> Hi, This email should be a call of attention. If your goal is to be "The most popular CRM" you need this development list to be VERY active and have the community adopting your application for the solution to their problems. The way I see it if you study for knowledge you (normally) get a side effect that is passing your exams, when you study to pass the exams is when you may have problems. I think your goal should be to have a flexible and powerfull solution to CRM/Business problems instead of just popularity. Then you will become popular by merits. After all one can acheive popularity easily (just look at TV), why you have that popularity and maintaining it is where the effort is. Joe TSolucio El lun, 24-09-2007 a las 08:57 -0400, Joey Novak escribi?: > Hey Guys, > > This will probably be my final message here. We decided to go with > SugarCRM. There just seems to be a lot more development work going on > to extend SugarCRM. It was a very difficult decision, our manager, > myself, and others have emotional attachments to vTiger, and really do > like it better, but we didn't feel it was the best decision for the > progress of the business that we support. > > Anyways, all that being said, we wanted to try to make sure our > efforts aren't being wasted. So we wrapped up our version of vTiger > that works on MSSQL, and are making it available here: > http://www.affinity4.com/vtiger/ > > Later Guys, and happy coding! > > Joey > > -- > --- > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com From graham901 at webenhanced.com.au Mon Sep 24 16:18:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Tue, 25 Sep 2007 09:18:02 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1190641672.22534.18.camel@joesunix.int> Message-ID: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. From aresolimpico at gmail.com Mon Sep 24 17:12:38 2007 From: aresolimpico at gmail.com (David fire) Date: Mon, 24 Sep 2007 21:12:38 -0300 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <4c307cb60709241712y6dfd3b19j581537e7ebdf8cfc@mail.gmail.com> hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/c6b68c07/attachment.htm From svk at vtiger.com Mon Sep 24 17:27:17 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 17:27:17 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <1153a0f869e.-5019729562825485777.-8669095014683350750@vtiger.com> Joey, Thanks for the email, and for all your efforts. w.r.tyour decision to go with Sugar CRM, you mentioned the developmentactivity around the Sugar CRM as one of the key reasons. While vtigerhas a passionate developer community, we do recognize that we have tosimplify the development process to add modules, and more immediatelyhelp users find projects that are already there on the vtiger forge. w.r.tthe MS-SQL support, your contributions will certainly be quite usefulto MS-SQL users. I hope some members from the community will pick it upand maintain it until we get to 6.0 release. We are looking to addmulti-database support in 6.0, so that we don't have to maintaindifferent branches for different databases. I would certainly appreciate any additional feedback you have on your vtiger experience, and areas where we could improve. Joe, Graham, We are taking measures to be more proactive on this list. I know it is not a one way street. If we expect developers to contribute to vtiger, we have to help them. I am confident you will see improvements in this regard going forward. We fully realize the benefits of doing so. In the upcoming 5.0.4 release, about 40 patches contributed by the community are included, besides about 100 or so bug fixes. Tomorrow,we will be posting the details of the development build for theupcoming patch on the blog and the forums. We will be requesting help from the communityto test and provide feedback. Your comments are quite valuable to us. Regards, Sreenivas ----On Mon, 24 Sep 2007 Graham Miller wrote ---- Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/37a47550/attachment.htm From svk at vtiger.com Mon Sep 24 18:52:57 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 18:52:57 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> David, Thanks for the input. Our goal, w.r.t the community, is three fold: 1. Deliver a CRM platform that addresses the core CRM functions well and is easily extensible to add new features/modules. 2. Provide the right tools (forge, Application portal for users, forums, documentation..) to encourage community participation and interaction. 3. Engage with the community On the product front, in 6.0 release, we hope to make big strides in making the product modular and extensible. More immediately though, we hope to make some improvements on the tools front. In the next 4-6 weeks, we are considering a website revision to address the following areas: Documentation:Make it easy for users to find documentation Community participation in creating documentation Community Events:Make it easy for members to organize and promote local community events (user group meetings) We are also considering moving from gForge to gForge Advanced Server for the vtiger forge. (more on this in a separate post) Regards, Sreenivas ----On Mon, 24 Sep 2007 David fire wrote ---- hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller :Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/dccf42e0/attachment-0001.htm From chazarra.clement at gmail.com Tue Sep 25 04:53:00 2007 From: chazarra.clement at gmail.com (clement chazarra) Date: Tue, 25 Sep 2007 12:53:00 +0100 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> References: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> Message-ID: Hi, My 2 cents point of view.. vTiger team should focus on the CRM platform and functions, while in the mean time, partners could take care of the website and community. It feels that you have far too many things to handle at the same time, and many people, companies are willing to help on it. So I understand that you want to keep your full hands on vTiger CRM, but giving more responsabilitise to partners would free some team members for other tasks. You need to give more responsabilities to people around! And not just saying so, or taking in account comments. What do people want to see? A better designed website, with community portal and forge more efficient. How would I do it? Post a request for partnership with companies who could restructure the whole website and community portal. >From this point, you could focus just on communications with those partners, and on the development of the next version. But still, it's only my own point of view... BTW, Joe, what are the actual outputs from the meeting in Italy? Are things going forward? Regards, Clem On 9/25/07, Sreenivas Kanumuru wrote: > > David, > > Thanks for the input. > > Our goal, w.r.t the community, is three fold: > 1. Deliver a CRM platform that addresses the core CRM functions well and > is easily extensible to add new features/modules. > 2. Provide the right tools (forge, Application portal for users, forums, > documentation..) to encourage community participation and interaction. > 3. Engage with the community > > On the product front, in 6.0 release, we hope to make big strides in > making the product modular and extensible. > > More immediately though, we hope to make some improvements on the tools > front. In the next 4-6 weeks, we are considering a website revision to > address the following areas: > > Documentation: > > - Make it easy for users to find documentation > - Community participation in creating documentation > > Community Events: > > - Make it easy for members to organize and promote local community > events (user group meetings) > > We are also considering moving from gForge to gForge Advanced Server for > the vtiger forge. (more on this in a separate post) > > Regards, > Sreenivas > > > > > ----On Mon, 24 Sep 2007 *David fire * wrote ---- > > hi > we are a lot working on vtiger... maybe the biggest problem is the > dificulty to add any new function.... > and the lack of responce from main developers... > maybe we should ask them what thay want to do... > > i think vtiger has a very good potential if we change the actitude. > we can make some work groups: > > -documentation > -features review > -developers (add members) > -documentation!!!! > > if the project go larger will be a lot of job, many enterprise will ask > for paid support and others will ask special developments... > > thanks > David > > > > > > 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/5980557f/attachment.htm From weigelt at metux.de Tue Sep 25 12:14:41 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:14:41 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: <20070925191440.GA6754@nibiru.local> * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 12:27:15 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:27:15 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <20070925192715.GB6754@nibiru.local> * Graham Miller schrieb: Hi, > There are many commercial entities now considering investing > in open source development but they need to know the project > is going to be there for the long haul. Well, as long as one person maintains the project, it keeps alive ;-P > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as the base platform for user logins, profiles, > contact history etc etc. The client is willing to invest in open source > software and we will probably want some extra programming resources to > hire along the way that already know the CRM app really well. Sounds good :) IMHO, it's important to get patches back to this list asap, so the community can take care of them. That's the difference between cooperative work and taking someone's works for your own benefits. > We evaluated the market of open source offerings and found sugar/vtiger > to be the best. Noting the sugarCRM license requirements and our need > to totally re-brand the application, we decided that the apparently real > open source alternative (namely vtiger) was the right platform and have > been watching the list for signs of an active community. For me, the sugar licensing was one of the major reason for dropping it. vtiger has still a lot issues, but still seemed the best option for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 12:29:50 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:29:50 +0200 Subject: [Vtigercrm-developers] Status on postgresql port Message-ID: <20070925192950.GC6754@nibiru.local> Hi folks, what's the status of the postgresql port and the mainline tree ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 14:06:25 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 23:06:25 +0200 Subject: [Vtigercrm-developers] [PATCH] Invoice: fix PDF link In-Reply-To: <20070625174933.GI7548@nibiru.local> References: <20070625174933.GI7548@nibiru.local> Message-ID: <20070925210624.GB3224@nibiru.local> * Enrico Weigelt schrieb: > > Hi folks, > > this patch fixes the really strange javascript link for pdf > invoice to an plain url. Any new on that issue ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:47:54 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 00:47:54 +0200 Subject: [Vtigercrm-developers] 5.1 vs. 5.1_jens Message-ID: <20070925224752.GA21523@nibiru.local> Hi folks, what the current status of porting 5.1_jens to 5.1 branch ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Tue Sep 25 16:21:11 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Wed, 26 Sep 2007 09:21:11 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <20070925192715.GB6754@nibiru.local> Message-ID: <001501c7ffca$c4c21980$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > Well, as long as one person maintains the project, it keeps alive ;-P That is true. But if a company is going to invest (say) $50,000 to improve a piece of software so it is useable for their purpose, give back the improvements to the community, and continue to assist and have a hand in its development over time, then the company would like to see an active community from various industries and countries so that new technology is incorporated in a timely fashion and well tested by a large community (of which the company becomes an active member). So for a large financial and time investment, we would want to be an active part of a reasonably large community so we feel that we are helping plenty of others in return for the initial code base and future updates, as well as benefiting ourselves from plenty of other people's experience. > IMHO, it's important to get patches back to this list asap, > so the community can take care of them. That's the difference > between cooperative work and taking someone's works for your > own benefits. Of course. But that should be done via some kind of tracker that allows file attachments.... not a mailing list. And a lead developer should be responsible for merging that code into the current branch. We also contribute to the Moodle (learning management system) community and they have a huge number of contributors and their systems are quite good. The feature request tracker has the ability to have a conversation and upload code files for consideration. It allows linking to a wiki where the "howto" documents are kept and naturally the wiki allows linking back to the tracker for more detailed info (for developers). Other users can then gain access to patches for (say) older releases that were used as a proof of concept during the development phase. The forums are where issues are discussed until action is required. Then it goes to the tracker and wiki. We run our own (old version) gForge site for developer interaction and this works moderately well. I am sure that a newer version would be more useful to a developer community. And we will be investigating the upgrade for our own (closed user group) use shortly anyway. But for an open source community project, it needs to be such that a person can register themselves and participate in the trackers and forums etc. And under lead developer control, access the wiki and perhaps even the source tree (once proven to be of suitable quality and skill level). > For me, the sugar licensing was one of the major reason for > dropping it. vtiger has still a lot issues, but still seemed > the best option for me. And we came to the same conclusion, but the lack of a cohesive community is what makes us stall our decision. Single maintainer projects of this size rarely keep up to date with even security issues, let alone technology upgrades and, of course, industry requirements. If we are going to invest heavily in a technology, then we want to be using the "best of breed". So this is why we hesitate. Cheers Graham From aresolimpico at gmail.com Tue Sep 25 19:47:35 2007 From: aresolimpico at gmail.com (David fire) Date: Tue, 25 Sep 2007 23:47:35 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger Message-ID: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: vtiger+asterisk.jpg Type: image/jpeg Size: 180825 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/vtigerasterisk-0001.jpg From prasad at vtiger.com Wed Sep 26 04:26:42 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 04:26:42 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> Message-ID: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Hi David, Before starting any development on vtiger-asterisk please look at the available forge project: http://forge.vtiger.com/projects/asterisk-integ/ Regards, Prasad vtiger Team ----On Wed, 26 Sep 2007 David fire wrote ---- hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/3e85e60d/attachment.htm From prasad at vtiger.com Wed Sep 26 05:02:37 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 05:02:37 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070925191440.GA6754@nibiru.local> References: <20070925191440.GA6754@nibiru.local> Message-ID: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Thank you for highlighting your points with database access implementation currently used in vtiger. We made a choice of adodb to have multi database support for our product. The version that is used I believe any wrapper on database has both positive and negatives, whether it is adodb or pear db. Going forward we have plans to pick up the best ideas from these wrappers and come up with some db access framework which could let us maintain vtiger working with different flavours of database. We would be happy to get suggestions from our developer community on this. Please do keep us updated on the both positive and negatives on various database wrappers you have worked with and what best we can pick up from them. Regards, Prasad ----On Wed, 26 Sep 2007 Enrico Weigelt wrote ---- * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/24f57d0f/attachment.htm From aresolimpico at gmail.com Wed Sep 26 05:18:52 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 09:18:52 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Message-ID: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> hi thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. thanks David 2007/9/26, Prasad : > > > Hi David, > > Before starting any development on vtiger-asterisk please look at the > available forge project: > > http://forge.vtiger.com/projects/asterisk-integ/ > > Regards, > Prasad > vtiger Team > > > ----On Wed, 26 Sep 2007 *David fire * wrote ---- > > hi > i need to integrate asterisk and vtiger... > i want a "full manager", transfer calls, dial, redirect, etc... in the > same window. > > i will make the module and the asterisk communication but i want to put it > over vtiger (see the picture) attached or at > http://www.buenafuentenews.info/images/vtiger.jpg > i really haven't a clue how to put that there in every page.... > i will add a field "extension" to the users profile and vasterisk > (vtiger asterik) will use the value. > > i will do this month so if any one want to help me or give me a clue... > > > Thanks > > PD: sorry for my poor English. > > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/9eaacd66/attachment.htm From weigelt at metux.de Wed Sep 26 05:26:42 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:26:42 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> References: <20070925191440.GA6754@nibiru.local> <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Message-ID: <20070926122642.GB21523@nibiru.local> * Prasad schrieb: Hi, > Going forward we have plans to pick up the best ideas from these wrappers > and come up with some db access framework which could let us maintain > vtiger working with different flavours of database. I added some method run_query_field() to PearDatabase, which should be used at any point where just one single value is queried. Another method is sql_concat() which handles the dmbs specific concat operators. I'll (re)post my patch separately. For future use the PearDatabase class ($adb variable) should be used exlusively, and always the methods with the highest abstraction. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Wed Sep 26 05:29:38 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:29:38 +0200 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods Message-ID: <20070926122938.GC21523@nibiru.local> Hi folks, this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed It fits against 5.1 and 5.1_jens. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/include/database/PearDatabase.php htdocs/include/database/PearDatabase.php --- htdocs.orig/include/database/PearDatabase.php 2007-05-11 02:17:06.000000000 +0200 +++ htdocs/include/database/PearDatabase.php 2007-05-11 02:55:29.000000000 +0200 @@ -434,6 +434,31 @@ return $this->change_key_case($result->FetchRow()); } + function sql_concat($list) + { + switch ($this->dbType) + { + case 'mysql': + return 'concat('.implode(',',$list).')'; + case 'pgsql': + return '('.implode('||',$list).')'; + default: + throw new Exception("unsupported dbtype \"".$this->dbType."\""); + } + } + + function run_query_field($sql) + { + $this->checkConnection(); + $result = $this->database->Execute($sql); + + if (!is_object($result)) + throw new Exception("query failed: $sql"); + + $row = $result->FetchRow(); + return array_shift($row); + } + /* ADODB newly added. replacement for mysql_result() */ function query_result(&$result, $row, $col=0) { From weigelt at metux.de Wed Sep 26 05:36:44 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:36:44 +0200 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods Message-ID: <20070926123644.GD21523@nibiru.local> Hi folks, this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. IMHO this should go to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN cleaned/data/CRMEntity.php working/data/CRMEntity.php --- cleaned/data/CRMEntity.php 2007-05-03 17:50:00.000000000 +0200 +++ working/data/CRMEntity.php 2007-05-03 23:38:06.000000000 +0200 @@ -25,10 +25,16 @@ require_once('data/Tracker.php'); require_once('include/utils/utils.php'); require_once('include/utils/UserInfoUtil.php'); - -class CRMEntity -{ - /** + +class CRMEntity +{ + /* generic toString() method added by nekrad */ + function __toString() + { + return serialize($this); + } + + /** * This method implements a generic insert and update logic for any SugarBean * This method only works for subclasses that implement the same variable names. * This method uses the presence of an id vtiger_field that is not null to signify and update. diff -ruN cleaned/modules/Users/Users.php working/modules/Users/Users.php --- cleaned/modules/Users/Users.php 2007-05-04 02:32:05.000000000 +0200 +++ working/modules/Users/Users.php 2007-05-04 02:59:03.000000000 +0200 @@ -163,6 +163,11 @@ $this->log->debug("Exiting Users() method ..."); } + function __toString() + { + return "[[USERS]]"; + } + // Mike Crowe Mod --------------------------------------------------------Default ordering for us /** * Function to get sort order From weigelt at metux.de Wed Sep 26 05:50:45 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:50:45 +0200 Subject: [Vtigercrm-developers] [PATCH] TeX rendering API and invoice pdf Message-ID: <20070926125045.GE21523@nibiru.local> Hi folks, these patches add an universal rendering API for things like invoices and an TeX renderer backend. The old invoice pdf code is changed to run via the rendering API. Now it's very easy to add new renderers. I also included my own templates as example. The API patch (renderapi-1) does not change anything but just adding some new files in the lib/render/ subdir and could be applied to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/lib/render/README htdocs/lib/render/README --- htdocs.orig/lib/render/README 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/README 2007-05-09 13:53:10.000000000 +0200 @@ -0,0 +1 @@ +This subdirectory contains the TeX rendering stuff. diff -ruN htdocs.orig/lib/render/RenderFactory.php htdocs/lib/render/RenderFactory.php --- htdocs.orig/lib/render/RenderFactory.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/RenderFactory.php 2007-05-09 17:05:57.000000000 +0200 @@ -0,0 +1,64 @@ +engine = $e; + } + + function __toString() + { + return "Unknown Engine: \"".$this->engine."\""; + } +} + +class E_Render_FormatNotSupportedByEngine extends Exception +{ + var $engine; + var $format; + + function E_Render_FormatNotSupportedByEngine($format,$engine) + { + $this->format = $format; + $this->engine = $engine; + } + + function __toString() + { + return "Format \"".$this->format. + "\" not supported by engine \"". + $this->engine. + "\""; + } +} + +class RenderFactory +{ + /* public static */ function getRenderer_Invoice($param) + { + if (!($f = $param{'format'})) + throw new Exception("missing output format"); + if (!($e = $param{'engine'})) + throw new Exception("missing engine"); + + switch ($e) + { + case 'pdflatex': + { + if ($f != 'application/pdf') + throw new E_Render_FormatNotSupportedByEngine($f,$e); + + require_once(RENDER_LIB_PREFIX.'TexRender_Invoice.php'); + return new TexRender_Invoice($param); + } + default: + throw new E_Render_UnknownEngine($e); + } + } +} diff -ruN htdocs.orig/lib/render/TexEncode.php htdocs/lib/render/TexEncode.php --- htdocs.orig/lib/render/TexEncode.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/TexEncode.php 2007-05-10 02:51:50.000000000 +0200 @@ -0,0 +1,101 @@ + + +*/ + +// NOTE: the webserver needs *write* acccess to this directory +// we normally take the session storage dir +define('TEXRENDER_TMP_MASK', '{SESSION.SAVE_PATH}/texrender-{SESSION.ID}-{NAME}'); +define('TEXRENDER_TEMPLATE_DIR', 'templates/tex/{TEMPLATE-NAME}/'); + +require_once(RENDER_LIB_PREFIX.'TexEncode.php'); + +class TexRender_Invoice +{ + /* private */ var $tmpmask; + /* private */ var $data; + /* private */ var $product_items; + /* private */ var $fn_tex; + /* private */ var $fn_pdf; + /* private */ var $fn_template; + /* private */ var $key; + + /* private */ function _tmpname($name) + { + return str_replace('{SESSION.NAME}', session_name(), + str_replace('{SESSION.ID}', session_id(), + str_replace('{SESSION.SAVE_PATH}', realpath(ini_get('session.save_path')), + str_replace('{NAME}', $name, + $this->tmpmask + )))); + } + + /* private */ function _test_write_access() + { + $fn = $this->_tmpname('write-test'); + if (!($fp=fopen($fn,"w"))) + throw new Exception("write-test: could not open file for writing: $fn"); + fputs($fp,"TEST123"); + fclose($fp); + + $res = trim(implode('',file($fn))); + if ($res != "TEST123") + throw new Exception("write-test: reading test data failed for file: $fn"); + + unlink($fn); + + return true; + } + + function TexRender_Invoice($param) + { + // test write access and otherwise failed + $this->tmpmask = TEXRENDER_TMP_MASK; + + // should be already cought by the factory, but just to be sure + if ($param{'format'} != 'application/pdf') + throw new Exception("fomat not supported by this renderer: ".$param{'format'}); + + if (!$param{'template'}) + throw new Exception("missing template name"); + + $this->template_name = $param{'template'}; + $this->data = array(); + $this->_test_write_access(); + $this->key = md5(serialize(gettimeofday)); + $this->fn_tex = $this->_tmpname($this->key.'.tex'); + $this->fn_pdf = $this->_tmpname($this->key.'.pdf'); + $this->template_dir= realpath(str_replace('{TEMPLATE-NAME}', $this->template_name,TEXRENDER_TEMPLATE_DIR)); + $this->fn_template_main = $this->template_dir.'/invoice/main.texi'; + $this->fn_template_item = $this->template_dir.'/invoice/item.texi'; + + $inc = $this->template_dir.'/config.php'; + if (!include($inc)) + throw new Exception("could not load config: $inc"); + + if (!is_array($this->config = $tex_template_config)) + throw new Exception("missing template config"); + + if (!$this->config{'lang'}) + throw new Exception("language not set in template config"); + } + + function addData($par) + { + foreach($par as $walk => $cur) + $this->data{$walk} = $cur; + } + + function checkProductItem($item) + { + if (!$item{'name'}) + throw new Exception("missing item name"); + if (!$item{'amount'}) + throw new Exception("missing amount"); + if (!is_numeric($item{'amount'})) + throw new Exception("amount must be numeric"); + if (!$item{'price'}) + throw new Exception("missing price"); + if (!is_numeric($item{'price'})) + throw new Exception("price must be numeric"); + if (($item{'discount'})&&($item{'discount'} != 0)) + throw new Exception("discount not supported yet by this renderer"); + if (!is_numeric($item{'tax_percent'})) + throw new Exception("tax_percent must be numeric"); + } + + function checkData() + { + if ((!is_array($this->_product_items)) || + (!count($this->_product_items))) + throw new Exception("no product items"); + + if (!$this->data{'ident'}) + throw new Exception("missing ident"); + } + + /* public */ function addProductItem($item) + { + // check for correct items + $this->checkProductItem($item); + + // calculate some stuff if necessary + if (!$item{'total'}) + $item{'total'} = $item{'price'} * $item{'amount'}; + if (!$item{'taxes'}) + $item{'taxes'} = $item{'total'} * $item{'tax_percent'}; + if (!$item{'topay'}) + $item{'topay'} = $item{'total'} + $item{'taxes'}; + + $this->_product_items[] = $item; + } + + /* public String */ function getOutputContentType() + { + return 'application/pdf'; + } + + /* private String */ function _generate_tex() + { + if (!($tmpl_main = implode('',file($this->fn_template_main)))) + throw new Exception("could not load main template: ".$this->fn_template_main); + if (!($tmpl_item = implode('',file($this->fn_template_item)))) + throw new Exception("could not load item template: ".$this->fn_template_item); + + // generate the item list + foreach ($this->_product_items as $walk => $cur) + { + $items .= + str_replace('::Item:Name::', $cur{'name'}, + str_replace('::Item:Price::', TexEncode::money($cur{'price'}), + str_replace('::Item:Amount::', $cur{'amount'}, + str_replace('::Item:Taxrate::', $cur{'tax_percent'}, + str_replace('::Item:Description::', $cur{'description'}, + str_replace('::Item:Comment::', trim($cur{'comment'}), + str_replace('::Item:Discount::', TexEncode::money($cur{'discount'}), + str_replace('::Item:Total::', TexEncode::money($cur{'total'}), + str_replace('::Item:Taxes::', TexEncode::money($cur{'taxes'}), + str_replace('::Item:Topay::', TexEncode::money($cur{'topay'}), + $tmpl_item)))))))))); + + $all_total += $cur{'total'}; + $all_taxes += $cur{'taxes'}; + $all_topay += $cur{'topay'}; + } + + $content = + str_replace('::TemplateDir::', $this->template_dir, + str_replace('::Items::', $items, + str_replace('::Bill:Ident::', $this->data{'ident'}, + str_replace('::Bill:Total::', TexEncode::money($all_total), + str_replace('::Bill:Taxes::', TexEncode::money($all_taxes), + str_replace('::Bill:Topay::', TexEncode::money($all_topay), + str_replace('::Company:Addr:Street::', $this->data{'company:addr:street'}, + str_replace('::Company:Addr:PCode::', $this->data{'company:addr:pcode'}, + str_replace('::Company:Addr:City::', $this->data{'company:addr:city'}, + str_replace('::Company:Addr:Country::', $this->data{'company:addr:country'}, + str_replace('::Company:Addr:State::', $this->data{'company:addr:state'}, + str_replace('::Company:Phone::', $this->data{'company:phone'}, + str_replace('::Company:Fax::', $this->data{'company:fax'}, + str_replace('::Company:Website::', $this->data{'company:website'}, + str_replace('::Customer:Name::', $this->data{'customer:name'}, + str_replace('::Customer:Addr:Street::', TexEncode::text($this->data{'billing:addr:street'}), + str_replace('::Customer:Addr:PCode::', TexEncode::text($this->data{'billing:addr:pcode'}), + str_replace('::Customer:Addr:City::', TexEncode::text($this->data{'billing:addr:city'}), + str_replace('::Customer:Addr:State::', TexEncode::text($this->data{'billing:addr:state'}), + str_replace('::Customer:Addr:Country::', TexEncode::text($this->data{'billing:addr:country'}), + $tmpl_main)))))))))))))))))))); + + return $content; + } + + /* public */ function generate() + { + $this->checkData(); + $tex = $this->_generate_tex(); + @unlink($this->fn_tex); + if (!($fp_tex = fopen($this->fn_tex,"w"))) + throw new Exception("could not open tex source file: ".$this->fn_tex); + + fputs($fp_tex,$tex); + fclose($fp_tex); + + $cmd = 'cd '.dirname($this->fn_tex).' && pdflatex '.$this->fn_tex; + `$cmd` ; `$cmd` ; // call it twice for table calculations + } + + // send appropriate http headers and output file + /* public */ function sendHTTPOutput() + { + $this->generate(); + Header("Content-Type: ".$this->getOutputContentType()); + readfile($this->fn_pdf); + } +} -------------- next part -------------- diff -ruN htdocs.orig/modules/Invoice/CreatePDF.php htdocs/modules/Invoice/CreatePDF.php --- htdocs.orig/modules/Invoice/CreatePDF.php 2007-05-09 00:56:25.000000000 +0200 +++ htdocs/modules/Invoice/CreatePDF.php 2007-05-10 15:30:08.000000000 +0200 @@ -9,67 +9,36 @@ * ********************************************************************************/ - -require_once('include/fpdf/pdf.php'); -require_once('include/fpdf/pdfconfig.php'); require_once('modules/Invoice/Invoice.php'); require_once('modules/Organization/Organization.php'); require_once('include/database/PearDatabase.php'); require_once('include/utils/EditViewUtils.php'); +require_once('lib/render/RenderFactory.php'); -global $adb,$app_strings,$focus; -global $log; - -// for template checking ... -$tmpl_dirs = array( "firstpage", "pages", "lastpage"); -$tmpl_files = array( "header.php", "body.php", "footer.php"); +global $adb,$app_strings,$focus,$log; $sql="select currency_symbol from vtiger_currency_info"; $result = $adb->query($sql); $currency_symbol = $adb->query_result($result,0,'currency_symbol'); -// would you like and end page? 1 for yes 0 for no -$endpage="1"; - $id = $_REQUEST['record']; //retreiving the vtiger_invoice info $focus = new Invoice(); $focus->retrieve_entity_info($_REQUEST['record'],"Invoice"); -$account_name = getAccountName($focus->column_fields[account_id]); -$invoice_no = $focus->column_fields[invoice_no]; // **************** BEGIN POPULATE DATA ******************** - -// populate data if($focus->column_fields["salesorder_id"] != '') $so_name = getSoName($focus->column_fields["salesorder_id"]); else $so_name = ''; $po_name = $focus->column_fields["purchaseorder"]; -$valid_till = $focus->column_fields["duedate"]; -$valid_till = getDisplayDate($valid_till); -$bill_street = $focus->column_fields["bill_street"]; -$bill_city = $focus->column_fields["bill_city"]; -$bill_state = $focus->column_fields["bill_state"]; -$bill_code = $focus->column_fields["bill_code"]; -$bill_country = $focus->column_fields["bill_country"]; - -$contact_name =getContactName($focus->column_fields["contact_id"]); -$ship_street = $focus->column_fields["ship_street"]; -$ship_city = $focus->column_fields["ship_city"]; -$ship_state = $focus->column_fields["ship_state"]; -$ship_code = $focus->column_fields["ship_code"]; -$ship_country = $focus->column_fields["ship_country"]; - -$conditions = from_html($focus->column_fields["terms_conditions"]); -$description = from_html($focus->column_fields["description"]); -$status = $focus->column_fields["invoicestatus"]; - // Company information -$crmid = $focus->column_fields["record_id"]; +if (!($crmid = $focus->column_fields["record_id"])) + throw new Exception("crmid is null/empty"); + $org_query = "select organizationname from vtiger_entity2org where crmid='".$crmid."'"; $result = $adb->query($org_query); $org_rows = $adb->num_rows($result); @@ -82,7 +51,7 @@ $org_name = $adb->query_result($result,0,"organizationname"); } else { $log->info( $module. " '".$crmid."' not assigned to any organization"); - exit(); + throw new Exception("crmid $crmid not assigned to any organisation (org_name=$org_name)"); } // get organization/orgunit details @@ -92,68 +61,11 @@ $log->debug( "Here we are: getOrgUnits( $organization, $orgunitid);"); $orgunittab = getOrgUnits( $organization, $orgunitid); -if( is_array( $orgunittab[$orgunitid])) { - $orgdetails = $orgunittab[$orgunitid]; - $org_name = $orgdetails["name"]; - $org_address = $orgdetails["address"]; - $org_city = $orgdetails["city"]; - $org_state = $orgdetails["state"]; - $org_country = $orgdetails["country"]; - $org_code = $orgdetails["code"]; - $org_phone = $orgdetails["phone"]; - $org_fax = $orgdetails["fax"]; - $org_website = $orgdetails["website"]; - $logo_name = $orgdetails["logoname"]; - $template = $orgdetails["invoice_template"]; -} else { - $log->info( $module. " '".$crmid."' organization/orgunitid mismatch"); - exit(); -} - -// Check the template -if( $template == "") - $template = "Default"; - -if( $template != "Default") { - foreach( $tmpl_dirs as $dir) { - foreach( $tmpl_files as $file) { - if( !file_exists( "modules/".$module."/pdf_templates/".$template."/".$dir."/".$file)) { - $log->info( $module. " '".$crmid."' organization/orgunitid template '".$template."' is incomplete"); - $log->info("Missing file: modules/".$module."/pdf_templates/".$template."/".$dir."/".$file); - $log->info("Fallback to the Default template"); - $template = "Default"; - break 2; - } - } - } -} -//NOTE : Removed currency symbols and added with Grand Total text. it is enough to show the currency symbol in one place - -//we can also get the NetTotal, Final Discount Amount/Percent, Adjustment and GrandTotal from the array $associated_products[1]['final_details'] - -//getting the Net Total -$price_subtotal = number_format($focus->column_fields["hdnSubTotal"],2,'.',','); - -//Final discount amount/percentage -$discount_amount = $focus->column_fields["hdnDiscountAmount"]; -$discount_percent = $focus->column_fields["hdnDiscountPercent"]; - -if($discount_amount != "") - $price_discount = number_format($discount_amount,2,'.',','); -else if($discount_percent != "") -{ - //This will be displayed near Discount label - used in include/fpdf/templates/body.php - $final_price_discount_percent = "(".number_format($discount_percent,2,'.',',')." %)"; - $price_discount = number_format((($discount_percent*$focus->column_fields["hdnSubTotal"])/100),2,'.',','); -} -else - $price_discount = "0.00"; - -//Adjustment -$price_adjustment = number_format($focus->column_fields["txtAdjustment"],2,'.',','); -//Grand Total -$price_total = number_format($focus->column_fields["hdnGrandTotal"],2,'.',','); +if(!is_array( $orgunittab[$orgunitid])) + throw new Exception("org/orgunitid mismatch"); +$orgdetails = $orgunittab[$orgunitid]; +$template = $orgdetails["invoice_template"]; //get the Associated Products for this Invoice $focus->id = $focus->column_fields["record_id"]; @@ -166,6 +78,8 @@ //To calculate the group tax amount if($final_details['taxtype'] == 'group') { + throw new Exception("group tax not supported"); + $group_tax_total = $final_details['tax_totalamount']; $price_salestax = number_format($group_tax_total,2,'.',','); @@ -191,47 +105,37 @@ $sh_tax_amount = $final_details['shtax_totalamount']; $price_shipping_tax = number_format($sh_tax_amount,2,'.',','); +$render = RenderFactory::getRenderer_Invoice(array +( + format => 'application/pdf', + engine => 'pdflatex', + template => 'default' +)); //This is to get all prodcut details as row basis -for($i=1,$j=$i-1;$i<=$num_products;$i++,$j++) +for($i=1;$i<=$num_products;$i++) { - $product_name[$i] = $associated_products[$i]['productName'.$i]; - $prod_description[$i] = $associated_products[$i]['productDescription'.$i]; - $product_id[$i] = $associated_products[$i]['hdnProductId'.$i]; - $qty[$i] = $associated_products[$i]['qty'.$i]; - $unit_price[$i] = number_format($associated_products[$i]['unitPrice'.$i],2,'.',','); - $list_price[$i] = number_format($associated_products[$i]['listPrice'.$i],2,'.',','); - $list_pricet[$i] = $associated_products[$i]['listPrice'.$i]; - $discount_total[$i] = $associated_products[$i]['discountTotal'.$i]; - //aded for 5.0.3 pdf changes - $product_code[$i] = $associated_products[$i]['hdnProductcode'.$i]; - - $taxable_total = $qty[$i]*$list_pricet[$i]-$discount_total[$i]; - - $producttotal = $taxable_total; - $total_taxes = '0.00'; if($focus->column_fields["hdnTaxType"] == "individual") { - $total_tax_percent = '0.00'; - //This loop is to get all tax percentage and then calculate the total of all taxes - for($tax_count=0;$tax_countaddProductItem(array + ( + code => $associated_products[$i]['hdnProductcode'.$i], + name => $associated_products[$i]['productName'.$i], + amount => $associated_products[$i]['qty'.$i], + price => $associated_products[$i]['listPrice'.$i], + unit_price => $associated_products[$i]['unitPrice'.$i], + discount => $associated_products[$i]['discountTotal'.$i], + tax_percent => (integer)($tax_percent)/100, + description => $associated_products[$i]['productDescription'.$i], + comment => $associated_products[$i]['comment'.$i] + )); // Product piecelists $query = "SELECT vtiger_crmentity.crmid, @@ -245,86 +149,46 @@ INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_products.productid WHERE vtiger_crmentity.deleted = 0 - AND vtiger_products2products_rel.productid = ".$product_id[$i]." + AND vtiger_products2products_rel.productid = ".$product_id." AND vtiger_products2products_rel.relation_type = 10"; $result = $adb->query($query); $pieces = $adb->num_rows($result); if( $pieces > 0) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = "consisting of:"; - $product_line[$j]["Qty"] = ""; - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - for( $pl=0; $pl<$pieces; $pl++) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = - $adb->query_result( $result, $pl, "productname"); - $product_line[$j]["Qty"] = - $adb->query_result( $result, $pl, "quantity"); - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - } + throw new Exception("multiple pieces not yet supported !"); } } -//echo '
Product Details ==>';print_r($product_line);echo '
'; -//echo '
';print_r($associated_products);echo '
'; - // ************************ END POPULATE DATA ***************************8 -$page_num='1'; -$pdf = new PDF( 'P', 'mm', 'A4' ); -$pdf->Open(); - -$num_pages=ceil(count($product_line)/$products_per_page); - - -$current_product=0; -for($l=0;$l<$num_pages;$l++) -{ - $line=array(); - if($num_pages == $page_num) - $lastpage=1; - - while($current_product != $page_num*$products_per_page) - { - $line[]=$product_line[$current_product]; - $current_product++; - } - - //if bottom > 145 then we skip the Description and T&C in every - //page and display only in lastpage - //if you want to display the description and T&C in each page then - //set the display_desc_tc='true' and bottom <= 145 in pdfconfig.php - $pdf->AddPage(); - if( $page_num == "1") { - include("pdf_templates/".$template."/firstpage/header.php"); - include("pdf_templates/".$template."/firstpage/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/firstpage/footer.php"); - } else { - include("pdf_templates/".$template."/pages/header.php"); - include("pdf_templates/".$template."/pages/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/pages/footer.php"); - } - - $page_num++; - - if (($endpage) && ($lastpage)) - { - $pdf->AddPage(); - include("pdf_templates/".$template."/lastpage/header.php"); - include("pdf_templates/".$template."/lastpage/body.php"); - include("pdf_templates/".$template."/lastpage/footer.php"); - } -} - - -$pdf->Output('Invoice-'.$crmid.'.pdf','D'); //added file name to make it work in IE, also forces the download giving the user the option to save +$render->addData(array +( + 'valid_until' => $focus->column_fields["duedate"], + 'description' => from_html($focus->column_fields["description"]), + 'conditions' => from_html($focus->column_fields["terms_conditions"]), + 'tax_type' => $focus->column_fields['hdnTaxType'], + 'ident' => $focus->column_fields['invoice_no'], + 'contact:name' => getContactName($focus->column_fields["contact_id"]), + 'company:name' => $orgdetails["name"], + 'company:addr:city' => $orgdetails["city"], + 'company:addr:pcode' => $orgdetails["code"], + 'company:addr:street' => $orgdetails["address"], + 'company:addr:country' => $orgdetails["country"], + 'company:addr:state' => $orgdetails["state"], + 'company:phone' => $orgdetails["phone"], + 'company:fax' => $orgdetails["fax"], + 'company:website' => $orgdetails["website"], + 'customer:name' => getAccountName($focus->column_fields[account_id]), + 'shipping:addr:city' => $focus->column_fields["ship_city"], + 'shipping:addr:pcode' => $focus->column_fields["ship_code"], + 'shipping:addr:street' => $focus->column_fields["ship_street"], + 'shipping:addr:country' => $ship_country = $focus->column_fields["ship_country"], + 'shipping:addr:state' => $focus->column_fields["ship_state"], + 'billing:addr:city' => $focus->column_fields["bill_city"], + 'billing:addr:pcode' => $focus->column_fields["bill_code"], + 'billing:addr:street' => $focus->column_fields["bill_street"], + 'billing:addr:country' => $focus->column_fields["bill_country"], + 'billing:addr:state' => $focus->column_fields["bill_state"] +)); -// Added to fix annoying bug that includes HTML in your PDF +$render->sendHTTPOutput(); exit(); -?> -------------- next part -------------- diff -ruN htdocs.orig/templates/tex/default/config.php htdocs/templates/tex/default/config.php --- htdocs.orig/templates/tex/default/config.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/config.php 2007-05-09 20:00:54.000000000 +0200 @@ -0,0 +1,7 @@ + 'de', + 'tex2pdf' => 'pdflatex' +); diff -ruN htdocs.orig/templates/tex/default/invoice/item.texi htdocs/templates/tex/default/invoice/item.texi --- htdocs.orig/templates/tex/default/invoice/item.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/item.texi 2007-05-10 14:25:30.000000000 +0200 @@ -0,0 +1,2 @@ +::Item:Name:: \ifempty{::Item:Comment::}{}{(::Item:Comment::)} & ::Item:Price:: \Euro & ::Item:Amount:: & ::Item:Total:: \Euro \\ +\hline diff -ruN htdocs.orig/templates/tex/default/invoice/main.texi htdocs/templates/tex/default/invoice/main.texi --- htdocs.orig/templates/tex/default/invoice/main.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/main.texi 2007-05-10 14:15:53.000000000 +0200 @@ -0,0 +1,53 @@ +\def\ResourcePrefix{::TemplateDir::/resource} +\input \ResourcePrefix/bill.tex + +\def\ifempty#1#2#3{\def\inner{#1}\ifx\inner\empty + #2\else #3\fi } + +\begin{document} + \letterInit + \begin{letter}{% + ::Customer:Addr:Street:: \ \\ + ::Customer:Addr:PCode::\ ::Customer:Addr:City:: \ \\ + \ \\[\medskipamount] + } + + \opening{\Large Ihre Rechnung:\normalsize~~~ ::Bill:Ident:: +%% ~~~~~~~~~~vom:~~::BillDate:: + } + + \setlength\LTleft{0pt} + \setlength\LTright{72pt} + \begin{longtable}{|p{300pt}|r|r|r|} + \hline + Leistung & Preis & Menge & Summe \\ + \hline + \endhead + \hline + \hline + \multicolumn{3}{|l|}{Rechnungsbetrag} & ::Bill:Total:: \Euro \\ + \hline + \multicolumn{3}{|l|}{Umsatzsteuer} & ::Bill:Taxes:: \Euro \\ + \hline + \hline + \multicolumn{3}{|l|}{Gesamt} & ::Bill:Topay:: \Euro \\ + \hline + \noalign{ + \vspace{12pt} + \small + Soweit nicht anders angegeben entspricht das Lieferdatum + dem Rechnungsdatum + } + \noalign{ + \vspace{12pt} + \normalsize + Bitte {\"u}berweisen Sie den f{\"a}lligen Betrag binnen + 10~Tagen auf eines unserer Konten. \newline + Die Ware bleibt bis zur vollst{\"a}ndigen Bezahlung Eigentum + von metux IT service. + } + \endlastfoot + ::Items:: + \end{longtable} + \end{letter} +\end{document} diff -ruN htdocs.orig/templates/tex/default/resource/bill.tex htdocs/templates/tex/default/resource/bill.tex --- htdocs.orig/templates/tex/default/resource/bill.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/bill.tex 2007-05-09 23:55:35.000000000 +0200 @@ -0,0 +1,22 @@ +\input{\ResourcePrefix/metux.tex} + +\documentclass[a4paper,bottom=0cm,fromalign=center,fromlogo=true]{scrlttr2} +\usepackage{epsfig} +\usepackage{longtable} + +\usepackage{ngerman} +\usepackage[latin1]{inputenc} +%usepackage{fancyhdr} +%pagestyle{fancy} + +% brief-init +\newcommand\letterInit{% + \captionsgerman + \dategerman + \firsthead{\metuxHeader} + \firstfoot{\metuxFooter} + \setkomavar{fromname}{metux IT service} + \setkomavar{fromaddress}{Heydaer Stra{\ss}e 23, 99338 Plaue} +} + +\newcommand\Euro{Euro} diff -ruN htdocs.orig/templates/tex/default/resource/header.eps htdocs/templates/tex/default/resource/header.eps --- htdocs.orig/templates/tex/default/resource/header.eps 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.eps 2002-09-17 01:45:21.000000000 +0200 @@ -0,0 +1,178 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: header.eps +%%Creator: fig2dev Version 3.2 Patchlevel 3d +%%CreationDate: Tue Jul 30 18:35:09 2002 +%%For: ems at nibiru.metux.de () +%%BoundingBox: 0 0 643 88 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 88 moveto 0 0 lineto 643 0 lineto 643 88 lineto closepath clip newpath +-4.5 96.9 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/reencdict 12 dict def /ReEncode { reencdict begin +/newcodesandnames exch def /newfontname exch def /basefontname exch def +/basefontdict basefontname findfont def /newfont basefontdict maxlength dict def +basefontdict { exch dup /FID ne { dup /Encoding eq +{ exch dup length array copy newfont 3 1 roll put } +{ exch newfont 3 1 roll put } ifelse } { pop pop } ifelse } forall +newfont /FontName newfontname put newcodesandnames aload pop +128 1 255 { newfont /Encoding get exch /.notdef put } for +newcodesandnames length 2 idiv { newfont /Encoding get 3 1 roll put } repeat +newfontname newfont definefont pop end } def +/isovec [ +8#055 /minus 8#200 /grave 8#201 /acute 8#202 /circumflex 8#203 /tilde +8#204 /macron 8#205 /breve 8#206 /dotaccent 8#207 /dieresis +8#210 /ring 8#211 /cedilla 8#212 /hungarumlaut 8#213 /ogonek 8#214 /caron +8#220 /dotlessi 8#230 /oe 8#231 /OE +8#240 /space 8#241 /exclamdown 8#242 /cent 8#243 /sterling +8#244 /currency 8#245 /yen 8#246 /brokenbar 8#247 /section 8#250 /dieresis +8#251 /copyright 8#252 /ordfeminine 8#253 /guillemotleft 8#254 /logicalnot +8#255 /hyphen 8#256 /registered 8#257 /macron 8#260 /degree 8#261 /plusminus +8#262 /twosuperior 8#263 /threesuperior 8#264 /acute 8#265 /mu 8#266 /paragraph +8#267 /periodcentered 8#270 /cedilla 8#271 /onesuperior 8#272 /ordmasculine +8#273 /guillemotright 8#274 /onequarter 8#275 /onehalf +8#276 /threequarters 8#277 /questiondown 8#300 /Agrave 8#301 /Aacute +8#302 /Acircumflex 8#303 /Atilde 8#304 /Adieresis 8#305 /Aring +8#306 /AE 8#307 /Ccedilla 8#310 /Egrave 8#311 /Eacute +8#312 /Ecircumflex 8#313 /Edieresis 8#314 /Igrave 8#315 /Iacute +8#316 /Icircumflex 8#317 /Idieresis 8#320 /Eth 8#321 /Ntilde 8#322 /Ograve +8#323 /Oacute 8#324 /Ocircumflex 8#325 /Otilde 8#326 /Odieresis 8#327 /multiply +8#330 /Oslash 8#331 /Ugrave 8#332 /Uacute 8#333 /Ucircumflex +8#334 /Udieresis 8#335 /Yacute 8#336 /Thorn 8#337 /germandbls 8#340 /agrave +8#341 /aacute 8#342 /acircumflex 8#343 /atilde 8#344 /adieresis 8#345 /aring +8#346 /ae 8#347 /ccedilla 8#350 /egrave 8#351 /eacute +8#352 /ecircumflex 8#353 /edieresis 8#354 /igrave 8#355 /iacute +8#356 /icircumflex 8#357 /idieresis 8#360 /eth 8#361 /ntilde 8#362 /ograve +8#363 /oacute 8#364 /ocircumflex 8#365 /otilde 8#366 /odieresis 8#367 /divide +8#370 /oslash 8#371 /ugrave 8#372 /uacute 8#373 /ucircumflex +8#374 /udieresis 8#375 /yacute 8#376 /thorn 8#377 /ydieresis] def +/Courier-Bold /Courier-Bold-iso isovec ReEncode +/Times-Bold /Times-Bold-iso isovec ReEncode +/Times-Roman /Times-Roman-iso isovec ReEncode +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +10 setmiterlimit + 0.06000 0.06000 sc +% +% Fig objects follow +% +/Times-Roman-iso ff 150.00 scf sf +6600 1200 m +gs 1 -1 sc (www.metux.de) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 825 m +gs 1 -1 sc (+49 36207 51833) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 675 m +gs 1 -1 sc (+49 174 7066481) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 1350 m +gs 1 -1 sc (contact @ metux.de) col8 sh gr +/Courier-Bold-iso ff 180.00 scf sf +1650 750 m +gs 1 -1 sc (Ihr innovativer IT-Dienstleister) col25 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 1200 m +gs 1 -1 sc ( Internet) col0 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 675 m +gs 1 -1 sc ( Telephon) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1350 m +gs 1 -1 sc (Advance Bank \(BLZ 702 300 00\), Kto-Nr: 200 72 64 206) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1575 m +gs 1 -1 sc (Enrico Weigelt, Steuer-Nr: 154/286/05931) col8 sh gr +/Times-Bold-iso ff 300.00 scf sf +75 750 m +gs 1 -1 sc (metux ITS) col9 sh gr +/Courier-Bold-iso ff 150.00 scf sf +150 1350 m +gs 1 -1 sc (Bankverbindung:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +750 1575 m +gs 1 -1 sc (Inhaber:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +225 1125 m +gs 1 -1 sc (Hausanschrift:) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1125 m +gs 1 -1 sc (Heydaer Strasse 23 99338 Plaue) col8 sh gr +/Times-Roman-iso ff 180.00 scf sf +10125 300 m +gs 1 -1 sc (tricktext) col0 sh gr +$F2psEnd +rs diff -ruN htdocs.orig/templates/tex/default/resource/header.fig htdocs/templates/tex/default/resource/header.fig --- htdocs.orig/templates/tex/default/resource/header.fig 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.fig 2002-09-17 01:44:26.000000000 +0200 @@ -0,0 +1,24 @@ +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-2 +1200 2 +4 0 0 893 -1 14 10 -0.0000 4 135 1350 150 1350 Bankverbindung:\001 +4 0 0 890 -1 14 10 -0.0000 4 105 1260 225 1125 Hausanschrift:\001 +4 0 9 918 -1 2 20 0.0000 4 150 1005 75 750 metux ITS\001 +4 0 25 969 -1 14 12 -0.0000 4 135 3360 1650 750 Ihr innovativer IT-Dienstleister\001 +4 0 0 942 -1 2 10 0.0000 4 135 750 5700 675 Telephon\001 +4 0 8 991 -1 0 10 0.0000 4 105 1050 6600 675 +49 174 7066481\001 +4 0 8 997 -1 0 10 0.0000 4 105 1050 6600 825 +49 36207 51833\001 +4 0 8 999 -1 0 10 0.0000 4 105 990 6600 1200 www.metux.de\001 +4 0 0 946 -1 2 10 0.0000 4 105 765 5700 1200 Internet\001 +4 0 8 888 -1 0 10 0.0000 4 135 1935 1650 1125 Heydaer Strasse 23 99338 Plaue\001 +4 0 8 987 -1 0 10 0.0000 4 135 1230 6600 1350 contact @ metux.de\001 +4 0 8 933 -1 0 10 0.0000 4 135 3435 1650 1350 Advance Bank (BLZ 702 300 00), Kto-Nr: 200 72 64 206\001 +4 0 0 50 0 0 12 0.0000 4 135 645 10125 300 tricktext\001 +4 0 0 893 -1 14 10 0.0000 4 105 720 750 1575 Inhaber:\001 +4 0 8 933 -1 0 10 0.0000 4 135 2415 1650 1575 Enrico Weigelt, Steuer-Nr: 154/286/05931\001 diff -ruN htdocs.orig/templates/tex/default/resource/metux.tex htdocs/templates/tex/default/resource/metux.tex --- htdocs.orig/templates/tex/default/resource/metux.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/metux.tex 2007-05-09 23:56:59.000000000 +0200 @@ -0,0 +1,76 @@ +% Variablen .... % +\def\metuxSignature{\epsfig{file=\ResourcePrefix/signature.png}} +\def\metuxName{metux IT service} +\def\metuxPhone{+49-36207-519931} +\def\metuxFax{+49-36207-519932} +\def\metuxEmail{weigelt at metux.de} +\def\metuxUrl{www.metux.de} +\def\metuxAddress{Heydaer Stra{\ss}e 23, 99338 Plaue} +\def\metuxBankAccount{0972596900} +\def\metuxBankCompany{Dresdner Bank AG} +\def\metuxBankCode{82080000} +\def\metuxBank{Kto: \metuxBankAccount, BLZ: \metuxBankCode, \metuxBankCompany} +\def\metuxStrnr{154/286/05931} +\def\metuxOwner{Enrico Weigelt} + +\def\nl{\ \\} +\def\metuxGeomLeft{2cm} +\def\metuxGeomRight{2cm} +\def\metuxGeomBottom{1cm} +\def\metuxGeomHead{1cm} +\def\metuxGeomTop{0.5cm} + +\newcommand\metuxFooter +{ + \hrule + ~\newline + \parbox[l]{180pt}{ + \small + \metuxName \\ + Inh. \metuxOwner \\ + \metuxAddress \\ + StNr: \metuxStrnr + } + \parbox[l]{180pt}{ + \small + Bankverbindung: \\ + Kto: \metuxBankAccount \\ + BLZ: \metuxBankCode \\ + \metuxBankCompany + } + \parbox[l]{180pt}{ + \small + Tel: \metuxPhone \\ + Fax: \metuxFax \\ + eMail: \metuxEmail \\ + WWW: \metuxUrl + } +} + +\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.png}} +%\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.eps}} +\newcommand\metuxInit{ + \renewcommand{\headrulewidth}{0.5pt} + \renewcommand{\footrulewidth}{0.5pt} + \cfoot{\metuxFooter} + \chead{\metuxHeader} +} + +% \newcommand\Euro{Euro} + +\def\metuxMFG{% + \noindent Mit freundlichem Gru\ss + + \epsfig{\metuxSignature} + + \noindent Enrico Weigelt \\ + metux IT service +} + +\def\metuxMFGpriv{% + \noindent Mit freundlichem Gru\ss + + \metuxSignature + + \noindent Enrico Weigelt +} From prasad at vtiger.com Wed Sep 26 06:04:08 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:04:08 -0700 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods In-Reply-To: <20070926122938.GC21523@nibiru.local> References: <20070926122938.GC21523@nibiru.local> Message-ID: <11541eacf30.1877912300598081527.-6328444782417676545@vtiger.com> this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed Thank you for the patch. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: 09_nekrad_peardb-newfuncs.diff Type: application/octet-stream Size: 1024 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/09_nekrad_peardb-newfuncs.obj From prasad at vtiger.com Wed Sep 26 06:08:22 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:08:22 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> Message-ID: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Hi David, thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. It would be good if you can talk to the project owner (developer) of http://forge.vtiger.com/projects/asterisk-integ/ You can share your ideas/requirements and if possible you can add the enhancements that project. If your project focus is completely different, you can create a new forge project and actively develop and contribute to community. Regards, Prasad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/350c4eb4/attachment.htm From prasad at vtiger.com Wed Sep 26 06:37:56 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:37:56 -0700 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods In-Reply-To: <20070926123644.GD21523@nibiru.local> References: <20070926123644.GD21523@nibiru.local> Message-ID: <1154209c25d.-5265518081636982803.-7355899420341582097@vtiger.com> Hi Enrico, I have a small concern to share with the fix you have mentioned: this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. PHP 5.2 requires __toString() method if an object should be contactenated with string, this was not the constraint with PHP 5.1 We use string contacts in debug statements, so adding __toString() to return a constant value from a object might not be a good way. Our patch for PHP 5.2 (vtiger 5.0.3) handles this problem by adding get_class($object) in the string concatenation, this way we don't change the class definition entirely. get_class($object) returns string which can be concatenated without problem. Some places we have replaced $user object with $user->user_name instead of get_class($user) because having user_name information is more useful. We have integrated such fix in our latest developement branch of vtiger 5.0.4. Hope this information was useful. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/d339f42a/attachment.htm From aresolimpico at gmail.com Wed Sep 26 07:24:21 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 11:24:21 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Message-ID: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> i think is a completely different. because that plug in is very good for a basic asterisk integration and a lot of users will want to kept it in that way. and if vam is another module any one can use both at the same time. so how i put vam on top of the page, in every page? (i change the name from vasterisk to vam vtiger asterisk manager) i don't know if i should create a new project until i have the info about how to put vam on top... with out that info all the project is useless. thanks!!!! David 2007/9/26, Prasad : > > Hi David, > > thanks for you response, i installed that plug in, it is very good, but i > need more complex management of asterisk. > > It would be good if you can talk to the project owner (developer) of > http://forge.vtiger.com/projects/asterisk-integ/ > > You can share your ideas/requirements and if possible you can add the > enhancements that project. > > If your project focus is completely different, you can create a new forge > project and > actively develop and contribute to community. > > Regards, > Prasad > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/988fc103/attachment.htm From aresolimpico at gmail.com Wed Sep 26 10:36:06 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 14:36:06 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> Message-ID: <4c307cb60709261036u5b73b08cj4d533deee89a2e92@mail.gmail.com> hi i think no one know where is the place (file) to put a module over the main tab... so i am going to tell you. the file is Header.tpl ../Smarty/templates/Header.tpl below the line 56 which says
how to put vam on top... with out that info all the project is useless. > > thanks!!!! > > David > > > 2007/9/26, Prasad : > > > > Hi David, > > > > thanks for you response, i installed that plug in, it is very good, but > > i need more complex management of asterisk. > > > > It would be good if you can talk to the project owner (developer) of > > http://forge.vtiger.com/projects/asterisk-integ/ > > > > You can share your ideas/requirements and if possible you can add the > > enhancements that project. > > > > If your project focus is completely different, you can create a new > > forge project and > > actively develop and contribute to community. > > > > Regards, > > Prasad > > > > > > _______________________________________________ > > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/0f79f3bb/attachment.htm From asha at vtiger.com Thu Sep 27 04:03:43 2007 From: asha at vtiger.com (Asha) Date: Thu, 27 Sep 2007 04:03:43 -0700 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build Message-ID: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070927/a47e0486/attachment-0001.htm From minnie at vtiger.com Thu Sep 27 23:15:20 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 28 Sep 2007 11:45:20 +0530 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build In-Reply-To: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> References: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Message-ID: <1154ac143e6.-1328666412968226924.9121420989952442347@vtiger.com> Download url for .bin package http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.bin Minnie. ----On Thu, 27 Sep 2007 Asha wrote ---- Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070927/1bd77f2e/attachment.htm From kamalakannan at adventnet.com Tue Sep 11 06:42:19 2007 From: kamalakannan at adventnet.com (kamalakannan) Date: Tue, 11 Sep 2007 16:12:19 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <46E6710B.3030208@adventnet.com> plz ignore this mail From smkkannan at gmail.com Tue Sep 11 05:00:29 2007 From: smkkannan at gmail.com (kamal kannan) Date: Tue, 11 Sep 2007 14:30:29 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <48268dc50709110200m1a55d500pfe0f67f77d1e89c6@mail.gmail.com> plz ignore this mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/569a37fe/attachment-0001.html From kamal_subes2000 at rediffmail.com Tue Sep 11 05:11:56 2007 From: kamal_subes2000 at rediffmail.com (kamal kannan) Date: 11 Sep 2007 09:11:56 -0000 Subject: [Vtigercrm-developers] hi Message-ID: <20070911091156.21313.qmail@webmail72.rediffmail.com> hi to all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/ce13055d/attachment.html From kmsnet at rediffmail.com Tue Sep 11 04:17:56 2007 From: kmsnet at rediffmail.com (Khaja Mohideen) Date: 11 Sep 2007 08:17:56 -0000 Subject: [Vtigercrm-developers] test Message-ID: <20070911081756.23375.qmail@f4mail204.rediffmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/2a47e59f/attachment.html From ckwu at ck-erp.net Mon Sep 10 22:27:33 2007 From: ckwu at ck-erp.net (C K Wu) Date: Tue, 11 Sep 2007 10:27:33 +0800 Subject: [Vtigercrm-developers] CK-ERP (Open Source ERP / CRM / MRP) v.0.24.1 released [with vTiger 5.0.3 connector] Message-ID: <46E5FD15.7070104@ck-erp.net> Hi, folks, I have posted a new release, v.0.24.1, of CK-ERP, at SourceForge.Net, http://sourceforge.net/projects/ck-erp . New features include, a connector for LegalCase and updated connectors for ClearHealth, OpenEMR and osCommerce, facilities to convert sales order to purchase order and/or material/service requisition so as to procure the required material/service after a sale is concluded, addition of a sample law office chart of accounts and a sample medical practice chart of accounts, addition of Australian GST tax rate and updating of Canadian GST tax rate, addition of narrow/wide display option for the various case handling screens, addition of customer, vendor, employee contact lists, and, addition of German translation for the Quotation module. Special thank is due to David Epperson of Dallas for permission to make use of the "Law Firm Chart of Accounts" (located at http://www/txethics.org/TCLEPCOURSE2005/omlp/sec11.1.pdf) while generating the sample law office chart of accounts. The effort by Stefan Kemper of Switzerland in producing the new German translations is also gratefully acknowledged. [Please note that the sample medical practice chart of accounts is designed for countries/regions where medical doctors are allowed to dispense prescription drugs within their medical practices. If the relevant medical practice is operating within a jurisdiction where doctors are prohibited from dispensing drugs, then it may be a prudent measure to delete all the drug sale, COGS ? drugs, inventory ? drugs and related accounts to avoid a presumption that in-practice drug sale had been planned.] CK-ERP is an open source accounting/MRP/ERP/CRM system that runs on top of multiple middlewares. It comprises 22 modules - Administration, i18n, Contact Management, Customer Relationship, Customer Self Service, Vendor Relationship, Ledger, Bank Reconciliation, MRP, Warehouse, Inventory, Service, AP, AR, PO, SO, Quotation, POS for Cashier, POS for Manager, HR, Staff Self Service and Payroll. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups. Please report error and suggestion to the discussion group / mailing list, CK-ERP-en(at)googlegroups.com or CK-ERP-zh_CN(at)googlegroups.com . General history and expected development is available at the discussion group's Archive. Supported MiddleWares: LegalCase, MirrorMed, ClearHealth, OpenEMR, eGroupWare, Horde-GroupWare; Zencart, CRELoaded, osCMax, osCommerce; Drupal, Joomla, Mambo, e107, XOOPS, Xaraya; Moodle, Atutor; vTiger, XRMS; WordPress, b2evolution; TikiWiki; phpBB. Information/Demo Websites: http://ck-erp.org http://ck-erp.net http://ck-erp.com Download is available from, http://sourceforge.net/projects/ck-erp http://gforge.oss.org.cn/projects/ck-erp http://gf.cs.hit.edu.cn/projects/ck-erp http://www.cnforge.org/modules/xfmod/project/?ck-erp http://gro.clinux.org/projects/ck-ledger Cheers, Wu Chiu Kay, aka CK Wu, aka CK (CK is the preferred alias) Hong Kong From joey.novak at gmail.com Wed Sep 12 09:06:05 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 09:06:05 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. Message-ID: Hey Guys, So, the company I am working for has decided to implement a CRM, and they have budgeted a significant amount of money to do so. We like all the features of vTiger. The only thing that would stop us, is the lack of MSSQL support. We may go with it ontop of MySQL, however a significant portion of our companies money machine is composed of MSSQL DTS Jobs. We have to decided and prepare a plan by the end of the week (this has been in the works for a while). And in an effort to make the decision easier, I have spent some time working through the issues I see that prevent vTiger from running on MSSQL. While I do not yet have a succesful installation, I have gotten the tables to all be created properly, and I have a walkthrough for what I have done sitting on my computer at work (I'll send that out once I am in the office). I don't want to waste my time working through the installation issues if there are going to be LOTS of other little issues, by a LOT I mean > 100. We can slowly work through 100 MSSQL problems, but we can't afford to work through 1000. Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/24f2bcb8/attachment.html From weigelt at metux.de Wed Sep 12 10:34:51 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 12 Sep 2007 16:34:51 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. In-Reply-To: References: Message-ID: <20070912143450.GA3489@nibiru.local> * Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Wed Sep 12 10:52:16 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 10:52:16 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... Message-ID: Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > Hi, > > > So, the company I am working for has decided to implement a CRM, > > and they have budgeted a significant amount of money to do so. > > We like all the features of vTiger. > > Cool. Maybe your company could provide some funds for completing > several outstanding things :) > (some of us are freelancers who mostly contribute during their > customer projects and can be hired ;-)) > > > The only thing that would stop us, is the lack of MSSQL support. > > We may go with it ontop of MySQL, however a significant portion of > > our companies money machine is composed of MSSQL DTS Jobs. > > Well, I clearly can understand you don't want MySQL, the SQL-enabled > cardfile ;-P. But WTH MSSQL ? > > We've got PostgreSQL support. Instead of burning so much money w/ > M$ license fees and the whole (Windows-generated) troubleshooting, > you can get an complete machine w/ pgsql on GNU/Linux or xBSD > and build evrything optimized for your hw. > > > We have to decided and prepare a plan by the end of the week (this > > has been in the works for a while). And in an effort to make the > > decision easier, I have spent some time working through the issues > > I see that prevent vTiger from running on MSSQL. > > One of the major points (IMHO) is that MSSQL's understanding of SQL > is even crappier than MySQL's. > > I *personally* wouldn't suggest porting to another homebrewn SQL dialect. > Better spend a day for becoming confident w/ PostgreSQL ;-P > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/29098b42/attachment.html From joey.novak at gmail.com Wed Sep 12 11:38:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 11:38:42 -0400 Subject: [Vtigercrm-developers] Bug Found... Message-ID: I didn't see anyway on the website to submit a bug, (maybe I am blind?) install/4createConfigFile.php Line 106 to 120, single ='s are used instead of '==' Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/67bfcd05/attachment.html From libregeek at gmail.com Wed Sep 12 23:57:45 2007 From: libregeek at gmail.com (Manilal K M) Date: Thu, 13 Sep 2007 09:27:45 +0530 Subject: [Vtigercrm-developers] Bug Found... In-Reply-To: References: Message-ID: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> On 12/09/2007, Joey Novak wrote: > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > install/4createConfigFile.php > > Line 106 to 120, single ='s are used instead of '==' > > Joey > Joey, You can find the bug tracker here: http://trac.vtiger.com/ regards -- Manilal K M. http://linuxeyes.blogspot.com http://flossvalley.blogspot.com Better to light one candle than to curse the darkness. From liza at vtiger.com Thu Sep 13 01:12:35 2007 From: liza at vtiger.com (liza) Date: Thu, 13 Sep 2007 10:42:35 +0530 Subject: [Vtigercrm-developers] Fwd:Re: Bug Found... In-Reply-To: <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> References: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> Message-ID: <46E8C6C3.3030805@vtiger.com> Hi, I have added this issue in our vtiger trac. For more info kindly refer the following link. http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4170 Here after If you find any issue, kindly file that in our bug tracker. http://trac.vtiger.com Thanks & Regards, Liza. > > On 12/09/2007, Joey Novak wrote: > > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > > > install/4createConfigFile.php > > > > Line 106 to 120, single ='s are used instead of '==' > > > > Joey > > > Joey, > You can find the bug tracker here: > http://trac.vtiger.com/ From joey.novak at gmail.com Thu Sep 13 11:22:32 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 13 Sep 2007 11:22:32 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - Will Code Be Maintained... Message-ID: Hey Guys, So, an important question... If We (as in myself, and others at the company I work for) do all the work to get vTiger to run on MSSQL, can we get our changes into the vTiger repository so that future releases will work with MSSQL? Or does this not have enough demand to be maintained in the future? Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070913/8ac44cac/attachment.html From minnie at vtiger.com Fri Sep 14 08:00:10 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 14 Sep 2007 17:30:10 +0530 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <11503e3ef58.8002445302510352760.1922159776437872223@vtiger.com> Dear Joey, In DatabaseSchema.xml, some of the tables has specified withautoincrement field. But in vtiger CRM, we are not using theautoincrement while inserting entries in the tables, instead we areusing the method called getUniqueID() which is provide by ADODB library that simplifies many database-related tasks in PHP. In future, we need to review the DatabaseSchema.xml file and remove the unwanted autoincrement fields and test whether it works fine with MySQL. Thanks & Regards, Minnie. ----On Wed, 12 Sep 2007 Joey Novak wrote ---- Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote:* Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/9bfd196d/attachment.html From client.services.ny at gmail.com Fri Sep 14 09:02:02 2007 From: client.services.ny at gmail.com (Client Services of New York, LLC) Date: Fri, 14 Sep 2007 09:02:02 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <68b1fa90709140602q59ce2b7bhba7d816008796811@mail.gmail.com> On 9/12/07, Joey Novak wrote: > > > No chance I can get them to go with Postgres, we have no one with > experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't > happen, we would be wasting those resources if we switched to Postgres. > If your DBA's are so limited in scope, that they could not read the relevant documentation for Postgresql, or any other database product and adapt to the new environment, I would suggest that your hiring criteria for DBAs are insufficient, and need to be updated. -- Mike Lieman Client Services of New York, L.L.C. client.services.ny at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/024debca/attachment.html From al at xanthus.net Sun Sep 16 12:58:18 2007 From: al at xanthus.net (Alan Leurck) Date: Sun, 16 Sep 2007 12:58:18 -0400 Subject: [Vtigercrm-developers] outlook plug in Message-ID: <46ED60AA.5090302@xanthus.net> I believe I have run across a security problem with the outlook plug in and would like to discuss this with the person(s) responsible for the plug in. If someone from the plug in team could please contact me to discuss the problem, I think we can resolve the issue with a number of updates on both the client and server side. Thank you. Al From joey.novak at gmail.com Thu Sep 20 08:46:14 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 08:46:14 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger Message-ID: Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/65553b14/attachment.html From svk at vtiger.com Thu Sep 20 14:03:00 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Thu, 20 Sep 2007 11:03:00 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: Message-ID: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Hi Joey, Today, we have separate distributions for MySQL, and Postgres. It will be nice not having to maintain these different code bases. We are considering adding multi-database support soon. If your changes help us in this process we will certainly look into it. For now, the best way to proceed is to create a new branch (5.0.3 for MSSQL) and contribute your changes to it. Then you can request help from the community in testing it with MySQL and other databases. Regards, Sreenivas vtiger Team. ----On Thu, 20 Sep 2007 Joey Novak wrote ---- Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/d91ce1c5/attachment.html From joey.novak at gmail.com Thu Sep 20 16:37:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 16:37:42 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: Hey Guys, So, I am 99% finished porting the non-MSSQL compliant SQL into Compatible SQL. I have a running version of vTiger on my desktop, and all the features we have tested work fine (including all the modules, custom reports, etc...) the only known issue that doesn't work is the calendar module writes dates incorrectly to the db, and I haven't spent anytime trying to fix it yet is all). If someone is interested, I have some very unorganized, but mostly complete, notes located here: http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL Again, I don't know what the best way to go about this is, but my Company is willing to invest resources into merging the braches of vTiger into one branch that works on postGres, MSSQL, and MySQL. They wish to make this investment now, so that in the future, we will be able to reap the benefits of continued vTiger improvements without having to patch it to make it work on MSSQL everytime a new release comes out. Specificaly, they have authorized me to spend one to two weeks of work time on the effort. I can do all this, I just want to make certain that my work will be of as much benefit as possible to the community, and my company by getting the work into the main vTiger branch in the svn repository when I am done. If I start with the 5.0.4 branch, and make all the changes to make it work on Postgres, MySQL, and MSSQL with one code base, and test it, how would I submit my work? Again, please keep in mind that although I have extensive programming experience, I have never contributed to an opensource project before, and don't know what is expected. Sreenivas's reply earlyer today, told me I should create a new branch, as I browsed the code, I could not find the seperate postgres branch he spoke of. Is it not clearly labeled? Is the 5.0.3 branch really the MySQL/Postgres branch, and 5.0.4 is MySQL only? If someone is willing to lend me some more guidance, then we should be able to put forth this effort and achieve the mutual goal of my company and the vTiger community without using very much more of everyones time. Thanks Guys, Joey On 9/20/07, Sreenivas Kanumuru wrote: > > Hi Joey, > > Today, we have separate distributions for MySQL, and Postgres. It will be > nice not having to maintain these different code bases. We are considering > adding multi-database support soon. If your changes help us in this process > we will certainly look into it. > > For now, the best way to proceed is to create a new branch (5.0.3 for > MSSQL) and contribute your changes to it. Then you can request help from the > community in testing it with MySQL and other databases. > > Regards, > > Sreenivas > vtiger Team. > > > > > ----On Thu, 20 Sep 2007 *Joey Novak * wrote ---- > > Hey Guys, > > I am still working hard on modifying the parts of vTiger that don't work > well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to > get my changes considered for the next release of vTiger? It is easy for me > to test them on MySQL, but I don't know about postgres. I have never worked > on a big OpenSource project, so I am not framiliar with the proper etiquete > for contributing changes, but I think these changes would be valuable to the > project. > > Joey > > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html_______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/33c806f2/attachment.html From weigelt at metux.de Fri Sep 21 08:06:43 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 14:06:43 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: <20070921120643.GA12321@nibiru.local> * Joey Novak schrieb: hi, > So, I am 99% finished porting the non-MSSQL compliant SQL into > Compatible SQL. Please try to move the RDBMS specific things into some separate source file, maybe some separate class. This gives an central point for RDBMS specific things and makes further porting much easier. (I did similar things on my branch, which are not yet ported back.) For example: Some base class "VT_DB_Driver" where several individual drivers (ie. for mysql, mssql, pgsql) are derived from. It should have those functions: * QueryRecords($query_string) -> give back an array of recods * SequenceNextVal($seq_name) * SQL_Encode_int($i) * SQL_Encode_date($d) * SQL_Encode_text($t) ... Ah, and please document your changes in the code and give tell us something about what you did on the list :) > Again, I don't know what the best way to go about this is, but my Company > is willing to invest resources into merging the braches of vTiger into one > branch that works on postGres, MSSQL, and MySQL. Is your company willing to hire some of us? ;-O > how would I submit my work? Post an patch to the list ;-P > told me I should create a new branch, as I browsed the code, I could not > find the seperate postgres branch he spoke of. Is it not clearly labeled? It's in the jens_5_1 branch. But last time I checked, it wasn't the whole of Jens's work, and he sent me his personal copy. Mine has also several changes, some maybe already committed, some maybe not. BTW: we already have dozens of branches, we really should get them together. Why not forking from the latest stable, and intensively try to get in all the changes laying around into it ? An clean DB abstraction seems to be an key point for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Fri Sep 21 08:25:07 2007 From: joey.novak at gmail.com (Joey Novak) Date: Fri, 21 Sep 2007 08:25:07 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921120643.GA12321@nibiru.local> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: Enrico, > Please try to move the RDBMS specific things into some separate >source file, maybe some separate class. This gives an central >point for RDBMS specific things and makes further porting much >easier. (I did similar things on my branch, which are not yet >ported back.) I understand what you are asking for (I think). But I don't see how what you want differs from the what is in the 5.0.3 code already. ADOdb does what you are speaking of (I think). Joey On 9/21/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > hi, > > > So, I am 99% finished porting the non-MSSQL compliant SQL into > > Compatible SQL. > > Please try to move the RDBMS specific things into some separate > source file, maybe some separate class. This gives an central > point for RDBMS specific things and makes further porting much > easier. (I did similar things on my branch, which are not yet > ported back.) > > For example: > > Some base class "VT_DB_Driver" where several individual drivers > (ie. for mysql, mssql, pgsql) are derived from. > > It should have those functions: > > * QueryRecords($query_string) -> give back an array of recods > * SequenceNextVal($seq_name) > * SQL_Encode_int($i) > * SQL_Encode_date($d) > * SQL_Encode_text($t) > ... > > > Ah, and please document your changes in the code and give tell us > something about what you did on the list :) > > > Again, I don't know what the best way to go about this is, but my > Company > > is willing to invest resources into merging the braches of vTiger into > one > > branch that works on postGres, MSSQL, and MySQL. > > Is your company willing to hire some of us? ;-O > > > how would I submit my work? > > Post an patch to the list ;-P > > > told me I should create a new branch, as I browsed the code, I could not > > find the seperate postgres branch he spoke of. Is it not clearly > labeled? > > It's in the jens_5_1 branch. But last time I checked, it wasn't > the whole of Jens's work, and he sent me his personal copy. > Mine has also several changes, some maybe already committed, > some maybe not. > > BTW: we already have dozens of branches, we really should get > them together. Why not forking from the latest stable, and > intensively try to get in all the changes laying around into it ? > An clean DB abstraction seems to be an key point for me. > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070921/3bf7202d/attachment.html From weigelt at metux.de Fri Sep 21 12:34:16 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 18:34:16 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: <20070921163416.GA15655@nibiru.local> * Joey Novak schrieb: > I understand what you are asking for (I think). But I > don't see how what you want differs from the what is in > the 5.0.3 code already. ADOdb does what you are speaking > of (I think). This adodb crap is exactly what I want to get rid of. Doesnt cope the whole dialects, too unstable and extremly resource wasting. An good example for bad design. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Sat Sep 22 19:57:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Sun, 23 Sep 2007 09:57:02 +1000 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921163416.GA15655@nibiru.local> Message-ID: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > This adodb crap is exactly what I want to get rid of. > Doesnt cope the whole dialects, too unstable and extremly > resource wasting. An good example for bad design. Do you have an alternative to suggest? Pear DB perhaps (urghhh). Or do you want to invent your own wheel and create a maintenance nightmare? As far as I can tell, all options have plusses and minuses. But a collective library must be the best way to go. Cheers Graham From weigelt at metux.de Sun Sep 23 08:31:05 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Sun, 23 Sep 2007 14:31:05 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Message-ID: <20070923123105.GA28296@nibiru.local> * Graham Miller schrieb: > Do you have an alternative to suggest? > > Pear DB perhaps (urghhh). Yes, PEAR DB is much cleaner and less complex. It still lacks several functions (ie. for query rendering), but this can be easily extendet. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Sun Sep 23 10:53:17 2007 From: joey.novak at gmail.com (Joey Novak) Date: Sun, 23 Sep 2007 10:53:17 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070923123105.GA28296@nibiru.local> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: I am not trying to argue... But, I really didn't find adodb all that complex. There are three or four functions that it uses, and that is it. With a few modifications to make it always use the associative array return values, instead of index based. And a way to do different queries depending upon the dbms (there are only a few that it would be easier if they could be different, most can be the same). Then I think adodb would do the job great. As for performance, I didn't see very much in the adodb code that would slow things down. Although I may have missed something. Joey On 9/23/07, Enrico Weigelt wrote: > > * Graham Miller schrieb: > > > > > Do you have an alternative to suggest? > > > > Pear DB perhaps (urghhh). > > Yes, PEAR DB is much cleaner and less complex. > It still lacks several functions (ie. for query rendering), > but this can be easily extendet. > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070923/12303117/attachment.html From joey.novak at gmail.com Mon Sep 24 08:57:13 2007 From: joey.novak at gmail.com (Joey Novak) Date: Mon, 24 Sep 2007 08:57:13 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: Hey Guys, This will probably be my final message here. We decided to go with SugarCRM. There just seems to be a lot more development work going on to extend SugarCRM. It was a very difficult decision, our manager, myself, and others have emotional attachments to vTiger, and really do like it better, but we didn't feel it was the best decision for the progress of the business that we support. Anyways, all that being said, we wanted to try to make sure our efforts aren't being wasted. So we wrapped up our version of vTiger that works on MSSQL, and are making it available here: http://www.affinity4.com/vtiger/ Later Guys, and happy coding! Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/d3f06286/attachment.html From joe at tsolucio.com Mon Sep 24 09:47:52 2007 From: joe at tsolucio.com (Joe Bordes) Date: Mon, 24 Sep 2007 15:47:52 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: References: Message-ID: <1190641672.22534.18.camel@joesunix.int> Hi, This email should be a call of attention. If your goal is to be "The most popular CRM" you need this development list to be VERY active and have the community adopting your application for the solution to their problems. The way I see it if you study for knowledge you (normally) get a side effect that is passing your exams, when you study to pass the exams is when you may have problems. I think your goal should be to have a flexible and powerfull solution to CRM/Business problems instead of just popularity. Then you will become popular by merits. After all one can acheive popularity easily (just look at TV), why you have that popularity and maintaining it is where the effort is. Joe TSolucio El lun, 24-09-2007 a las 08:57 -0400, Joey Novak escribi?: > Hey Guys, > > This will probably be my final message here. We decided to go with > SugarCRM. There just seems to be a lot more development work going on > to extend SugarCRM. It was a very difficult decision, our manager, > myself, and others have emotional attachments to vTiger, and really do > like it better, but we didn't feel it was the best decision for the > progress of the business that we support. > > Anyways, all that being said, we wanted to try to make sure our > efforts aren't being wasted. So we wrapped up our version of vTiger > that works on MSSQL, and are making it available here: > http://www.affinity4.com/vtiger/ > > Later Guys, and happy coding! > > Joey > > -- > --- > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com From graham901 at webenhanced.com.au Mon Sep 24 19:18:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Tue, 25 Sep 2007 09:18:02 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1190641672.22534.18.camel@joesunix.int> Message-ID: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. From aresolimpico at gmail.com Mon Sep 24 20:12:38 2007 From: aresolimpico at gmail.com (David fire) Date: Mon, 24 Sep 2007 21:12:38 -0300 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <4c307cb60709241712y6dfd3b19j581537e7ebdf8cfc@mail.gmail.com> hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/c6b68c07/attachment.html From svk at vtiger.com Mon Sep 24 20:27:17 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 17:27:17 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <1153a0f869e.-5019729562825485777.-8669095014683350750@vtiger.com> Joey, Thanks for the email, and for all your efforts. w.r.tyour decision to go with Sugar CRM, you mentioned the developmentactivity around the Sugar CRM as one of the key reasons. While vtigerhas a passionate developer community, we do recognize that we have tosimplify the development process to add modules, and more immediatelyhelp users find projects that are already there on the vtiger forge. w.r.tthe MS-SQL support, your contributions will certainly be quite usefulto MS-SQL users. I hope some members from the community will pick it upand maintain it until we get to 6.0 release. We are looking to addmulti-database support in 6.0, so that we don't have to maintaindifferent branches for different databases. I would certainly appreciate any additional feedback you have on your vtiger experience, and areas where we could improve. Joe, Graham, We are taking measures to be more proactive on this list. I know it is not a one way street. If we expect developers to contribute to vtiger, we have to help them. I am confident you will see improvements in this regard going forward. We fully realize the benefits of doing so. In the upcoming 5.0.4 release, about 40 patches contributed by the community are included, besides about 100 or so bug fixes. Tomorrow,we will be posting the details of the development build for theupcoming patch on the blog and the forums. We will be requesting help from the communityto test and provide feedback. Your comments are quite valuable to us. Regards, Sreenivas ----On Mon, 24 Sep 2007 Graham Miller wrote ---- Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/37a47550/attachment.html From svk at vtiger.com Mon Sep 24 21:52:57 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 18:52:57 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> David, Thanks for the input. Our goal, w.r.t the community, is three fold: 1. Deliver a CRM platform that addresses the core CRM functions well and is easily extensible to add new features/modules. 2. Provide the right tools (forge, Application portal for users, forums, documentation..) to encourage community participation and interaction. 3. Engage with the community On the product front, in 6.0 release, we hope to make big strides in making the product modular and extensible. More immediately though, we hope to make some improvements on the tools front. In the next 4-6 weeks, we are considering a website revision to address the following areas: Documentation:Make it easy for users to find documentation Community participation in creating documentation Community Events:Make it easy for members to organize and promote local community events (user group meetings) We are also considering moving from gForge to gForge Advanced Server for the vtiger forge. (more on this in a separate post) Regards, Sreenivas ----On Mon, 24 Sep 2007 David fire wrote ---- hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller :Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/dccf42e0/attachment.html From chazarra.clement at gmail.com Tue Sep 25 07:53:00 2007 From: chazarra.clement at gmail.com (clement chazarra) Date: Tue, 25 Sep 2007 12:53:00 +0100 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> References: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> Message-ID: Hi, My 2 cents point of view.. vTiger team should focus on the CRM platform and functions, while in the mean time, partners could take care of the website and community. It feels that you have far too many things to handle at the same time, and many people, companies are willing to help on it. So I understand that you want to keep your full hands on vTiger CRM, but giving more responsabilitise to partners would free some team members for other tasks. You need to give more responsabilities to people around! And not just saying so, or taking in account comments. What do people want to see? A better designed website, with community portal and forge more efficient. How would I do it? Post a request for partnership with companies who could restructure the whole website and community portal. >From this point, you could focus just on communications with those partners, and on the development of the next version. But still, it's only my own point of view... BTW, Joe, what are the actual outputs from the meeting in Italy? Are things going forward? Regards, Clem On 9/25/07, Sreenivas Kanumuru wrote: > > David, > > Thanks for the input. > > Our goal, w.r.t the community, is three fold: > 1. Deliver a CRM platform that addresses the core CRM functions well and > is easily extensible to add new features/modules. > 2. Provide the right tools (forge, Application portal for users, forums, > documentation..) to encourage community participation and interaction. > 3. Engage with the community > > On the product front, in 6.0 release, we hope to make big strides in > making the product modular and extensible. > > More immediately though, we hope to make some improvements on the tools > front. In the next 4-6 weeks, we are considering a website revision to > address the following areas: > > Documentation: > > - Make it easy for users to find documentation > - Community participation in creating documentation > > Community Events: > > - Make it easy for members to organize and promote local community > events (user group meetings) > > We are also considering moving from gForge to gForge Advanced Server for > the vtiger forge. (more on this in a separate post) > > Regards, > Sreenivas > > > > > ----On Mon, 24 Sep 2007 *David fire * wrote ---- > > hi > we are a lot working on vtiger... maybe the biggest problem is the > dificulty to add any new function.... > and the lack of responce from main developers... > maybe we should ask them what thay want to do... > > i think vtiger has a very good potential if we change the actitude. > we can make some work groups: > > -documentation > -features review > -developers (add members) > -documentation!!!! > > if the project go larger will be a lot of job, many enterprise will ask > for paid support and others will ask special developments... > > thanks > David > > > > > > 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/5980557f/attachment.html From weigelt at metux.de Tue Sep 25 15:14:41 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:14:41 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: <20070925191440.GA6754@nibiru.local> * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:27:15 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:27:15 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <20070925192715.GB6754@nibiru.local> * Graham Miller schrieb: Hi, > There are many commercial entities now considering investing > in open source development but they need to know the project > is going to be there for the long haul. Well, as long as one person maintains the project, it keeps alive ;-P > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as the base platform for user logins, profiles, > contact history etc etc. The client is willing to invest in open source > software and we will probably want some extra programming resources to > hire along the way that already know the CRM app really well. Sounds good :) IMHO, it's important to get patches back to this list asap, so the community can take care of them. That's the difference between cooperative work and taking someone's works for your own benefits. > We evaluated the market of open source offerings and found sugar/vtiger > to be the best. Noting the sugarCRM license requirements and our need > to totally re-brand the application, we decided that the apparently real > open source alternative (namely vtiger) was the right platform and have > been watching the list for signs of an active community. For me, the sugar licensing was one of the major reason for dropping it. vtiger has still a lot issues, but still seemed the best option for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:29:50 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:29:50 +0200 Subject: [Vtigercrm-developers] Status on postgresql port Message-ID: <20070925192950.GC6754@nibiru.local> Hi folks, what's the status of the postgresql port and the mainline tree ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 17:06:25 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 23:06:25 +0200 Subject: [Vtigercrm-developers] [PATCH] Invoice: fix PDF link In-Reply-To: <20070625174933.GI7548@nibiru.local> References: <20070625174933.GI7548@nibiru.local> Message-ID: <20070925210624.GB3224@nibiru.local> * Enrico Weigelt schrieb: > > Hi folks, > > this patch fixes the really strange javascript link for pdf > invoice to an plain url. Any new on that issue ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 18:47:54 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 00:47:54 +0200 Subject: [Vtigercrm-developers] 5.1 vs. 5.1_jens Message-ID: <20070925224752.GA21523@nibiru.local> Hi folks, what the current status of porting 5.1_jens to 5.1 branch ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Tue Sep 25 19:21:11 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Wed, 26 Sep 2007 09:21:11 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <20070925192715.GB6754@nibiru.local> Message-ID: <001501c7ffca$c4c21980$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > Well, as long as one person maintains the project, it keeps alive ;-P That is true. But if a company is going to invest (say) $50,000 to improve a piece of software so it is useable for their purpose, give back the improvements to the community, and continue to assist and have a hand in its development over time, then the company would like to see an active community from various industries and countries so that new technology is incorporated in a timely fashion and well tested by a large community (of which the company becomes an active member). So for a large financial and time investment, we would want to be an active part of a reasonably large community so we feel that we are helping plenty of others in return for the initial code base and future updates, as well as benefiting ourselves from plenty of other people's experience. > IMHO, it's important to get patches back to this list asap, > so the community can take care of them. That's the difference > between cooperative work and taking someone's works for your > own benefits. Of course. But that should be done via some kind of tracker that allows file attachments.... not a mailing list. And a lead developer should be responsible for merging that code into the current branch. We also contribute to the Moodle (learning management system) community and they have a huge number of contributors and their systems are quite good. The feature request tracker has the ability to have a conversation and upload code files for consideration. It allows linking to a wiki where the "howto" documents are kept and naturally the wiki allows linking back to the tracker for more detailed info (for developers). Other users can then gain access to patches for (say) older releases that were used as a proof of concept during the development phase. The forums are where issues are discussed until action is required. Then it goes to the tracker and wiki. We run our own (old version) gForge site for developer interaction and this works moderately well. I am sure that a newer version would be more useful to a developer community. And we will be investigating the upgrade for our own (closed user group) use shortly anyway. But for an open source community project, it needs to be such that a person can register themselves and participate in the trackers and forums etc. And under lead developer control, access the wiki and perhaps even the source tree (once proven to be of suitable quality and skill level). > For me, the sugar licensing was one of the major reason for > dropping it. vtiger has still a lot issues, but still seemed > the best option for me. And we came to the same conclusion, but the lack of a cohesive community is what makes us stall our decision. Single maintainer projects of this size rarely keep up to date with even security issues, let alone technology upgrades and, of course, industry requirements. If we are going to invest heavily in a technology, then we want to be using the "best of breed". So this is why we hesitate. Cheers Graham From aresolimpico at gmail.com Tue Sep 25 22:47:35 2007 From: aresolimpico at gmail.com (David fire) Date: Tue, 25 Sep 2007 23:47:35 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger Message-ID: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: vtiger+asterisk.jpg Type: image/jpeg Size: 180825 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment.jpg From prasad at vtiger.com Wed Sep 26 07:26:42 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 04:26:42 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> Message-ID: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Hi David, Before starting any development on vtiger-asterisk please look at the available forge project: http://forge.vtiger.com/projects/asterisk-integ/ Regards, Prasad vtiger Team ----On Wed, 26 Sep 2007 David fire wrote ---- hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/3e85e60d/attachment.html From prasad at vtiger.com Wed Sep 26 08:02:37 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 05:02:37 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070925191440.GA6754@nibiru.local> References: <20070925191440.GA6754@nibiru.local> Message-ID: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Thank you for highlighting your points with database access implementation currently used in vtiger. We made a choice of adodb to have multi database support for our product. The version that is used I believe any wrapper on database has both positive and negatives, whether it is adodb or pear db. Going forward we have plans to pick up the best ideas from these wrappers and come up with some db access framework which could let us maintain vtiger working with different flavours of database. We would be happy to get suggestions from our developer community on this. Please do keep us updated on the both positive and negatives on various database wrappers you have worked with and what best we can pick up from them. Regards, Prasad ----On Wed, 26 Sep 2007 Enrico Weigelt wrote ---- * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/24f57d0f/attachment.html From aresolimpico at gmail.com Wed Sep 26 08:18:52 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 09:18:52 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Message-ID: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> hi thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. thanks David 2007/9/26, Prasad : > > > Hi David, > > Before starting any development on vtiger-asterisk please look at the > available forge project: > > http://forge.vtiger.com/projects/asterisk-integ/ > > Regards, > Prasad > vtiger Team > > > ----On Wed, 26 Sep 2007 *David fire * wrote ---- > > hi > i need to integrate asterisk and vtiger... > i want a "full manager", transfer calls, dial, redirect, etc... in the > same window. > > i will make the module and the asterisk communication but i want to put it > over vtiger (see the picture) attached or at > http://www.buenafuentenews.info/images/vtiger.jpg > i really haven't a clue how to put that there in every page.... > i will add a field "extension" to the users profile and vasterisk > (vtiger asterik) will use the value. > > i will do this month so if any one want to help me or give me a clue... > > > Thanks > > PD: sorry for my poor English. > > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/9eaacd66/attachment.html From weigelt at metux.de Wed Sep 26 08:26:42 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:26:42 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> References: <20070925191440.GA6754@nibiru.local> <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Message-ID: <20070926122642.GB21523@nibiru.local> * Prasad schrieb: Hi, > Going forward we have plans to pick up the best ideas from these wrappers > and come up with some db access framework which could let us maintain > vtiger working with different flavours of database. I added some method run_query_field() to PearDatabase, which should be used at any point where just one single value is queried. Another method is sql_concat() which handles the dmbs specific concat operators. I'll (re)post my patch separately. For future use the PearDatabase class ($adb variable) should be used exlusively, and always the methods with the highest abstraction. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Wed Sep 26 08:29:38 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:29:38 +0200 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods Message-ID: <20070926122938.GC21523@nibiru.local> Hi folks, this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed It fits against 5.1 and 5.1_jens. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/include/database/PearDatabase.php htdocs/include/database/PearDatabase.php --- htdocs.orig/include/database/PearDatabase.php 2007-05-11 02:17:06.000000000 +0200 +++ htdocs/include/database/PearDatabase.php 2007-05-11 02:55:29.000000000 +0200 @@ -434,6 +434,31 @@ return $this->change_key_case($result->FetchRow()); } + function sql_concat($list) + { + switch ($this->dbType) + { + case 'mysql': + return 'concat('.implode(',',$list).')'; + case 'pgsql': + return '('.implode('||',$list).')'; + default: + throw new Exception("unsupported dbtype \"".$this->dbType."\""); + } + } + + function run_query_field($sql) + { + $this->checkConnection(); + $result = $this->database->Execute($sql); + + if (!is_object($result)) + throw new Exception("query failed: $sql"); + + $row = $result->FetchRow(); + return array_shift($row); + } + /* ADODB newly added. replacement for mysql_result() */ function query_result(&$result, $row, $col=0) { From weigelt at metux.de Wed Sep 26 08:36:44 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:36:44 +0200 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods Message-ID: <20070926123644.GD21523@nibiru.local> Hi folks, this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. IMHO this should go to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN cleaned/data/CRMEntity.php working/data/CRMEntity.php --- cleaned/data/CRMEntity.php 2007-05-03 17:50:00.000000000 +0200 +++ working/data/CRMEntity.php 2007-05-03 23:38:06.000000000 +0200 @@ -25,10 +25,16 @@ require_once('data/Tracker.php'); require_once('include/utils/utils.php'); require_once('include/utils/UserInfoUtil.php'); - -class CRMEntity -{ - /** + +class CRMEntity +{ + /* generic toString() method added by nekrad */ + function __toString() + { + return serialize($this); + } + + /** * This method implements a generic insert and update logic for any SugarBean * This method only works for subclasses that implement the same variable names. * This method uses the presence of an id vtiger_field that is not null to signify and update. diff -ruN cleaned/modules/Users/Users.php working/modules/Users/Users.php --- cleaned/modules/Users/Users.php 2007-05-04 02:32:05.000000000 +0200 +++ working/modules/Users/Users.php 2007-05-04 02:59:03.000000000 +0200 @@ -163,6 +163,11 @@ $this->log->debug("Exiting Users() method ..."); } + function __toString() + { + return "[[USERS]]"; + } + // Mike Crowe Mod --------------------------------------------------------Default ordering for us /** * Function to get sort order From weigelt at metux.de Wed Sep 26 08:50:45 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:50:45 +0200 Subject: [Vtigercrm-developers] [PATCH] TeX rendering API and invoice pdf Message-ID: <20070926125045.GE21523@nibiru.local> Hi folks, these patches add an universal rendering API for things like invoices and an TeX renderer backend. The old invoice pdf code is changed to run via the rendering API. Now it's very easy to add new renderers. I also included my own templates as example. The API patch (renderapi-1) does not change anything but just adding some new files in the lib/render/ subdir and could be applied to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/lib/render/README htdocs/lib/render/README --- htdocs.orig/lib/render/README 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/README 2007-05-09 13:53:10.000000000 +0200 @@ -0,0 +1 @@ +This subdirectory contains the TeX rendering stuff. diff -ruN htdocs.orig/lib/render/RenderFactory.php htdocs/lib/render/RenderFactory.php --- htdocs.orig/lib/render/RenderFactory.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/RenderFactory.php 2007-05-09 17:05:57.000000000 +0200 @@ -0,0 +1,64 @@ +engine = $e; + } + + function __toString() + { + return "Unknown Engine: \"".$this->engine."\""; + } +} + +class E_Render_FormatNotSupportedByEngine extends Exception +{ + var $engine; + var $format; + + function E_Render_FormatNotSupportedByEngine($format,$engine) + { + $this->format = $format; + $this->engine = $engine; + } + + function __toString() + { + return "Format \"".$this->format. + "\" not supported by engine \"". + $this->engine. + "\""; + } +} + +class RenderFactory +{ + /* public static */ function getRenderer_Invoice($param) + { + if (!($f = $param{'format'})) + throw new Exception("missing output format"); + if (!($e = $param{'engine'})) + throw new Exception("missing engine"); + + switch ($e) + { + case 'pdflatex': + { + if ($f != 'application/pdf') + throw new E_Render_FormatNotSupportedByEngine($f,$e); + + require_once(RENDER_LIB_PREFIX.'TexRender_Invoice.php'); + return new TexRender_Invoice($param); + } + default: + throw new E_Render_UnknownEngine($e); + } + } +} diff -ruN htdocs.orig/lib/render/TexEncode.php htdocs/lib/render/TexEncode.php --- htdocs.orig/lib/render/TexEncode.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/TexEncode.php 2007-05-10 02:51:50.000000000 +0200 @@ -0,0 +1,101 @@ + + +*/ + +// NOTE: the webserver needs *write* acccess to this directory +// we normally take the session storage dir +define('TEXRENDER_TMP_MASK', '{SESSION.SAVE_PATH}/texrender-{SESSION.ID}-{NAME}'); +define('TEXRENDER_TEMPLATE_DIR', 'templates/tex/{TEMPLATE-NAME}/'); + +require_once(RENDER_LIB_PREFIX.'TexEncode.php'); + +class TexRender_Invoice +{ + /* private */ var $tmpmask; + /* private */ var $data; + /* private */ var $product_items; + /* private */ var $fn_tex; + /* private */ var $fn_pdf; + /* private */ var $fn_template; + /* private */ var $key; + + /* private */ function _tmpname($name) + { + return str_replace('{SESSION.NAME}', session_name(), + str_replace('{SESSION.ID}', session_id(), + str_replace('{SESSION.SAVE_PATH}', realpath(ini_get('session.save_path')), + str_replace('{NAME}', $name, + $this->tmpmask + )))); + } + + /* private */ function _test_write_access() + { + $fn = $this->_tmpname('write-test'); + if (!($fp=fopen($fn,"w"))) + throw new Exception("write-test: could not open file for writing: $fn"); + fputs($fp,"TEST123"); + fclose($fp); + + $res = trim(implode('',file($fn))); + if ($res != "TEST123") + throw new Exception("write-test: reading test data failed for file: $fn"); + + unlink($fn); + + return true; + } + + function TexRender_Invoice($param) + { + // test write access and otherwise failed + $this->tmpmask = TEXRENDER_TMP_MASK; + + // should be already cought by the factory, but just to be sure + if ($param{'format'} != 'application/pdf') + throw new Exception("fomat not supported by this renderer: ".$param{'format'}); + + if (!$param{'template'}) + throw new Exception("missing template name"); + + $this->template_name = $param{'template'}; + $this->data = array(); + $this->_test_write_access(); + $this->key = md5(serialize(gettimeofday)); + $this->fn_tex = $this->_tmpname($this->key.'.tex'); + $this->fn_pdf = $this->_tmpname($this->key.'.pdf'); + $this->template_dir= realpath(str_replace('{TEMPLATE-NAME}', $this->template_name,TEXRENDER_TEMPLATE_DIR)); + $this->fn_template_main = $this->template_dir.'/invoice/main.texi'; + $this->fn_template_item = $this->template_dir.'/invoice/item.texi'; + + $inc = $this->template_dir.'/config.php'; + if (!include($inc)) + throw new Exception("could not load config: $inc"); + + if (!is_array($this->config = $tex_template_config)) + throw new Exception("missing template config"); + + if (!$this->config{'lang'}) + throw new Exception("language not set in template config"); + } + + function addData($par) + { + foreach($par as $walk => $cur) + $this->data{$walk} = $cur; + } + + function checkProductItem($item) + { + if (!$item{'name'}) + throw new Exception("missing item name"); + if (!$item{'amount'}) + throw new Exception("missing amount"); + if (!is_numeric($item{'amount'})) + throw new Exception("amount must be numeric"); + if (!$item{'price'}) + throw new Exception("missing price"); + if (!is_numeric($item{'price'})) + throw new Exception("price must be numeric"); + if (($item{'discount'})&&($item{'discount'} != 0)) + throw new Exception("discount not supported yet by this renderer"); + if (!is_numeric($item{'tax_percent'})) + throw new Exception("tax_percent must be numeric"); + } + + function checkData() + { + if ((!is_array($this->_product_items)) || + (!count($this->_product_items))) + throw new Exception("no product items"); + + if (!$this->data{'ident'}) + throw new Exception("missing ident"); + } + + /* public */ function addProductItem($item) + { + // check for correct items + $this->checkProductItem($item); + + // calculate some stuff if necessary + if (!$item{'total'}) + $item{'total'} = $item{'price'} * $item{'amount'}; + if (!$item{'taxes'}) + $item{'taxes'} = $item{'total'} * $item{'tax_percent'}; + if (!$item{'topay'}) + $item{'topay'} = $item{'total'} + $item{'taxes'}; + + $this->_product_items[] = $item; + } + + /* public String */ function getOutputContentType() + { + return 'application/pdf'; + } + + /* private String */ function _generate_tex() + { + if (!($tmpl_main = implode('',file($this->fn_template_main)))) + throw new Exception("could not load main template: ".$this->fn_template_main); + if (!($tmpl_item = implode('',file($this->fn_template_item)))) + throw new Exception("could not load item template: ".$this->fn_template_item); + + // generate the item list + foreach ($this->_product_items as $walk => $cur) + { + $items .= + str_replace('::Item:Name::', $cur{'name'}, + str_replace('::Item:Price::', TexEncode::money($cur{'price'}), + str_replace('::Item:Amount::', $cur{'amount'}, + str_replace('::Item:Taxrate::', $cur{'tax_percent'}, + str_replace('::Item:Description::', $cur{'description'}, + str_replace('::Item:Comment::', trim($cur{'comment'}), + str_replace('::Item:Discount::', TexEncode::money($cur{'discount'}), + str_replace('::Item:Total::', TexEncode::money($cur{'total'}), + str_replace('::Item:Taxes::', TexEncode::money($cur{'taxes'}), + str_replace('::Item:Topay::', TexEncode::money($cur{'topay'}), + $tmpl_item)))))))))); + + $all_total += $cur{'total'}; + $all_taxes += $cur{'taxes'}; + $all_topay += $cur{'topay'}; + } + + $content = + str_replace('::TemplateDir::', $this->template_dir, + str_replace('::Items::', $items, + str_replace('::Bill:Ident::', $this->data{'ident'}, + str_replace('::Bill:Total::', TexEncode::money($all_total), + str_replace('::Bill:Taxes::', TexEncode::money($all_taxes), + str_replace('::Bill:Topay::', TexEncode::money($all_topay), + str_replace('::Company:Addr:Street::', $this->data{'company:addr:street'}, + str_replace('::Company:Addr:PCode::', $this->data{'company:addr:pcode'}, + str_replace('::Company:Addr:City::', $this->data{'company:addr:city'}, + str_replace('::Company:Addr:Country::', $this->data{'company:addr:country'}, + str_replace('::Company:Addr:State::', $this->data{'company:addr:state'}, + str_replace('::Company:Phone::', $this->data{'company:phone'}, + str_replace('::Company:Fax::', $this->data{'company:fax'}, + str_replace('::Company:Website::', $this->data{'company:website'}, + str_replace('::Customer:Name::', $this->data{'customer:name'}, + str_replace('::Customer:Addr:Street::', TexEncode::text($this->data{'billing:addr:street'}), + str_replace('::Customer:Addr:PCode::', TexEncode::text($this->data{'billing:addr:pcode'}), + str_replace('::Customer:Addr:City::', TexEncode::text($this->data{'billing:addr:city'}), + str_replace('::Customer:Addr:State::', TexEncode::text($this->data{'billing:addr:state'}), + str_replace('::Customer:Addr:Country::', TexEncode::text($this->data{'billing:addr:country'}), + $tmpl_main)))))))))))))))))))); + + return $content; + } + + /* public */ function generate() + { + $this->checkData(); + $tex = $this->_generate_tex(); + @unlink($this->fn_tex); + if (!($fp_tex = fopen($this->fn_tex,"w"))) + throw new Exception("could not open tex source file: ".$this->fn_tex); + + fputs($fp_tex,$tex); + fclose($fp_tex); + + $cmd = 'cd '.dirname($this->fn_tex).' && pdflatex '.$this->fn_tex; + `$cmd` ; `$cmd` ; // call it twice for table calculations + } + + // send appropriate http headers and output file + /* public */ function sendHTTPOutput() + { + $this->generate(); + Header("Content-Type: ".$this->getOutputContentType()); + readfile($this->fn_pdf); + } +} -------------- next part -------------- diff -ruN htdocs.orig/modules/Invoice/CreatePDF.php htdocs/modules/Invoice/CreatePDF.php --- htdocs.orig/modules/Invoice/CreatePDF.php 2007-05-09 00:56:25.000000000 +0200 +++ htdocs/modules/Invoice/CreatePDF.php 2007-05-10 15:30:08.000000000 +0200 @@ -9,67 +9,36 @@ * ********************************************************************************/ - -require_once('include/fpdf/pdf.php'); -require_once('include/fpdf/pdfconfig.php'); require_once('modules/Invoice/Invoice.php'); require_once('modules/Organization/Organization.php'); require_once('include/database/PearDatabase.php'); require_once('include/utils/EditViewUtils.php'); +require_once('lib/render/RenderFactory.php'); -global $adb,$app_strings,$focus; -global $log; - -// for template checking ... -$tmpl_dirs = array( "firstpage", "pages", "lastpage"); -$tmpl_files = array( "header.php", "body.php", "footer.php"); +global $adb,$app_strings,$focus,$log; $sql="select currency_symbol from vtiger_currency_info"; $result = $adb->query($sql); $currency_symbol = $adb->query_result($result,0,'currency_symbol'); -// would you like and end page? 1 for yes 0 for no -$endpage="1"; - $id = $_REQUEST['record']; //retreiving the vtiger_invoice info $focus = new Invoice(); $focus->retrieve_entity_info($_REQUEST['record'],"Invoice"); -$account_name = getAccountName($focus->column_fields[account_id]); -$invoice_no = $focus->column_fields[invoice_no]; // **************** BEGIN POPULATE DATA ******************** - -// populate data if($focus->column_fields["salesorder_id"] != '') $so_name = getSoName($focus->column_fields["salesorder_id"]); else $so_name = ''; $po_name = $focus->column_fields["purchaseorder"]; -$valid_till = $focus->column_fields["duedate"]; -$valid_till = getDisplayDate($valid_till); -$bill_street = $focus->column_fields["bill_street"]; -$bill_city = $focus->column_fields["bill_city"]; -$bill_state = $focus->column_fields["bill_state"]; -$bill_code = $focus->column_fields["bill_code"]; -$bill_country = $focus->column_fields["bill_country"]; - -$contact_name =getContactName($focus->column_fields["contact_id"]); -$ship_street = $focus->column_fields["ship_street"]; -$ship_city = $focus->column_fields["ship_city"]; -$ship_state = $focus->column_fields["ship_state"]; -$ship_code = $focus->column_fields["ship_code"]; -$ship_country = $focus->column_fields["ship_country"]; - -$conditions = from_html($focus->column_fields["terms_conditions"]); -$description = from_html($focus->column_fields["description"]); -$status = $focus->column_fields["invoicestatus"]; - // Company information -$crmid = $focus->column_fields["record_id"]; +if (!($crmid = $focus->column_fields["record_id"])) + throw new Exception("crmid is null/empty"); + $org_query = "select organizationname from vtiger_entity2org where crmid='".$crmid."'"; $result = $adb->query($org_query); $org_rows = $adb->num_rows($result); @@ -82,7 +51,7 @@ $org_name = $adb->query_result($result,0,"organizationname"); } else { $log->info( $module. " '".$crmid."' not assigned to any organization"); - exit(); + throw new Exception("crmid $crmid not assigned to any organisation (org_name=$org_name)"); } // get organization/orgunit details @@ -92,68 +61,11 @@ $log->debug( "Here we are: getOrgUnits( $organization, $orgunitid);"); $orgunittab = getOrgUnits( $organization, $orgunitid); -if( is_array( $orgunittab[$orgunitid])) { - $orgdetails = $orgunittab[$orgunitid]; - $org_name = $orgdetails["name"]; - $org_address = $orgdetails["address"]; - $org_city = $orgdetails["city"]; - $org_state = $orgdetails["state"]; - $org_country = $orgdetails["country"]; - $org_code = $orgdetails["code"]; - $org_phone = $orgdetails["phone"]; - $org_fax = $orgdetails["fax"]; - $org_website = $orgdetails["website"]; - $logo_name = $orgdetails["logoname"]; - $template = $orgdetails["invoice_template"]; -} else { - $log->info( $module. " '".$crmid."' organization/orgunitid mismatch"); - exit(); -} - -// Check the template -if( $template == "") - $template = "Default"; - -if( $template != "Default") { - foreach( $tmpl_dirs as $dir) { - foreach( $tmpl_files as $file) { - if( !file_exists( "modules/".$module."/pdf_templates/".$template."/".$dir."/".$file)) { - $log->info( $module. " '".$crmid."' organization/orgunitid template '".$template."' is incomplete"); - $log->info("Missing file: modules/".$module."/pdf_templates/".$template."/".$dir."/".$file); - $log->info("Fallback to the Default template"); - $template = "Default"; - break 2; - } - } - } -} -//NOTE : Removed currency symbols and added with Grand Total text. it is enough to show the currency symbol in one place - -//we can also get the NetTotal, Final Discount Amount/Percent, Adjustment and GrandTotal from the array $associated_products[1]['final_details'] - -//getting the Net Total -$price_subtotal = number_format($focus->column_fields["hdnSubTotal"],2,'.',','); - -//Final discount amount/percentage -$discount_amount = $focus->column_fields["hdnDiscountAmount"]; -$discount_percent = $focus->column_fields["hdnDiscountPercent"]; - -if($discount_amount != "") - $price_discount = number_format($discount_amount,2,'.',','); -else if($discount_percent != "") -{ - //This will be displayed near Discount label - used in include/fpdf/templates/body.php - $final_price_discount_percent = "(".number_format($discount_percent,2,'.',',')." %)"; - $price_discount = number_format((($discount_percent*$focus->column_fields["hdnSubTotal"])/100),2,'.',','); -} -else - $price_discount = "0.00"; - -//Adjustment -$price_adjustment = number_format($focus->column_fields["txtAdjustment"],2,'.',','); -//Grand Total -$price_total = number_format($focus->column_fields["hdnGrandTotal"],2,'.',','); +if(!is_array( $orgunittab[$orgunitid])) + throw new Exception("org/orgunitid mismatch"); +$orgdetails = $orgunittab[$orgunitid]; +$template = $orgdetails["invoice_template"]; //get the Associated Products for this Invoice $focus->id = $focus->column_fields["record_id"]; @@ -166,6 +78,8 @@ //To calculate the group tax amount if($final_details['taxtype'] == 'group') { + throw new Exception("group tax not supported"); + $group_tax_total = $final_details['tax_totalamount']; $price_salestax = number_format($group_tax_total,2,'.',','); @@ -191,47 +105,37 @@ $sh_tax_amount = $final_details['shtax_totalamount']; $price_shipping_tax = number_format($sh_tax_amount,2,'.',','); +$render = RenderFactory::getRenderer_Invoice(array +( + format => 'application/pdf', + engine => 'pdflatex', + template => 'default' +)); //This is to get all prodcut details as row basis -for($i=1,$j=$i-1;$i<=$num_products;$i++,$j++) +for($i=1;$i<=$num_products;$i++) { - $product_name[$i] = $associated_products[$i]['productName'.$i]; - $prod_description[$i] = $associated_products[$i]['productDescription'.$i]; - $product_id[$i] = $associated_products[$i]['hdnProductId'.$i]; - $qty[$i] = $associated_products[$i]['qty'.$i]; - $unit_price[$i] = number_format($associated_products[$i]['unitPrice'.$i],2,'.',','); - $list_price[$i] = number_format($associated_products[$i]['listPrice'.$i],2,'.',','); - $list_pricet[$i] = $associated_products[$i]['listPrice'.$i]; - $discount_total[$i] = $associated_products[$i]['discountTotal'.$i]; - //aded for 5.0.3 pdf changes - $product_code[$i] = $associated_products[$i]['hdnProductcode'.$i]; - - $taxable_total = $qty[$i]*$list_pricet[$i]-$discount_total[$i]; - - $producttotal = $taxable_total; - $total_taxes = '0.00'; if($focus->column_fields["hdnTaxType"] == "individual") { - $total_tax_percent = '0.00'; - //This loop is to get all tax percentage and then calculate the total of all taxes - for($tax_count=0;$tax_countaddProductItem(array + ( + code => $associated_products[$i]['hdnProductcode'.$i], + name => $associated_products[$i]['productName'.$i], + amount => $associated_products[$i]['qty'.$i], + price => $associated_products[$i]['listPrice'.$i], + unit_price => $associated_products[$i]['unitPrice'.$i], + discount => $associated_products[$i]['discountTotal'.$i], + tax_percent => (integer)($tax_percent)/100, + description => $associated_products[$i]['productDescription'.$i], + comment => $associated_products[$i]['comment'.$i] + )); // Product piecelists $query = "SELECT vtiger_crmentity.crmid, @@ -245,86 +149,46 @@ INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_products.productid WHERE vtiger_crmentity.deleted = 0 - AND vtiger_products2products_rel.productid = ".$product_id[$i]." + AND vtiger_products2products_rel.productid = ".$product_id." AND vtiger_products2products_rel.relation_type = 10"; $result = $adb->query($query); $pieces = $adb->num_rows($result); if( $pieces > 0) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = "consisting of:"; - $product_line[$j]["Qty"] = ""; - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - for( $pl=0; $pl<$pieces; $pl++) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = - $adb->query_result( $result, $pl, "productname"); - $product_line[$j]["Qty"] = - $adb->query_result( $result, $pl, "quantity"); - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - } + throw new Exception("multiple pieces not yet supported !"); } } -//echo '
Product Details ==>';print_r($product_line);echo '
'; -//echo '
';print_r($associated_products);echo '
'; - // ************************ END POPULATE DATA ***************************8 -$page_num='1'; -$pdf = new PDF( 'P', 'mm', 'A4' ); -$pdf->Open(); - -$num_pages=ceil(count($product_line)/$products_per_page); - - -$current_product=0; -for($l=0;$l<$num_pages;$l++) -{ - $line=array(); - if($num_pages == $page_num) - $lastpage=1; - - while($current_product != $page_num*$products_per_page) - { - $line[]=$product_line[$current_product]; - $current_product++; - } - - //if bottom > 145 then we skip the Description and T&C in every - //page and display only in lastpage - //if you want to display the description and T&C in each page then - //set the display_desc_tc='true' and bottom <= 145 in pdfconfig.php - $pdf->AddPage(); - if( $page_num == "1") { - include("pdf_templates/".$template."/firstpage/header.php"); - include("pdf_templates/".$template."/firstpage/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/firstpage/footer.php"); - } else { - include("pdf_templates/".$template."/pages/header.php"); - include("pdf_templates/".$template."/pages/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/pages/footer.php"); - } - - $page_num++; - - if (($endpage) && ($lastpage)) - { - $pdf->AddPage(); - include("pdf_templates/".$template."/lastpage/header.php"); - include("pdf_templates/".$template."/lastpage/body.php"); - include("pdf_templates/".$template."/lastpage/footer.php"); - } -} - - -$pdf->Output('Invoice-'.$crmid.'.pdf','D'); //added file name to make it work in IE, also forces the download giving the user the option to save +$render->addData(array +( + 'valid_until' => $focus->column_fields["duedate"], + 'description' => from_html($focus->column_fields["description"]), + 'conditions' => from_html($focus->column_fields["terms_conditions"]), + 'tax_type' => $focus->column_fields['hdnTaxType'], + 'ident' => $focus->column_fields['invoice_no'], + 'contact:name' => getContactName($focus->column_fields["contact_id"]), + 'company:name' => $orgdetails["name"], + 'company:addr:city' => $orgdetails["city"], + 'company:addr:pcode' => $orgdetails["code"], + 'company:addr:street' => $orgdetails["address"], + 'company:addr:country' => $orgdetails["country"], + 'company:addr:state' => $orgdetails["state"], + 'company:phone' => $orgdetails["phone"], + 'company:fax' => $orgdetails["fax"], + 'company:website' => $orgdetails["website"], + 'customer:name' => getAccountName($focus->column_fields[account_id]), + 'shipping:addr:city' => $focus->column_fields["ship_city"], + 'shipping:addr:pcode' => $focus->column_fields["ship_code"], + 'shipping:addr:street' => $focus->column_fields["ship_street"], + 'shipping:addr:country' => $ship_country = $focus->column_fields["ship_country"], + 'shipping:addr:state' => $focus->column_fields["ship_state"], + 'billing:addr:city' => $focus->column_fields["bill_city"], + 'billing:addr:pcode' => $focus->column_fields["bill_code"], + 'billing:addr:street' => $focus->column_fields["bill_street"], + 'billing:addr:country' => $focus->column_fields["bill_country"], + 'billing:addr:state' => $focus->column_fields["bill_state"] +)); -// Added to fix annoying bug that includes HTML in your PDF +$render->sendHTTPOutput(); exit(); -?> -------------- next part -------------- diff -ruN htdocs.orig/templates/tex/default/config.php htdocs/templates/tex/default/config.php --- htdocs.orig/templates/tex/default/config.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/config.php 2007-05-09 20:00:54.000000000 +0200 @@ -0,0 +1,7 @@ + 'de', + 'tex2pdf' => 'pdflatex' +); diff -ruN htdocs.orig/templates/tex/default/invoice/item.texi htdocs/templates/tex/default/invoice/item.texi --- htdocs.orig/templates/tex/default/invoice/item.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/item.texi 2007-05-10 14:25:30.000000000 +0200 @@ -0,0 +1,2 @@ +::Item:Name:: \ifempty{::Item:Comment::}{}{(::Item:Comment::)} & ::Item:Price:: \Euro & ::Item:Amount:: & ::Item:Total:: \Euro \\ +\hline diff -ruN htdocs.orig/templates/tex/default/invoice/main.texi htdocs/templates/tex/default/invoice/main.texi --- htdocs.orig/templates/tex/default/invoice/main.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/main.texi 2007-05-10 14:15:53.000000000 +0200 @@ -0,0 +1,53 @@ +\def\ResourcePrefix{::TemplateDir::/resource} +\input \ResourcePrefix/bill.tex + +\def\ifempty#1#2#3{\def\inner{#1}\ifx\inner\empty + #2\else #3\fi } + +\begin{document} + \letterInit + \begin{letter}{% + ::Customer:Addr:Street:: \ \\ + ::Customer:Addr:PCode::\ ::Customer:Addr:City:: \ \\ + \ \\[\medskipamount] + } + + \opening{\Large Ihre Rechnung:\normalsize~~~ ::Bill:Ident:: +%% ~~~~~~~~~~vom:~~::BillDate:: + } + + \setlength\LTleft{0pt} + \setlength\LTright{72pt} + \begin{longtable}{|p{300pt}|r|r|r|} + \hline + Leistung & Preis & Menge & Summe \\ + \hline + \endhead + \hline + \hline + \multicolumn{3}{|l|}{Rechnungsbetrag} & ::Bill:Total:: \Euro \\ + \hline + \multicolumn{3}{|l|}{Umsatzsteuer} & ::Bill:Taxes:: \Euro \\ + \hline + \hline + \multicolumn{3}{|l|}{Gesamt} & ::Bill:Topay:: \Euro \\ + \hline + \noalign{ + \vspace{12pt} + \small + Soweit nicht anders angegeben entspricht das Lieferdatum + dem Rechnungsdatum + } + \noalign{ + \vspace{12pt} + \normalsize + Bitte {\"u}berweisen Sie den f{\"a}lligen Betrag binnen + 10~Tagen auf eines unserer Konten. \newline + Die Ware bleibt bis zur vollst{\"a}ndigen Bezahlung Eigentum + von metux IT service. + } + \endlastfoot + ::Items:: + \end{longtable} + \end{letter} +\end{document} diff -ruN htdocs.orig/templates/tex/default/resource/bill.tex htdocs/templates/tex/default/resource/bill.tex --- htdocs.orig/templates/tex/default/resource/bill.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/bill.tex 2007-05-09 23:55:35.000000000 +0200 @@ -0,0 +1,22 @@ +\input{\ResourcePrefix/metux.tex} + +\documentclass[a4paper,bottom=0cm,fromalign=center,fromlogo=true]{scrlttr2} +\usepackage{epsfig} +\usepackage{longtable} + +\usepackage{ngerman} +\usepackage[latin1]{inputenc} +%usepackage{fancyhdr} +%pagestyle{fancy} + +% brief-init +\newcommand\letterInit{% + \captionsgerman + \dategerman + \firsthead{\metuxHeader} + \firstfoot{\metuxFooter} + \setkomavar{fromname}{metux IT service} + \setkomavar{fromaddress}{Heydaer Stra{\ss}e 23, 99338 Plaue} +} + +\newcommand\Euro{Euro} diff -ruN htdocs.orig/templates/tex/default/resource/header.eps htdocs/templates/tex/default/resource/header.eps --- htdocs.orig/templates/tex/default/resource/header.eps 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.eps 2002-09-17 01:45:21.000000000 +0200 @@ -0,0 +1,178 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: header.eps +%%Creator: fig2dev Version 3.2 Patchlevel 3d +%%CreationDate: Tue Jul 30 18:35:09 2002 +%%For: ems at nibiru.metux.de () +%%BoundingBox: 0 0 643 88 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 88 moveto 0 0 lineto 643 0 lineto 643 88 lineto closepath clip newpath +-4.5 96.9 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/reencdict 12 dict def /ReEncode { reencdict begin +/newcodesandnames exch def /newfontname exch def /basefontname exch def +/basefontdict basefontname findfont def /newfont basefontdict maxlength dict def +basefontdict { exch dup /FID ne { dup /Encoding eq +{ exch dup length array copy newfont 3 1 roll put } +{ exch newfont 3 1 roll put } ifelse } { pop pop } ifelse } forall +newfont /FontName newfontname put newcodesandnames aload pop +128 1 255 { newfont /Encoding get exch /.notdef put } for +newcodesandnames length 2 idiv { newfont /Encoding get 3 1 roll put } repeat +newfontname newfont definefont pop end } def +/isovec [ +8#055 /minus 8#200 /grave 8#201 /acute 8#202 /circumflex 8#203 /tilde +8#204 /macron 8#205 /breve 8#206 /dotaccent 8#207 /dieresis +8#210 /ring 8#211 /cedilla 8#212 /hungarumlaut 8#213 /ogonek 8#214 /caron +8#220 /dotlessi 8#230 /oe 8#231 /OE +8#240 /space 8#241 /exclamdown 8#242 /cent 8#243 /sterling +8#244 /currency 8#245 /yen 8#246 /brokenbar 8#247 /section 8#250 /dieresis +8#251 /copyright 8#252 /ordfeminine 8#253 /guillemotleft 8#254 /logicalnot +8#255 /hyphen 8#256 /registered 8#257 /macron 8#260 /degree 8#261 /plusminus +8#262 /twosuperior 8#263 /threesuperior 8#264 /acute 8#265 /mu 8#266 /paragraph +8#267 /periodcentered 8#270 /cedilla 8#271 /onesuperior 8#272 /ordmasculine +8#273 /guillemotright 8#274 /onequarter 8#275 /onehalf +8#276 /threequarters 8#277 /questiondown 8#300 /Agrave 8#301 /Aacute +8#302 /Acircumflex 8#303 /Atilde 8#304 /Adieresis 8#305 /Aring +8#306 /AE 8#307 /Ccedilla 8#310 /Egrave 8#311 /Eacute +8#312 /Ecircumflex 8#313 /Edieresis 8#314 /Igrave 8#315 /Iacute +8#316 /Icircumflex 8#317 /Idieresis 8#320 /Eth 8#321 /Ntilde 8#322 /Ograve +8#323 /Oacute 8#324 /Ocircumflex 8#325 /Otilde 8#326 /Odieresis 8#327 /multiply +8#330 /Oslash 8#331 /Ugrave 8#332 /Uacute 8#333 /Ucircumflex +8#334 /Udieresis 8#335 /Yacute 8#336 /Thorn 8#337 /germandbls 8#340 /agrave +8#341 /aacute 8#342 /acircumflex 8#343 /atilde 8#344 /adieresis 8#345 /aring +8#346 /ae 8#347 /ccedilla 8#350 /egrave 8#351 /eacute +8#352 /ecircumflex 8#353 /edieresis 8#354 /igrave 8#355 /iacute +8#356 /icircumflex 8#357 /idieresis 8#360 /eth 8#361 /ntilde 8#362 /ograve +8#363 /oacute 8#364 /ocircumflex 8#365 /otilde 8#366 /odieresis 8#367 /divide +8#370 /oslash 8#371 /ugrave 8#372 /uacute 8#373 /ucircumflex +8#374 /udieresis 8#375 /yacute 8#376 /thorn 8#377 /ydieresis] def +/Courier-Bold /Courier-Bold-iso isovec ReEncode +/Times-Bold /Times-Bold-iso isovec ReEncode +/Times-Roman /Times-Roman-iso isovec ReEncode +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +10 setmiterlimit + 0.06000 0.06000 sc +% +% Fig objects follow +% +/Times-Roman-iso ff 150.00 scf sf +6600 1200 m +gs 1 -1 sc (www.metux.de) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 825 m +gs 1 -1 sc (+49 36207 51833) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 675 m +gs 1 -1 sc (+49 174 7066481) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 1350 m +gs 1 -1 sc (contact @ metux.de) col8 sh gr +/Courier-Bold-iso ff 180.00 scf sf +1650 750 m +gs 1 -1 sc (Ihr innovativer IT-Dienstleister) col25 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 1200 m +gs 1 -1 sc ( Internet) col0 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 675 m +gs 1 -1 sc ( Telephon) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1350 m +gs 1 -1 sc (Advance Bank \(BLZ 702 300 00\), Kto-Nr: 200 72 64 206) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1575 m +gs 1 -1 sc (Enrico Weigelt, Steuer-Nr: 154/286/05931) col8 sh gr +/Times-Bold-iso ff 300.00 scf sf +75 750 m +gs 1 -1 sc (metux ITS) col9 sh gr +/Courier-Bold-iso ff 150.00 scf sf +150 1350 m +gs 1 -1 sc (Bankverbindung:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +750 1575 m +gs 1 -1 sc (Inhaber:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +225 1125 m +gs 1 -1 sc (Hausanschrift:) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1125 m +gs 1 -1 sc (Heydaer Strasse 23 99338 Plaue) col8 sh gr +/Times-Roman-iso ff 180.00 scf sf +10125 300 m +gs 1 -1 sc (tricktext) col0 sh gr +$F2psEnd +rs diff -ruN htdocs.orig/templates/tex/default/resource/header.fig htdocs/templates/tex/default/resource/header.fig --- htdocs.orig/templates/tex/default/resource/header.fig 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.fig 2002-09-17 01:44:26.000000000 +0200 @@ -0,0 +1,24 @@ +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-2 +1200 2 +4 0 0 893 -1 14 10 -0.0000 4 135 1350 150 1350 Bankverbindung:\001 +4 0 0 890 -1 14 10 -0.0000 4 105 1260 225 1125 Hausanschrift:\001 +4 0 9 918 -1 2 20 0.0000 4 150 1005 75 750 metux ITS\001 +4 0 25 969 -1 14 12 -0.0000 4 135 3360 1650 750 Ihr innovativer IT-Dienstleister\001 +4 0 0 942 -1 2 10 0.0000 4 135 750 5700 675 Telephon\001 +4 0 8 991 -1 0 10 0.0000 4 105 1050 6600 675 +49 174 7066481\001 +4 0 8 997 -1 0 10 0.0000 4 105 1050 6600 825 +49 36207 51833\001 +4 0 8 999 -1 0 10 0.0000 4 105 990 6600 1200 www.metux.de\001 +4 0 0 946 -1 2 10 0.0000 4 105 765 5700 1200 Internet\001 +4 0 8 888 -1 0 10 0.0000 4 135 1935 1650 1125 Heydaer Strasse 23 99338 Plaue\001 +4 0 8 987 -1 0 10 0.0000 4 135 1230 6600 1350 contact @ metux.de\001 +4 0 8 933 -1 0 10 0.0000 4 135 3435 1650 1350 Advance Bank (BLZ 702 300 00), Kto-Nr: 200 72 64 206\001 +4 0 0 50 0 0 12 0.0000 4 135 645 10125 300 tricktext\001 +4 0 0 893 -1 14 10 0.0000 4 105 720 750 1575 Inhaber:\001 +4 0 8 933 -1 0 10 0.0000 4 135 2415 1650 1575 Enrico Weigelt, Steuer-Nr: 154/286/05931\001 diff -ruN htdocs.orig/templates/tex/default/resource/metux.tex htdocs/templates/tex/default/resource/metux.tex --- htdocs.orig/templates/tex/default/resource/metux.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/metux.tex 2007-05-09 23:56:59.000000000 +0200 @@ -0,0 +1,76 @@ +% Variablen .... % +\def\metuxSignature{\epsfig{file=\ResourcePrefix/signature.png}} +\def\metuxName{metux IT service} +\def\metuxPhone{+49-36207-519931} +\def\metuxFax{+49-36207-519932} +\def\metuxEmail{weigelt at metux.de} +\def\metuxUrl{www.metux.de} +\def\metuxAddress{Heydaer Stra{\ss}e 23, 99338 Plaue} +\def\metuxBankAccount{0972596900} +\def\metuxBankCompany{Dresdner Bank AG} +\def\metuxBankCode{82080000} +\def\metuxBank{Kto: \metuxBankAccount, BLZ: \metuxBankCode, \metuxBankCompany} +\def\metuxStrnr{154/286/05931} +\def\metuxOwner{Enrico Weigelt} + +\def\nl{\ \\} +\def\metuxGeomLeft{2cm} +\def\metuxGeomRight{2cm} +\def\metuxGeomBottom{1cm} +\def\metuxGeomHead{1cm} +\def\metuxGeomTop{0.5cm} + +\newcommand\metuxFooter +{ + \hrule + ~\newline + \parbox[l]{180pt}{ + \small + \metuxName \\ + Inh. \metuxOwner \\ + \metuxAddress \\ + StNr: \metuxStrnr + } + \parbox[l]{180pt}{ + \small + Bankverbindung: \\ + Kto: \metuxBankAccount \\ + BLZ: \metuxBankCode \\ + \metuxBankCompany + } + \parbox[l]{180pt}{ + \small + Tel: \metuxPhone \\ + Fax: \metuxFax \\ + eMail: \metuxEmail \\ + WWW: \metuxUrl + } +} + +\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.png}} +%\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.eps}} +\newcommand\metuxInit{ + \renewcommand{\headrulewidth}{0.5pt} + \renewcommand{\footrulewidth}{0.5pt} + \cfoot{\metuxFooter} + \chead{\metuxHeader} +} + +% \newcommand\Euro{Euro} + +\def\metuxMFG{% + \noindent Mit freundlichem Gru\ss + + \epsfig{\metuxSignature} + + \noindent Enrico Weigelt \\ + metux IT service +} + +\def\metuxMFGpriv{% + \noindent Mit freundlichem Gru\ss + + \metuxSignature + + \noindent Enrico Weigelt +} From prasad at vtiger.com Wed Sep 26 09:04:08 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:04:08 -0700 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods In-Reply-To: <20070926122938.GC21523@nibiru.local> References: <20070926122938.GC21523@nibiru.local> Message-ID: <11541eacf30.1877912300598081527.-6328444782417676545@vtiger.com> this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed Thank you for the patch. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: 09_nekrad_peardb-newfuncs.diff Type: application/octet-stream Size: 1024 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment.obj From prasad at vtiger.com Wed Sep 26 09:08:22 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:08:22 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> Message-ID: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Hi David, thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. It would be good if you can talk to the project owner (developer) of http://forge.vtiger.com/projects/asterisk-integ/ You can share your ideas/requirements and if possible you can add the enhancements that project. If your project focus is completely different, you can create a new forge project and actively develop and contribute to community. Regards, Prasad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/350c4eb4/attachment.html From prasad at vtiger.com Wed Sep 26 09:37:56 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:37:56 -0700 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods In-Reply-To: <20070926123644.GD21523@nibiru.local> References: <20070926123644.GD21523@nibiru.local> Message-ID: <1154209c25d.-5265518081636982803.-7355899420341582097@vtiger.com> Hi Enrico, I have a small concern to share with the fix you have mentioned: this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. PHP 5.2 requires __toString() method if an object should be contactenated with string, this was not the constraint with PHP 5.1 We use string contacts in debug statements, so adding __toString() to return a constant value from a object might not be a good way. Our patch for PHP 5.2 (vtiger 5.0.3) handles this problem by adding get_class($object) in the string concatenation, this way we don't change the class definition entirely. get_class($object) returns string which can be concatenated without problem. Some places we have replaced $user object with $user->user_name instead of get_class($user) because having user_name information is more useful. We have integrated such fix in our latest developement branch of vtiger 5.0.4. Hope this information was useful. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/d339f42a/attachment.html From aresolimpico at gmail.com Wed Sep 26 10:24:21 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 11:24:21 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Message-ID: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> i think is a completely different. because that plug in is very good for a basic asterisk integration and a lot of users will want to kept it in that way. and if vam is another module any one can use both at the same time. so how i put vam on top of the page, in every page? (i change the name from vasterisk to vam vtiger asterisk manager) i don't know if i should create a new project until i have the info about how to put vam on top... with out that info all the project is useless. thanks!!!! David 2007/9/26, Prasad : > > Hi David, > > thanks for you response, i installed that plug in, it is very good, but i > need more complex management of asterisk. > > It would be good if you can talk to the project owner (developer) of > http://forge.vtiger.com/projects/asterisk-integ/ > > You can share your ideas/requirements and if possible you can add the > enhancements that project. > > If your project focus is completely different, you can create a new forge > project and > actively develop and contribute to community. > > Regards, > Prasad > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/988fc103/attachment.html From aresolimpico at gmail.com Wed Sep 26 13:36:06 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 14:36:06 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> Message-ID: <4c307cb60709261036u5b73b08cj4d533deee89a2e92@mail.gmail.com> hi i think no one know where is the place (file) to put a module over the main tab... so i am going to tell you. the file is Header.tpl ../Smarty/templates/Header.tpl below the line 56 which says
how to put vam on top... with out that info all the project is useless. > > thanks!!!! > > David > > > 2007/9/26, Prasad : > > > > Hi David, > > > > thanks for you response, i installed that plug in, it is very good, but > > i need more complex management of asterisk. > > > > It would be good if you can talk to the project owner (developer) of > > http://forge.vtiger.com/projects/asterisk-integ/ > > > > You can share your ideas/requirements and if possible you can add the > > enhancements that project. > > > > If your project focus is completely different, you can create a new > > forge project and > > actively develop and contribute to community. > > > > Regards, > > Prasad > > > > > > _______________________________________________ > > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/0f79f3bb/attachment.html From asha at vtiger.com Thu Sep 27 07:03:43 2007 From: asha at vtiger.com (Asha) Date: Thu, 27 Sep 2007 04:03:43 -0700 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build Message-ID: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070927/a47e0486/attachment.html From minnie at vtiger.com Fri Sep 28 02:15:20 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 28 Sep 2007 11:45:20 +0530 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build In-Reply-To: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> References: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Message-ID: <1154ac143e6.-1328666412968226924.9121420989952442347@vtiger.com> Download url for .bin package http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.bin Minnie. ----On Thu, 27 Sep 2007 Asha wrote ---- Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070928/1bd77f2e/attachment.html From kamalakannan at adventnet.com Tue Sep 11 06:42:19 2007 From: kamalakannan at adventnet.com (kamalakannan) Date: Tue, 11 Sep 2007 16:12:19 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <46E6710B.3030208@adventnet.com> plz ignore this mail From smkkannan at gmail.com Tue Sep 11 05:00:29 2007 From: smkkannan at gmail.com (kamal kannan) Date: Tue, 11 Sep 2007 14:30:29 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <48268dc50709110200m1a55d500pfe0f67f77d1e89c6@mail.gmail.com> plz ignore this mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/569a37fe/attachment-0002.html From kamal_subes2000 at rediffmail.com Tue Sep 11 05:11:56 2007 From: kamal_subes2000 at rediffmail.com (kamal kannan) Date: 11 Sep 2007 09:11:56 -0000 Subject: [Vtigercrm-developers] hi Message-ID: <20070911091156.21313.qmail@webmail72.rediffmail.com> hi to all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/ce13055d/attachment-0001.html From kmsnet at rediffmail.com Tue Sep 11 04:17:56 2007 From: kmsnet at rediffmail.com (Khaja Mohideen) Date: 11 Sep 2007 08:17:56 -0000 Subject: [Vtigercrm-developers] test Message-ID: <20070911081756.23375.qmail@f4mail204.rediffmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/2a47e59f/attachment-0001.html From ckwu at ck-erp.net Mon Sep 10 22:27:33 2007 From: ckwu at ck-erp.net (C K Wu) Date: Tue, 11 Sep 2007 10:27:33 +0800 Subject: [Vtigercrm-developers] CK-ERP (Open Source ERP / CRM / MRP) v.0.24.1 released [with vTiger 5.0.3 connector] Message-ID: <46E5FD15.7070104@ck-erp.net> Hi, folks, I have posted a new release, v.0.24.1, of CK-ERP, at SourceForge.Net, http://sourceforge.net/projects/ck-erp . New features include, a connector for LegalCase and updated connectors for ClearHealth, OpenEMR and osCommerce, facilities to convert sales order to purchase order and/or material/service requisition so as to procure the required material/service after a sale is concluded, addition of a sample law office chart of accounts and a sample medical practice chart of accounts, addition of Australian GST tax rate and updating of Canadian GST tax rate, addition of narrow/wide display option for the various case handling screens, addition of customer, vendor, employee contact lists, and, addition of German translation for the Quotation module. Special thank is due to David Epperson of Dallas for permission to make use of the "Law Firm Chart of Accounts" (located at http://www/txethics.org/TCLEPCOURSE2005/omlp/sec11.1.pdf) while generating the sample law office chart of accounts. The effort by Stefan Kemper of Switzerland in producing the new German translations is also gratefully acknowledged. [Please note that the sample medical practice chart of accounts is designed for countries/regions where medical doctors are allowed to dispense prescription drugs within their medical practices. If the relevant medical practice is operating within a jurisdiction where doctors are prohibited from dispensing drugs, then it may be a prudent measure to delete all the drug sale, COGS ? drugs, inventory ? drugs and related accounts to avoid a presumption that in-practice drug sale had been planned.] CK-ERP is an open source accounting/MRP/ERP/CRM system that runs on top of multiple middlewares. It comprises 22 modules - Administration, i18n, Contact Management, Customer Relationship, Customer Self Service, Vendor Relationship, Ledger, Bank Reconciliation, MRP, Warehouse, Inventory, Service, AP, AR, PO, SO, Quotation, POS for Cashier, POS for Manager, HR, Staff Self Service and Payroll. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups. Please report error and suggestion to the discussion group / mailing list, CK-ERP-en(at)googlegroups.com or CK-ERP-zh_CN(at)googlegroups.com . General history and expected development is available at the discussion group's Archive. Supported MiddleWares: LegalCase, MirrorMed, ClearHealth, OpenEMR, eGroupWare, Horde-GroupWare; Zencart, CRELoaded, osCMax, osCommerce; Drupal, Joomla, Mambo, e107, XOOPS, Xaraya; Moodle, Atutor; vTiger, XRMS; WordPress, b2evolution; TikiWiki; phpBB. Information/Demo Websites: http://ck-erp.org http://ck-erp.net http://ck-erp.com Download is available from, http://sourceforge.net/projects/ck-erp http://gforge.oss.org.cn/projects/ck-erp http://gf.cs.hit.edu.cn/projects/ck-erp http://www.cnforge.org/modules/xfmod/project/?ck-erp http://gro.clinux.org/projects/ck-ledger Cheers, Wu Chiu Kay, aka CK Wu, aka CK (CK is the preferred alias) Hong Kong From joey.novak at gmail.com Wed Sep 12 09:06:05 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 09:06:05 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. Message-ID: Hey Guys, So, the company I am working for has decided to implement a CRM, and they have budgeted a significant amount of money to do so. We like all the features of vTiger. The only thing that would stop us, is the lack of MSSQL support. We may go with it ontop of MySQL, however a significant portion of our companies money machine is composed of MSSQL DTS Jobs. We have to decided and prepare a plan by the end of the week (this has been in the works for a while). And in an effort to make the decision easier, I have spent some time working through the issues I see that prevent vTiger from running on MSSQL. While I do not yet have a succesful installation, I have gotten the tables to all be created properly, and I have a walkthrough for what I have done sitting on my computer at work (I'll send that out once I am in the office). I don't want to waste my time working through the installation issues if there are going to be LOTS of other little issues, by a LOT I mean > 100. We can slowly work through 100 MSSQL problems, but we can't afford to work through 1000. Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/24f2bcb8/attachment-0001.html From weigelt at metux.de Wed Sep 12 10:34:51 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 12 Sep 2007 16:34:51 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. In-Reply-To: References: Message-ID: <20070912143450.GA3489@nibiru.local> * Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Wed Sep 12 10:52:16 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 10:52:16 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... Message-ID: Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > Hi, > > > So, the company I am working for has decided to implement a CRM, > > and they have budgeted a significant amount of money to do so. > > We like all the features of vTiger. > > Cool. Maybe your company could provide some funds for completing > several outstanding things :) > (some of us are freelancers who mostly contribute during their > customer projects and can be hired ;-)) > > > The only thing that would stop us, is the lack of MSSQL support. > > We may go with it ontop of MySQL, however a significant portion of > > our companies money machine is composed of MSSQL DTS Jobs. > > Well, I clearly can understand you don't want MySQL, the SQL-enabled > cardfile ;-P. But WTH MSSQL ? > > We've got PostgreSQL support. Instead of burning so much money w/ > M$ license fees and the whole (Windows-generated) troubleshooting, > you can get an complete machine w/ pgsql on GNU/Linux or xBSD > and build evrything optimized for your hw. > > > We have to decided and prepare a plan by the end of the week (this > > has been in the works for a while). And in an effort to make the > > decision easier, I have spent some time working through the issues > > I see that prevent vTiger from running on MSSQL. > > One of the major points (IMHO) is that MSSQL's understanding of SQL > is even crappier than MySQL's. > > I *personally* wouldn't suggest porting to another homebrewn SQL dialect. > Better spend a day for becoming confident w/ PostgreSQL ;-P > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/29098b42/attachment-0001.html From joey.novak at gmail.com Wed Sep 12 11:38:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 11:38:42 -0400 Subject: [Vtigercrm-developers] Bug Found... Message-ID: I didn't see anyway on the website to submit a bug, (maybe I am blind?) install/4createConfigFile.php Line 106 to 120, single ='s are used instead of '==' Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/67bfcd05/attachment-0001.html From libregeek at gmail.com Wed Sep 12 23:57:45 2007 From: libregeek at gmail.com (Manilal K M) Date: Thu, 13 Sep 2007 09:27:45 +0530 Subject: [Vtigercrm-developers] Bug Found... In-Reply-To: References: Message-ID: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> On 12/09/2007, Joey Novak wrote: > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > install/4createConfigFile.php > > Line 106 to 120, single ='s are used instead of '==' > > Joey > Joey, You can find the bug tracker here: http://trac.vtiger.com/ regards -- Manilal K M. http://linuxeyes.blogspot.com http://flossvalley.blogspot.com Better to light one candle than to curse the darkness. From liza at vtiger.com Thu Sep 13 01:12:35 2007 From: liza at vtiger.com (liza) Date: Thu, 13 Sep 2007 10:42:35 +0530 Subject: [Vtigercrm-developers] Fwd:Re: Bug Found... In-Reply-To: <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> References: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> Message-ID: <46E8C6C3.3030805@vtiger.com> Hi, I have added this issue in our vtiger trac. For more info kindly refer the following link. http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4170 Here after If you find any issue, kindly file that in our bug tracker. http://trac.vtiger.com Thanks & Regards, Liza. > > On 12/09/2007, Joey Novak wrote: > > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > > > install/4createConfigFile.php > > > > Line 106 to 120, single ='s are used instead of '==' > > > > Joey > > > Joey, > You can find the bug tracker here: > http://trac.vtiger.com/ From joey.novak at gmail.com Thu Sep 13 11:22:32 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 13 Sep 2007 11:22:32 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - Will Code Be Maintained... Message-ID: Hey Guys, So, an important question... If We (as in myself, and others at the company I work for) do all the work to get vTiger to run on MSSQL, can we get our changes into the vTiger repository so that future releases will work with MSSQL? Or does this not have enough demand to be maintained in the future? Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070913/8ac44cac/attachment-0001.html From minnie at vtiger.com Fri Sep 14 08:00:10 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 14 Sep 2007 17:30:10 +0530 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <11503e3ef58.8002445302510352760.1922159776437872223@vtiger.com> Dear Joey, In DatabaseSchema.xml, some of the tables has specified withautoincrement field. But in vtiger CRM, we are not using theautoincrement while inserting entries in the tables, instead we areusing the method called getUniqueID() which is provide by ADODB library that simplifies many database-related tasks in PHP. In future, we need to review the DatabaseSchema.xml file and remove the unwanted autoincrement fields and test whether it works fine with MySQL. Thanks & Regards, Minnie. ----On Wed, 12 Sep 2007 Joey Novak wrote ---- Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote:* Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/9bfd196d/attachment-0001.html From client.services.ny at gmail.com Fri Sep 14 09:02:02 2007 From: client.services.ny at gmail.com (Client Services of New York, LLC) Date: Fri, 14 Sep 2007 09:02:02 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <68b1fa90709140602q59ce2b7bhba7d816008796811@mail.gmail.com> On 9/12/07, Joey Novak wrote: > > > No chance I can get them to go with Postgres, we have no one with > experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't > happen, we would be wasting those resources if we switched to Postgres. > If your DBA's are so limited in scope, that they could not read the relevant documentation for Postgresql, or any other database product and adapt to the new environment, I would suggest that your hiring criteria for DBAs are insufficient, and need to be updated. -- Mike Lieman Client Services of New York, L.L.C. client.services.ny at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/024debca/attachment-0001.html From al at xanthus.net Sun Sep 16 12:58:18 2007 From: al at xanthus.net (Alan Leurck) Date: Sun, 16 Sep 2007 12:58:18 -0400 Subject: [Vtigercrm-developers] outlook plug in Message-ID: <46ED60AA.5090302@xanthus.net> I believe I have run across a security problem with the outlook plug in and would like to discuss this with the person(s) responsible for the plug in. If someone from the plug in team could please contact me to discuss the problem, I think we can resolve the issue with a number of updates on both the client and server side. Thank you. Al From joey.novak at gmail.com Thu Sep 20 08:46:14 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 08:46:14 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger Message-ID: Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/65553b14/attachment-0001.html From svk at vtiger.com Thu Sep 20 14:03:00 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Thu, 20 Sep 2007 11:03:00 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: Message-ID: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Hi Joey, Today, we have separate distributions for MySQL, and Postgres. It will be nice not having to maintain these different code bases. We are considering adding multi-database support soon. If your changes help us in this process we will certainly look into it. For now, the best way to proceed is to create a new branch (5.0.3 for MSSQL) and contribute your changes to it. Then you can request help from the community in testing it with MySQL and other databases. Regards, Sreenivas vtiger Team. ----On Thu, 20 Sep 2007 Joey Novak wrote ---- Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/d91ce1c5/attachment-0001.html From joey.novak at gmail.com Thu Sep 20 16:37:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 16:37:42 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: Hey Guys, So, I am 99% finished porting the non-MSSQL compliant SQL into Compatible SQL. I have a running version of vTiger on my desktop, and all the features we have tested work fine (including all the modules, custom reports, etc...) the only known issue that doesn't work is the calendar module writes dates incorrectly to the db, and I haven't spent anytime trying to fix it yet is all). If someone is interested, I have some very unorganized, but mostly complete, notes located here: http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL Again, I don't know what the best way to go about this is, but my Company is willing to invest resources into merging the braches of vTiger into one branch that works on postGres, MSSQL, and MySQL. They wish to make this investment now, so that in the future, we will be able to reap the benefits of continued vTiger improvements without having to patch it to make it work on MSSQL everytime a new release comes out. Specificaly, they have authorized me to spend one to two weeks of work time on the effort. I can do all this, I just want to make certain that my work will be of as much benefit as possible to the community, and my company by getting the work into the main vTiger branch in the svn repository when I am done. If I start with the 5.0.4 branch, and make all the changes to make it work on Postgres, MySQL, and MSSQL with one code base, and test it, how would I submit my work? Again, please keep in mind that although I have extensive programming experience, I have never contributed to an opensource project before, and don't know what is expected. Sreenivas's reply earlyer today, told me I should create a new branch, as I browsed the code, I could not find the seperate postgres branch he spoke of. Is it not clearly labeled? Is the 5.0.3 branch really the MySQL/Postgres branch, and 5.0.4 is MySQL only? If someone is willing to lend me some more guidance, then we should be able to put forth this effort and achieve the mutual goal of my company and the vTiger community without using very much more of everyones time. Thanks Guys, Joey On 9/20/07, Sreenivas Kanumuru wrote: > > Hi Joey, > > Today, we have separate distributions for MySQL, and Postgres. It will be > nice not having to maintain these different code bases. We are considering > adding multi-database support soon. If your changes help us in this process > we will certainly look into it. > > For now, the best way to proceed is to create a new branch (5.0.3 for > MSSQL) and contribute your changes to it. Then you can request help from the > community in testing it with MySQL and other databases. > > Regards, > > Sreenivas > vtiger Team. > > > > > ----On Thu, 20 Sep 2007 *Joey Novak * wrote ---- > > Hey Guys, > > I am still working hard on modifying the parts of vTiger that don't work > well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to > get my changes considered for the next release of vTiger? It is easy for me > to test them on MySQL, but I don't know about postgres. I have never worked > on a big OpenSource project, so I am not framiliar with the proper etiquete > for contributing changes, but I think these changes would be valuable to the > project. > > Joey > > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html_______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/33c806f2/attachment-0001.html From weigelt at metux.de Fri Sep 21 08:06:43 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 14:06:43 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: <20070921120643.GA12321@nibiru.local> * Joey Novak schrieb: hi, > So, I am 99% finished porting the non-MSSQL compliant SQL into > Compatible SQL. Please try to move the RDBMS specific things into some separate source file, maybe some separate class. This gives an central point for RDBMS specific things and makes further porting much easier. (I did similar things on my branch, which are not yet ported back.) For example: Some base class "VT_DB_Driver" where several individual drivers (ie. for mysql, mssql, pgsql) are derived from. It should have those functions: * QueryRecords($query_string) -> give back an array of recods * SequenceNextVal($seq_name) * SQL_Encode_int($i) * SQL_Encode_date($d) * SQL_Encode_text($t) ... Ah, and please document your changes in the code and give tell us something about what you did on the list :) > Again, I don't know what the best way to go about this is, but my Company > is willing to invest resources into merging the braches of vTiger into one > branch that works on postGres, MSSQL, and MySQL. Is your company willing to hire some of us? ;-O > how would I submit my work? Post an patch to the list ;-P > told me I should create a new branch, as I browsed the code, I could not > find the seperate postgres branch he spoke of. Is it not clearly labeled? It's in the jens_5_1 branch. But last time I checked, it wasn't the whole of Jens's work, and he sent me his personal copy. Mine has also several changes, some maybe already committed, some maybe not. BTW: we already have dozens of branches, we really should get them together. Why not forking from the latest stable, and intensively try to get in all the changes laying around into it ? An clean DB abstraction seems to be an key point for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Fri Sep 21 08:25:07 2007 From: joey.novak at gmail.com (Joey Novak) Date: Fri, 21 Sep 2007 08:25:07 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921120643.GA12321@nibiru.local> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: Enrico, > Please try to move the RDBMS specific things into some separate >source file, maybe some separate class. This gives an central >point for RDBMS specific things and makes further porting much >easier. (I did similar things on my branch, which are not yet >ported back.) I understand what you are asking for (I think). But I don't see how what you want differs from the what is in the 5.0.3 code already. ADOdb does what you are speaking of (I think). Joey On 9/21/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > hi, > > > So, I am 99% finished porting the non-MSSQL compliant SQL into > > Compatible SQL. > > Please try to move the RDBMS specific things into some separate > source file, maybe some separate class. This gives an central > point for RDBMS specific things and makes further porting much > easier. (I did similar things on my branch, which are not yet > ported back.) > > For example: > > Some base class "VT_DB_Driver" where several individual drivers > (ie. for mysql, mssql, pgsql) are derived from. > > It should have those functions: > > * QueryRecords($query_string) -> give back an array of recods > * SequenceNextVal($seq_name) > * SQL_Encode_int($i) > * SQL_Encode_date($d) > * SQL_Encode_text($t) > ... > > > Ah, and please document your changes in the code and give tell us > something about what you did on the list :) > > > Again, I don't know what the best way to go about this is, but my > Company > > is willing to invest resources into merging the braches of vTiger into > one > > branch that works on postGres, MSSQL, and MySQL. > > Is your company willing to hire some of us? ;-O > > > how would I submit my work? > > Post an patch to the list ;-P > > > told me I should create a new branch, as I browsed the code, I could not > > find the seperate postgres branch he spoke of. Is it not clearly > labeled? > > It's in the jens_5_1 branch. But last time I checked, it wasn't > the whole of Jens's work, and he sent me his personal copy. > Mine has also several changes, some maybe already committed, > some maybe not. > > BTW: we already have dozens of branches, we really should get > them together. Why not forking from the latest stable, and > intensively try to get in all the changes laying around into it ? > An clean DB abstraction seems to be an key point for me. > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070921/3bf7202d/attachment-0001.html From weigelt at metux.de Fri Sep 21 12:34:16 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 18:34:16 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: <20070921163416.GA15655@nibiru.local> * Joey Novak schrieb: > I understand what you are asking for (I think). But I > don't see how what you want differs from the what is in > the 5.0.3 code already. ADOdb does what you are speaking > of (I think). This adodb crap is exactly what I want to get rid of. Doesnt cope the whole dialects, too unstable and extremly resource wasting. An good example for bad design. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Sat Sep 22 19:57:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Sun, 23 Sep 2007 09:57:02 +1000 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921163416.GA15655@nibiru.local> Message-ID: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > This adodb crap is exactly what I want to get rid of. > Doesnt cope the whole dialects, too unstable and extremly > resource wasting. An good example for bad design. Do you have an alternative to suggest? Pear DB perhaps (urghhh). Or do you want to invent your own wheel and create a maintenance nightmare? As far as I can tell, all options have plusses and minuses. But a collective library must be the best way to go. Cheers Graham From weigelt at metux.de Sun Sep 23 08:31:05 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Sun, 23 Sep 2007 14:31:05 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Message-ID: <20070923123105.GA28296@nibiru.local> * Graham Miller schrieb: > Do you have an alternative to suggest? > > Pear DB perhaps (urghhh). Yes, PEAR DB is much cleaner and less complex. It still lacks several functions (ie. for query rendering), but this can be easily extendet. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Sun Sep 23 10:53:17 2007 From: joey.novak at gmail.com (Joey Novak) Date: Sun, 23 Sep 2007 10:53:17 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070923123105.GA28296@nibiru.local> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: I am not trying to argue... But, I really didn't find adodb all that complex. There are three or four functions that it uses, and that is it. With a few modifications to make it always use the associative array return values, instead of index based. And a way to do different queries depending upon the dbms (there are only a few that it would be easier if they could be different, most can be the same). Then I think adodb would do the job great. As for performance, I didn't see very much in the adodb code that would slow things down. Although I may have missed something. Joey On 9/23/07, Enrico Weigelt wrote: > > * Graham Miller schrieb: > > > > > Do you have an alternative to suggest? > > > > Pear DB perhaps (urghhh). > > Yes, PEAR DB is much cleaner and less complex. > It still lacks several functions (ie. for query rendering), > but this can be easily extendet. > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070923/12303117/attachment-0001.html From joey.novak at gmail.com Mon Sep 24 08:57:13 2007 From: joey.novak at gmail.com (Joey Novak) Date: Mon, 24 Sep 2007 08:57:13 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: Hey Guys, This will probably be my final message here. We decided to go with SugarCRM. There just seems to be a lot more development work going on to extend SugarCRM. It was a very difficult decision, our manager, myself, and others have emotional attachments to vTiger, and really do like it better, but we didn't feel it was the best decision for the progress of the business that we support. Anyways, all that being said, we wanted to try to make sure our efforts aren't being wasted. So we wrapped up our version of vTiger that works on MSSQL, and are making it available here: http://www.affinity4.com/vtiger/ Later Guys, and happy coding! Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/d3f06286/attachment-0001.html From joe at tsolucio.com Mon Sep 24 09:47:52 2007 From: joe at tsolucio.com (Joe Bordes) Date: Mon, 24 Sep 2007 15:47:52 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: References: Message-ID: <1190641672.22534.18.camel@joesunix.int> Hi, This email should be a call of attention. If your goal is to be "The most popular CRM" you need this development list to be VERY active and have the community adopting your application for the solution to their problems. The way I see it if you study for knowledge you (normally) get a side effect that is passing your exams, when you study to pass the exams is when you may have problems. I think your goal should be to have a flexible and powerfull solution to CRM/Business problems instead of just popularity. Then you will become popular by merits. After all one can acheive popularity easily (just look at TV), why you have that popularity and maintaining it is where the effort is. Joe TSolucio El lun, 24-09-2007 a las 08:57 -0400, Joey Novak escribi?: > Hey Guys, > > This will probably be my final message here. We decided to go with > SugarCRM. There just seems to be a lot more development work going on > to extend SugarCRM. It was a very difficult decision, our manager, > myself, and others have emotional attachments to vTiger, and really do > like it better, but we didn't feel it was the best decision for the > progress of the business that we support. > > Anyways, all that being said, we wanted to try to make sure our > efforts aren't being wasted. So we wrapped up our version of vTiger > that works on MSSQL, and are making it available here: > http://www.affinity4.com/vtiger/ > > Later Guys, and happy coding! > > Joey > > -- > --- > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com From graham901 at webenhanced.com.au Mon Sep 24 19:18:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Tue, 25 Sep 2007 09:18:02 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1190641672.22534.18.camel@joesunix.int> Message-ID: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. From aresolimpico at gmail.com Mon Sep 24 20:12:38 2007 From: aresolimpico at gmail.com (David fire) Date: Mon, 24 Sep 2007 21:12:38 -0300 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <4c307cb60709241712y6dfd3b19j581537e7ebdf8cfc@mail.gmail.com> hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/c6b68c07/attachment-0001.html From svk at vtiger.com Mon Sep 24 20:27:17 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 17:27:17 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <1153a0f869e.-5019729562825485777.-8669095014683350750@vtiger.com> Joey, Thanks for the email, and for all your efforts. w.r.tyour decision to go with Sugar CRM, you mentioned the developmentactivity around the Sugar CRM as one of the key reasons. While vtigerhas a passionate developer community, we do recognize that we have tosimplify the development process to add modules, and more immediatelyhelp users find projects that are already there on the vtiger forge. w.r.tthe MS-SQL support, your contributions will certainly be quite usefulto MS-SQL users. I hope some members from the community will pick it upand maintain it until we get to 6.0 release. We are looking to addmulti-database support in 6.0, so that we don't have to maintaindifferent branches for different databases. I would certainly appreciate any additional feedback you have on your vtiger experience, and areas where we could improve. Joe, Graham, We are taking measures to be more proactive on this list. I know it is not a one way street. If we expect developers to contribute to vtiger, we have to help them. I am confident you will see improvements in this regard going forward. We fully realize the benefits of doing so. In the upcoming 5.0.4 release, about 40 patches contributed by the community are included, besides about 100 or so bug fixes. Tomorrow,we will be posting the details of the development build for theupcoming patch on the blog and the forums. We will be requesting help from the communityto test and provide feedback. Your comments are quite valuable to us. Regards, Sreenivas ----On Mon, 24 Sep 2007 Graham Miller wrote ---- Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/37a47550/attachment-0001.html From svk at vtiger.com Mon Sep 24 21:52:57 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 18:52:57 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> David, Thanks for the input. Our goal, w.r.t the community, is three fold: 1. Deliver a CRM platform that addresses the core CRM functions well and is easily extensible to add new features/modules. 2. Provide the right tools (forge, Application portal for users, forums, documentation..) to encourage community participation and interaction. 3. Engage with the community On the product front, in 6.0 release, we hope to make big strides in making the product modular and extensible. More immediately though, we hope to make some improvements on the tools front. In the next 4-6 weeks, we are considering a website revision to address the following areas: Documentation:Make it easy for users to find documentation Community participation in creating documentation Community Events:Make it easy for members to organize and promote local community events (user group meetings) We are also considering moving from gForge to gForge Advanced Server for the vtiger forge. (more on this in a separate post) Regards, Sreenivas ----On Mon, 24 Sep 2007 David fire wrote ---- hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller :Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/dccf42e0/attachment-0001.html From chazarra.clement at gmail.com Tue Sep 25 07:53:00 2007 From: chazarra.clement at gmail.com (clement chazarra) Date: Tue, 25 Sep 2007 12:53:00 +0100 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> References: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> Message-ID: Hi, My 2 cents point of view.. vTiger team should focus on the CRM platform and functions, while in the mean time, partners could take care of the website and community. It feels that you have far too many things to handle at the same time, and many people, companies are willing to help on it. So I understand that you want to keep your full hands on vTiger CRM, but giving more responsabilitise to partners would free some team members for other tasks. You need to give more responsabilities to people around! And not just saying so, or taking in account comments. What do people want to see? A better designed website, with community portal and forge more efficient. How would I do it? Post a request for partnership with companies who could restructure the whole website and community portal. >From this point, you could focus just on communications with those partners, and on the development of the next version. But still, it's only my own point of view... BTW, Joe, what are the actual outputs from the meeting in Italy? Are things going forward? Regards, Clem On 9/25/07, Sreenivas Kanumuru wrote: > > David, > > Thanks for the input. > > Our goal, w.r.t the community, is three fold: > 1. Deliver a CRM platform that addresses the core CRM functions well and > is easily extensible to add new features/modules. > 2. Provide the right tools (forge, Application portal for users, forums, > documentation..) to encourage community participation and interaction. > 3. Engage with the community > > On the product front, in 6.0 release, we hope to make big strides in > making the product modular and extensible. > > More immediately though, we hope to make some improvements on the tools > front. In the next 4-6 weeks, we are considering a website revision to > address the following areas: > > Documentation: > > - Make it easy for users to find documentation > - Community participation in creating documentation > > Community Events: > > - Make it easy for members to organize and promote local community > events (user group meetings) > > We are also considering moving from gForge to gForge Advanced Server for > the vtiger forge. (more on this in a separate post) > > Regards, > Sreenivas > > > > > ----On Mon, 24 Sep 2007 *David fire * wrote ---- > > hi > we are a lot working on vtiger... maybe the biggest problem is the > dificulty to add any new function.... > and the lack of responce from main developers... > maybe we should ask them what thay want to do... > > i think vtiger has a very good potential if we change the actitude. > we can make some work groups: > > -documentation > -features review > -developers (add members) > -documentation!!!! > > if the project go larger will be a lot of job, many enterprise will ask > for paid support and others will ask special developments... > > thanks > David > > > > > > 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/5980557f/attachment-0001.html From weigelt at metux.de Tue Sep 25 15:14:41 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:14:41 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: <20070925191440.GA6754@nibiru.local> * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:27:15 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:27:15 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <20070925192715.GB6754@nibiru.local> * Graham Miller schrieb: Hi, > There are many commercial entities now considering investing > in open source development but they need to know the project > is going to be there for the long haul. Well, as long as one person maintains the project, it keeps alive ;-P > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as the base platform for user logins, profiles, > contact history etc etc. The client is willing to invest in open source > software and we will probably want some extra programming resources to > hire along the way that already know the CRM app really well. Sounds good :) IMHO, it's important to get patches back to this list asap, so the community can take care of them. That's the difference between cooperative work and taking someone's works for your own benefits. > We evaluated the market of open source offerings and found sugar/vtiger > to be the best. Noting the sugarCRM license requirements and our need > to totally re-brand the application, we decided that the apparently real > open source alternative (namely vtiger) was the right platform and have > been watching the list for signs of an active community. For me, the sugar licensing was one of the major reason for dropping it. vtiger has still a lot issues, but still seemed the best option for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:29:50 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:29:50 +0200 Subject: [Vtigercrm-developers] Status on postgresql port Message-ID: <20070925192950.GC6754@nibiru.local> Hi folks, what's the status of the postgresql port and the mainline tree ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 17:06:25 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 23:06:25 +0200 Subject: [Vtigercrm-developers] [PATCH] Invoice: fix PDF link In-Reply-To: <20070625174933.GI7548@nibiru.local> References: <20070625174933.GI7548@nibiru.local> Message-ID: <20070925210624.GB3224@nibiru.local> * Enrico Weigelt schrieb: > > Hi folks, > > this patch fixes the really strange javascript link for pdf > invoice to an plain url. Any new on that issue ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 18:47:54 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 00:47:54 +0200 Subject: [Vtigercrm-developers] 5.1 vs. 5.1_jens Message-ID: <20070925224752.GA21523@nibiru.local> Hi folks, what the current status of porting 5.1_jens to 5.1 branch ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Tue Sep 25 19:21:11 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Wed, 26 Sep 2007 09:21:11 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <20070925192715.GB6754@nibiru.local> Message-ID: <001501c7ffca$c4c21980$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > Well, as long as one person maintains the project, it keeps alive ;-P That is true. But if a company is going to invest (say) $50,000 to improve a piece of software so it is useable for their purpose, give back the improvements to the community, and continue to assist and have a hand in its development over time, then the company would like to see an active community from various industries and countries so that new technology is incorporated in a timely fashion and well tested by a large community (of which the company becomes an active member). So for a large financial and time investment, we would want to be an active part of a reasonably large community so we feel that we are helping plenty of others in return for the initial code base and future updates, as well as benefiting ourselves from plenty of other people's experience. > IMHO, it's important to get patches back to this list asap, > so the community can take care of them. That's the difference > between cooperative work and taking someone's works for your > own benefits. Of course. But that should be done via some kind of tracker that allows file attachments.... not a mailing list. And a lead developer should be responsible for merging that code into the current branch. We also contribute to the Moodle (learning management system) community and they have a huge number of contributors and their systems are quite good. The feature request tracker has the ability to have a conversation and upload code files for consideration. It allows linking to a wiki where the "howto" documents are kept and naturally the wiki allows linking back to the tracker for more detailed info (for developers). Other users can then gain access to patches for (say) older releases that were used as a proof of concept during the development phase. The forums are where issues are discussed until action is required. Then it goes to the tracker and wiki. We run our own (old version) gForge site for developer interaction and this works moderately well. I am sure that a newer version would be more useful to a developer community. And we will be investigating the upgrade for our own (closed user group) use shortly anyway. But for an open source community project, it needs to be such that a person can register themselves and participate in the trackers and forums etc. And under lead developer control, access the wiki and perhaps even the source tree (once proven to be of suitable quality and skill level). > For me, the sugar licensing was one of the major reason for > dropping it. vtiger has still a lot issues, but still seemed > the best option for me. And we came to the same conclusion, but the lack of a cohesive community is what makes us stall our decision. Single maintainer projects of this size rarely keep up to date with even security issues, let alone technology upgrades and, of course, industry requirements. If we are going to invest heavily in a technology, then we want to be using the "best of breed". So this is why we hesitate. Cheers Graham From aresolimpico at gmail.com Tue Sep 25 22:47:35 2007 From: aresolimpico at gmail.com (David fire) Date: Tue, 25 Sep 2007 23:47:35 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger Message-ID: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: vtiger+asterisk.jpg Type: image/jpeg Size: 180825 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment-0001.jpg From prasad at vtiger.com Wed Sep 26 07:26:42 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 04:26:42 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> Message-ID: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Hi David, Before starting any development on vtiger-asterisk please look at the available forge project: http://forge.vtiger.com/projects/asterisk-integ/ Regards, Prasad vtiger Team ----On Wed, 26 Sep 2007 David fire wrote ---- hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/3e85e60d/attachment-0001.html From prasad at vtiger.com Wed Sep 26 08:02:37 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 05:02:37 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070925191440.GA6754@nibiru.local> References: <20070925191440.GA6754@nibiru.local> Message-ID: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Thank you for highlighting your points with database access implementation currently used in vtiger. We made a choice of adodb to have multi database support for our product. The version that is used I believe any wrapper on database has both positive and negatives, whether it is adodb or pear db. Going forward we have plans to pick up the best ideas from these wrappers and come up with some db access framework which could let us maintain vtiger working with different flavours of database. We would be happy to get suggestions from our developer community on this. Please do keep us updated on the both positive and negatives on various database wrappers you have worked with and what best we can pick up from them. Regards, Prasad ----On Wed, 26 Sep 2007 Enrico Weigelt wrote ---- * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/24f57d0f/attachment-0001.html From aresolimpico at gmail.com Wed Sep 26 08:18:52 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 09:18:52 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Message-ID: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> hi thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. thanks David 2007/9/26, Prasad : > > > Hi David, > > Before starting any development on vtiger-asterisk please look at the > available forge project: > > http://forge.vtiger.com/projects/asterisk-integ/ > > Regards, > Prasad > vtiger Team > > > ----On Wed, 26 Sep 2007 *David fire * wrote ---- > > hi > i need to integrate asterisk and vtiger... > i want a "full manager", transfer calls, dial, redirect, etc... in the > same window. > > i will make the module and the asterisk communication but i want to put it > over vtiger (see the picture) attached or at > http://www.buenafuentenews.info/images/vtiger.jpg > i really haven't a clue how to put that there in every page.... > i will add a field "extension" to the users profile and vasterisk > (vtiger asterik) will use the value. > > i will do this month so if any one want to help me or give me a clue... > > > Thanks > > PD: sorry for my poor English. > > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/9eaacd66/attachment-0001.html From weigelt at metux.de Wed Sep 26 08:26:42 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:26:42 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> References: <20070925191440.GA6754@nibiru.local> <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Message-ID: <20070926122642.GB21523@nibiru.local> * Prasad schrieb: Hi, > Going forward we have plans to pick up the best ideas from these wrappers > and come up with some db access framework which could let us maintain > vtiger working with different flavours of database. I added some method run_query_field() to PearDatabase, which should be used at any point where just one single value is queried. Another method is sql_concat() which handles the dmbs specific concat operators. I'll (re)post my patch separately. For future use the PearDatabase class ($adb variable) should be used exlusively, and always the methods with the highest abstraction. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Wed Sep 26 08:29:38 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:29:38 +0200 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods Message-ID: <20070926122938.GC21523@nibiru.local> Hi folks, this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed It fits against 5.1 and 5.1_jens. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/include/database/PearDatabase.php htdocs/include/database/PearDatabase.php --- htdocs.orig/include/database/PearDatabase.php 2007-05-11 02:17:06.000000000 +0200 +++ htdocs/include/database/PearDatabase.php 2007-05-11 02:55:29.000000000 +0200 @@ -434,6 +434,31 @@ return $this->change_key_case($result->FetchRow()); } + function sql_concat($list) + { + switch ($this->dbType) + { + case 'mysql': + return 'concat('.implode(',',$list).')'; + case 'pgsql': + return '('.implode('||',$list).')'; + default: + throw new Exception("unsupported dbtype \"".$this->dbType."\""); + } + } + + function run_query_field($sql) + { + $this->checkConnection(); + $result = $this->database->Execute($sql); + + if (!is_object($result)) + throw new Exception("query failed: $sql"); + + $row = $result->FetchRow(); + return array_shift($row); + } + /* ADODB newly added. replacement for mysql_result() */ function query_result(&$result, $row, $col=0) { From weigelt at metux.de Wed Sep 26 08:36:44 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:36:44 +0200 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods Message-ID: <20070926123644.GD21523@nibiru.local> Hi folks, this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. IMHO this should go to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN cleaned/data/CRMEntity.php working/data/CRMEntity.php --- cleaned/data/CRMEntity.php 2007-05-03 17:50:00.000000000 +0200 +++ working/data/CRMEntity.php 2007-05-03 23:38:06.000000000 +0200 @@ -25,10 +25,16 @@ require_once('data/Tracker.php'); require_once('include/utils/utils.php'); require_once('include/utils/UserInfoUtil.php'); - -class CRMEntity -{ - /** + +class CRMEntity +{ + /* generic toString() method added by nekrad */ + function __toString() + { + return serialize($this); + } + + /** * This method implements a generic insert and update logic for any SugarBean * This method only works for subclasses that implement the same variable names. * This method uses the presence of an id vtiger_field that is not null to signify and update. diff -ruN cleaned/modules/Users/Users.php working/modules/Users/Users.php --- cleaned/modules/Users/Users.php 2007-05-04 02:32:05.000000000 +0200 +++ working/modules/Users/Users.php 2007-05-04 02:59:03.000000000 +0200 @@ -163,6 +163,11 @@ $this->log->debug("Exiting Users() method ..."); } + function __toString() + { + return "[[USERS]]"; + } + // Mike Crowe Mod --------------------------------------------------------Default ordering for us /** * Function to get sort order From weigelt at metux.de Wed Sep 26 08:50:45 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:50:45 +0200 Subject: [Vtigercrm-developers] [PATCH] TeX rendering API and invoice pdf Message-ID: <20070926125045.GE21523@nibiru.local> Hi folks, these patches add an universal rendering API for things like invoices and an TeX renderer backend. The old invoice pdf code is changed to run via the rendering API. Now it's very easy to add new renderers. I also included my own templates as example. The API patch (renderapi-1) does not change anything but just adding some new files in the lib/render/ subdir and could be applied to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/lib/render/README htdocs/lib/render/README --- htdocs.orig/lib/render/README 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/README 2007-05-09 13:53:10.000000000 +0200 @@ -0,0 +1 @@ +This subdirectory contains the TeX rendering stuff. diff -ruN htdocs.orig/lib/render/RenderFactory.php htdocs/lib/render/RenderFactory.php --- htdocs.orig/lib/render/RenderFactory.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/RenderFactory.php 2007-05-09 17:05:57.000000000 +0200 @@ -0,0 +1,64 @@ +engine = $e; + } + + function __toString() + { + return "Unknown Engine: \"".$this->engine."\""; + } +} + +class E_Render_FormatNotSupportedByEngine extends Exception +{ + var $engine; + var $format; + + function E_Render_FormatNotSupportedByEngine($format,$engine) + { + $this->format = $format; + $this->engine = $engine; + } + + function __toString() + { + return "Format \"".$this->format. + "\" not supported by engine \"". + $this->engine. + "\""; + } +} + +class RenderFactory +{ + /* public static */ function getRenderer_Invoice($param) + { + if (!($f = $param{'format'})) + throw new Exception("missing output format"); + if (!($e = $param{'engine'})) + throw new Exception("missing engine"); + + switch ($e) + { + case 'pdflatex': + { + if ($f != 'application/pdf') + throw new E_Render_FormatNotSupportedByEngine($f,$e); + + require_once(RENDER_LIB_PREFIX.'TexRender_Invoice.php'); + return new TexRender_Invoice($param); + } + default: + throw new E_Render_UnknownEngine($e); + } + } +} diff -ruN htdocs.orig/lib/render/TexEncode.php htdocs/lib/render/TexEncode.php --- htdocs.orig/lib/render/TexEncode.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/TexEncode.php 2007-05-10 02:51:50.000000000 +0200 @@ -0,0 +1,101 @@ + + +*/ + +// NOTE: the webserver needs *write* acccess to this directory +// we normally take the session storage dir +define('TEXRENDER_TMP_MASK', '{SESSION.SAVE_PATH}/texrender-{SESSION.ID}-{NAME}'); +define('TEXRENDER_TEMPLATE_DIR', 'templates/tex/{TEMPLATE-NAME}/'); + +require_once(RENDER_LIB_PREFIX.'TexEncode.php'); + +class TexRender_Invoice +{ + /* private */ var $tmpmask; + /* private */ var $data; + /* private */ var $product_items; + /* private */ var $fn_tex; + /* private */ var $fn_pdf; + /* private */ var $fn_template; + /* private */ var $key; + + /* private */ function _tmpname($name) + { + return str_replace('{SESSION.NAME}', session_name(), + str_replace('{SESSION.ID}', session_id(), + str_replace('{SESSION.SAVE_PATH}', realpath(ini_get('session.save_path')), + str_replace('{NAME}', $name, + $this->tmpmask + )))); + } + + /* private */ function _test_write_access() + { + $fn = $this->_tmpname('write-test'); + if (!($fp=fopen($fn,"w"))) + throw new Exception("write-test: could not open file for writing: $fn"); + fputs($fp,"TEST123"); + fclose($fp); + + $res = trim(implode('',file($fn))); + if ($res != "TEST123") + throw new Exception("write-test: reading test data failed for file: $fn"); + + unlink($fn); + + return true; + } + + function TexRender_Invoice($param) + { + // test write access and otherwise failed + $this->tmpmask = TEXRENDER_TMP_MASK; + + // should be already cought by the factory, but just to be sure + if ($param{'format'} != 'application/pdf') + throw new Exception("fomat not supported by this renderer: ".$param{'format'}); + + if (!$param{'template'}) + throw new Exception("missing template name"); + + $this->template_name = $param{'template'}; + $this->data = array(); + $this->_test_write_access(); + $this->key = md5(serialize(gettimeofday)); + $this->fn_tex = $this->_tmpname($this->key.'.tex'); + $this->fn_pdf = $this->_tmpname($this->key.'.pdf'); + $this->template_dir= realpath(str_replace('{TEMPLATE-NAME}', $this->template_name,TEXRENDER_TEMPLATE_DIR)); + $this->fn_template_main = $this->template_dir.'/invoice/main.texi'; + $this->fn_template_item = $this->template_dir.'/invoice/item.texi'; + + $inc = $this->template_dir.'/config.php'; + if (!include($inc)) + throw new Exception("could not load config: $inc"); + + if (!is_array($this->config = $tex_template_config)) + throw new Exception("missing template config"); + + if (!$this->config{'lang'}) + throw new Exception("language not set in template config"); + } + + function addData($par) + { + foreach($par as $walk => $cur) + $this->data{$walk} = $cur; + } + + function checkProductItem($item) + { + if (!$item{'name'}) + throw new Exception("missing item name"); + if (!$item{'amount'}) + throw new Exception("missing amount"); + if (!is_numeric($item{'amount'})) + throw new Exception("amount must be numeric"); + if (!$item{'price'}) + throw new Exception("missing price"); + if (!is_numeric($item{'price'})) + throw new Exception("price must be numeric"); + if (($item{'discount'})&&($item{'discount'} != 0)) + throw new Exception("discount not supported yet by this renderer"); + if (!is_numeric($item{'tax_percent'})) + throw new Exception("tax_percent must be numeric"); + } + + function checkData() + { + if ((!is_array($this->_product_items)) || + (!count($this->_product_items))) + throw new Exception("no product items"); + + if (!$this->data{'ident'}) + throw new Exception("missing ident"); + } + + /* public */ function addProductItem($item) + { + // check for correct items + $this->checkProductItem($item); + + // calculate some stuff if necessary + if (!$item{'total'}) + $item{'total'} = $item{'price'} * $item{'amount'}; + if (!$item{'taxes'}) + $item{'taxes'} = $item{'total'} * $item{'tax_percent'}; + if (!$item{'topay'}) + $item{'topay'} = $item{'total'} + $item{'taxes'}; + + $this->_product_items[] = $item; + } + + /* public String */ function getOutputContentType() + { + return 'application/pdf'; + } + + /* private String */ function _generate_tex() + { + if (!($tmpl_main = implode('',file($this->fn_template_main)))) + throw new Exception("could not load main template: ".$this->fn_template_main); + if (!($tmpl_item = implode('',file($this->fn_template_item)))) + throw new Exception("could not load item template: ".$this->fn_template_item); + + // generate the item list + foreach ($this->_product_items as $walk => $cur) + { + $items .= + str_replace('::Item:Name::', $cur{'name'}, + str_replace('::Item:Price::', TexEncode::money($cur{'price'}), + str_replace('::Item:Amount::', $cur{'amount'}, + str_replace('::Item:Taxrate::', $cur{'tax_percent'}, + str_replace('::Item:Description::', $cur{'description'}, + str_replace('::Item:Comment::', trim($cur{'comment'}), + str_replace('::Item:Discount::', TexEncode::money($cur{'discount'}), + str_replace('::Item:Total::', TexEncode::money($cur{'total'}), + str_replace('::Item:Taxes::', TexEncode::money($cur{'taxes'}), + str_replace('::Item:Topay::', TexEncode::money($cur{'topay'}), + $tmpl_item)))))))))); + + $all_total += $cur{'total'}; + $all_taxes += $cur{'taxes'}; + $all_topay += $cur{'topay'}; + } + + $content = + str_replace('::TemplateDir::', $this->template_dir, + str_replace('::Items::', $items, + str_replace('::Bill:Ident::', $this->data{'ident'}, + str_replace('::Bill:Total::', TexEncode::money($all_total), + str_replace('::Bill:Taxes::', TexEncode::money($all_taxes), + str_replace('::Bill:Topay::', TexEncode::money($all_topay), + str_replace('::Company:Addr:Street::', $this->data{'company:addr:street'}, + str_replace('::Company:Addr:PCode::', $this->data{'company:addr:pcode'}, + str_replace('::Company:Addr:City::', $this->data{'company:addr:city'}, + str_replace('::Company:Addr:Country::', $this->data{'company:addr:country'}, + str_replace('::Company:Addr:State::', $this->data{'company:addr:state'}, + str_replace('::Company:Phone::', $this->data{'company:phone'}, + str_replace('::Company:Fax::', $this->data{'company:fax'}, + str_replace('::Company:Website::', $this->data{'company:website'}, + str_replace('::Customer:Name::', $this->data{'customer:name'}, + str_replace('::Customer:Addr:Street::', TexEncode::text($this->data{'billing:addr:street'}), + str_replace('::Customer:Addr:PCode::', TexEncode::text($this->data{'billing:addr:pcode'}), + str_replace('::Customer:Addr:City::', TexEncode::text($this->data{'billing:addr:city'}), + str_replace('::Customer:Addr:State::', TexEncode::text($this->data{'billing:addr:state'}), + str_replace('::Customer:Addr:Country::', TexEncode::text($this->data{'billing:addr:country'}), + $tmpl_main)))))))))))))))))))); + + return $content; + } + + /* public */ function generate() + { + $this->checkData(); + $tex = $this->_generate_tex(); + @unlink($this->fn_tex); + if (!($fp_tex = fopen($this->fn_tex,"w"))) + throw new Exception("could not open tex source file: ".$this->fn_tex); + + fputs($fp_tex,$tex); + fclose($fp_tex); + + $cmd = 'cd '.dirname($this->fn_tex).' && pdflatex '.$this->fn_tex; + `$cmd` ; `$cmd` ; // call it twice for table calculations + } + + // send appropriate http headers and output file + /* public */ function sendHTTPOutput() + { + $this->generate(); + Header("Content-Type: ".$this->getOutputContentType()); + readfile($this->fn_pdf); + } +} -------------- next part -------------- diff -ruN htdocs.orig/modules/Invoice/CreatePDF.php htdocs/modules/Invoice/CreatePDF.php --- htdocs.orig/modules/Invoice/CreatePDF.php 2007-05-09 00:56:25.000000000 +0200 +++ htdocs/modules/Invoice/CreatePDF.php 2007-05-10 15:30:08.000000000 +0200 @@ -9,67 +9,36 @@ * ********************************************************************************/ - -require_once('include/fpdf/pdf.php'); -require_once('include/fpdf/pdfconfig.php'); require_once('modules/Invoice/Invoice.php'); require_once('modules/Organization/Organization.php'); require_once('include/database/PearDatabase.php'); require_once('include/utils/EditViewUtils.php'); +require_once('lib/render/RenderFactory.php'); -global $adb,$app_strings,$focus; -global $log; - -// for template checking ... -$tmpl_dirs = array( "firstpage", "pages", "lastpage"); -$tmpl_files = array( "header.php", "body.php", "footer.php"); +global $adb,$app_strings,$focus,$log; $sql="select currency_symbol from vtiger_currency_info"; $result = $adb->query($sql); $currency_symbol = $adb->query_result($result,0,'currency_symbol'); -// would you like and end page? 1 for yes 0 for no -$endpage="1"; - $id = $_REQUEST['record']; //retreiving the vtiger_invoice info $focus = new Invoice(); $focus->retrieve_entity_info($_REQUEST['record'],"Invoice"); -$account_name = getAccountName($focus->column_fields[account_id]); -$invoice_no = $focus->column_fields[invoice_no]; // **************** BEGIN POPULATE DATA ******************** - -// populate data if($focus->column_fields["salesorder_id"] != '') $so_name = getSoName($focus->column_fields["salesorder_id"]); else $so_name = ''; $po_name = $focus->column_fields["purchaseorder"]; -$valid_till = $focus->column_fields["duedate"]; -$valid_till = getDisplayDate($valid_till); -$bill_street = $focus->column_fields["bill_street"]; -$bill_city = $focus->column_fields["bill_city"]; -$bill_state = $focus->column_fields["bill_state"]; -$bill_code = $focus->column_fields["bill_code"]; -$bill_country = $focus->column_fields["bill_country"]; - -$contact_name =getContactName($focus->column_fields["contact_id"]); -$ship_street = $focus->column_fields["ship_street"]; -$ship_city = $focus->column_fields["ship_city"]; -$ship_state = $focus->column_fields["ship_state"]; -$ship_code = $focus->column_fields["ship_code"]; -$ship_country = $focus->column_fields["ship_country"]; - -$conditions = from_html($focus->column_fields["terms_conditions"]); -$description = from_html($focus->column_fields["description"]); -$status = $focus->column_fields["invoicestatus"]; - // Company information -$crmid = $focus->column_fields["record_id"]; +if (!($crmid = $focus->column_fields["record_id"])) + throw new Exception("crmid is null/empty"); + $org_query = "select organizationname from vtiger_entity2org where crmid='".$crmid."'"; $result = $adb->query($org_query); $org_rows = $adb->num_rows($result); @@ -82,7 +51,7 @@ $org_name = $adb->query_result($result,0,"organizationname"); } else { $log->info( $module. " '".$crmid."' not assigned to any organization"); - exit(); + throw new Exception("crmid $crmid not assigned to any organisation (org_name=$org_name)"); } // get organization/orgunit details @@ -92,68 +61,11 @@ $log->debug( "Here we are: getOrgUnits( $organization, $orgunitid);"); $orgunittab = getOrgUnits( $organization, $orgunitid); -if( is_array( $orgunittab[$orgunitid])) { - $orgdetails = $orgunittab[$orgunitid]; - $org_name = $orgdetails["name"]; - $org_address = $orgdetails["address"]; - $org_city = $orgdetails["city"]; - $org_state = $orgdetails["state"]; - $org_country = $orgdetails["country"]; - $org_code = $orgdetails["code"]; - $org_phone = $orgdetails["phone"]; - $org_fax = $orgdetails["fax"]; - $org_website = $orgdetails["website"]; - $logo_name = $orgdetails["logoname"]; - $template = $orgdetails["invoice_template"]; -} else { - $log->info( $module. " '".$crmid."' organization/orgunitid mismatch"); - exit(); -} - -// Check the template -if( $template == "") - $template = "Default"; - -if( $template != "Default") { - foreach( $tmpl_dirs as $dir) { - foreach( $tmpl_files as $file) { - if( !file_exists( "modules/".$module."/pdf_templates/".$template."/".$dir."/".$file)) { - $log->info( $module. " '".$crmid."' organization/orgunitid template '".$template."' is incomplete"); - $log->info("Missing file: modules/".$module."/pdf_templates/".$template."/".$dir."/".$file); - $log->info("Fallback to the Default template"); - $template = "Default"; - break 2; - } - } - } -} -//NOTE : Removed currency symbols and added with Grand Total text. it is enough to show the currency symbol in one place - -//we can also get the NetTotal, Final Discount Amount/Percent, Adjustment and GrandTotal from the array $associated_products[1]['final_details'] - -//getting the Net Total -$price_subtotal = number_format($focus->column_fields["hdnSubTotal"],2,'.',','); - -//Final discount amount/percentage -$discount_amount = $focus->column_fields["hdnDiscountAmount"]; -$discount_percent = $focus->column_fields["hdnDiscountPercent"]; - -if($discount_amount != "") - $price_discount = number_format($discount_amount,2,'.',','); -else if($discount_percent != "") -{ - //This will be displayed near Discount label - used in include/fpdf/templates/body.php - $final_price_discount_percent = "(".number_format($discount_percent,2,'.',',')." %)"; - $price_discount = number_format((($discount_percent*$focus->column_fields["hdnSubTotal"])/100),2,'.',','); -} -else - $price_discount = "0.00"; - -//Adjustment -$price_adjustment = number_format($focus->column_fields["txtAdjustment"],2,'.',','); -//Grand Total -$price_total = number_format($focus->column_fields["hdnGrandTotal"],2,'.',','); +if(!is_array( $orgunittab[$orgunitid])) + throw new Exception("org/orgunitid mismatch"); +$orgdetails = $orgunittab[$orgunitid]; +$template = $orgdetails["invoice_template"]; //get the Associated Products for this Invoice $focus->id = $focus->column_fields["record_id"]; @@ -166,6 +78,8 @@ //To calculate the group tax amount if($final_details['taxtype'] == 'group') { + throw new Exception("group tax not supported"); + $group_tax_total = $final_details['tax_totalamount']; $price_salestax = number_format($group_tax_total,2,'.',','); @@ -191,47 +105,37 @@ $sh_tax_amount = $final_details['shtax_totalamount']; $price_shipping_tax = number_format($sh_tax_amount,2,'.',','); +$render = RenderFactory::getRenderer_Invoice(array +( + format => 'application/pdf', + engine => 'pdflatex', + template => 'default' +)); //This is to get all prodcut details as row basis -for($i=1,$j=$i-1;$i<=$num_products;$i++,$j++) +for($i=1;$i<=$num_products;$i++) { - $product_name[$i] = $associated_products[$i]['productName'.$i]; - $prod_description[$i] = $associated_products[$i]['productDescription'.$i]; - $product_id[$i] = $associated_products[$i]['hdnProductId'.$i]; - $qty[$i] = $associated_products[$i]['qty'.$i]; - $unit_price[$i] = number_format($associated_products[$i]['unitPrice'.$i],2,'.',','); - $list_price[$i] = number_format($associated_products[$i]['listPrice'.$i],2,'.',','); - $list_pricet[$i] = $associated_products[$i]['listPrice'.$i]; - $discount_total[$i] = $associated_products[$i]['discountTotal'.$i]; - //aded for 5.0.3 pdf changes - $product_code[$i] = $associated_products[$i]['hdnProductcode'.$i]; - - $taxable_total = $qty[$i]*$list_pricet[$i]-$discount_total[$i]; - - $producttotal = $taxable_total; - $total_taxes = '0.00'; if($focus->column_fields["hdnTaxType"] == "individual") { - $total_tax_percent = '0.00'; - //This loop is to get all tax percentage and then calculate the total of all taxes - for($tax_count=0;$tax_countaddProductItem(array + ( + code => $associated_products[$i]['hdnProductcode'.$i], + name => $associated_products[$i]['productName'.$i], + amount => $associated_products[$i]['qty'.$i], + price => $associated_products[$i]['listPrice'.$i], + unit_price => $associated_products[$i]['unitPrice'.$i], + discount => $associated_products[$i]['discountTotal'.$i], + tax_percent => (integer)($tax_percent)/100, + description => $associated_products[$i]['productDescription'.$i], + comment => $associated_products[$i]['comment'.$i] + )); // Product piecelists $query = "SELECT vtiger_crmentity.crmid, @@ -245,86 +149,46 @@ INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_products.productid WHERE vtiger_crmentity.deleted = 0 - AND vtiger_products2products_rel.productid = ".$product_id[$i]." + AND vtiger_products2products_rel.productid = ".$product_id." AND vtiger_products2products_rel.relation_type = 10"; $result = $adb->query($query); $pieces = $adb->num_rows($result); if( $pieces > 0) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = "consisting of:"; - $product_line[$j]["Qty"] = ""; - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - for( $pl=0; $pl<$pieces; $pl++) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = - $adb->query_result( $result, $pl, "productname"); - $product_line[$j]["Qty"] = - $adb->query_result( $result, $pl, "quantity"); - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - } + throw new Exception("multiple pieces not yet supported !"); } } -//echo '
Product Details ==>';print_r($product_line);echo '
'; -//echo '
';print_r($associated_products);echo '
'; - // ************************ END POPULATE DATA ***************************8 -$page_num='1'; -$pdf = new PDF( 'P', 'mm', 'A4' ); -$pdf->Open(); - -$num_pages=ceil(count($product_line)/$products_per_page); - - -$current_product=0; -for($l=0;$l<$num_pages;$l++) -{ - $line=array(); - if($num_pages == $page_num) - $lastpage=1; - - while($current_product != $page_num*$products_per_page) - { - $line[]=$product_line[$current_product]; - $current_product++; - } - - //if bottom > 145 then we skip the Description and T&C in every - //page and display only in lastpage - //if you want to display the description and T&C in each page then - //set the display_desc_tc='true' and bottom <= 145 in pdfconfig.php - $pdf->AddPage(); - if( $page_num == "1") { - include("pdf_templates/".$template."/firstpage/header.php"); - include("pdf_templates/".$template."/firstpage/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/firstpage/footer.php"); - } else { - include("pdf_templates/".$template."/pages/header.php"); - include("pdf_templates/".$template."/pages/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/pages/footer.php"); - } - - $page_num++; - - if (($endpage) && ($lastpage)) - { - $pdf->AddPage(); - include("pdf_templates/".$template."/lastpage/header.php"); - include("pdf_templates/".$template."/lastpage/body.php"); - include("pdf_templates/".$template."/lastpage/footer.php"); - } -} - - -$pdf->Output('Invoice-'.$crmid.'.pdf','D'); //added file name to make it work in IE, also forces the download giving the user the option to save +$render->addData(array +( + 'valid_until' => $focus->column_fields["duedate"], + 'description' => from_html($focus->column_fields["description"]), + 'conditions' => from_html($focus->column_fields["terms_conditions"]), + 'tax_type' => $focus->column_fields['hdnTaxType'], + 'ident' => $focus->column_fields['invoice_no'], + 'contact:name' => getContactName($focus->column_fields["contact_id"]), + 'company:name' => $orgdetails["name"], + 'company:addr:city' => $orgdetails["city"], + 'company:addr:pcode' => $orgdetails["code"], + 'company:addr:street' => $orgdetails["address"], + 'company:addr:country' => $orgdetails["country"], + 'company:addr:state' => $orgdetails["state"], + 'company:phone' => $orgdetails["phone"], + 'company:fax' => $orgdetails["fax"], + 'company:website' => $orgdetails["website"], + 'customer:name' => getAccountName($focus->column_fields[account_id]), + 'shipping:addr:city' => $focus->column_fields["ship_city"], + 'shipping:addr:pcode' => $focus->column_fields["ship_code"], + 'shipping:addr:street' => $focus->column_fields["ship_street"], + 'shipping:addr:country' => $ship_country = $focus->column_fields["ship_country"], + 'shipping:addr:state' => $focus->column_fields["ship_state"], + 'billing:addr:city' => $focus->column_fields["bill_city"], + 'billing:addr:pcode' => $focus->column_fields["bill_code"], + 'billing:addr:street' => $focus->column_fields["bill_street"], + 'billing:addr:country' => $focus->column_fields["bill_country"], + 'billing:addr:state' => $focus->column_fields["bill_state"] +)); -// Added to fix annoying bug that includes HTML in your PDF +$render->sendHTTPOutput(); exit(); -?> -------------- next part -------------- diff -ruN htdocs.orig/templates/tex/default/config.php htdocs/templates/tex/default/config.php --- htdocs.orig/templates/tex/default/config.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/config.php 2007-05-09 20:00:54.000000000 +0200 @@ -0,0 +1,7 @@ + 'de', + 'tex2pdf' => 'pdflatex' +); diff -ruN htdocs.orig/templates/tex/default/invoice/item.texi htdocs/templates/tex/default/invoice/item.texi --- htdocs.orig/templates/tex/default/invoice/item.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/item.texi 2007-05-10 14:25:30.000000000 +0200 @@ -0,0 +1,2 @@ +::Item:Name:: \ifempty{::Item:Comment::}{}{(::Item:Comment::)} & ::Item:Price:: \Euro & ::Item:Amount:: & ::Item:Total:: \Euro \\ +\hline diff -ruN htdocs.orig/templates/tex/default/invoice/main.texi htdocs/templates/tex/default/invoice/main.texi --- htdocs.orig/templates/tex/default/invoice/main.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/main.texi 2007-05-10 14:15:53.000000000 +0200 @@ -0,0 +1,53 @@ +\def\ResourcePrefix{::TemplateDir::/resource} +\input \ResourcePrefix/bill.tex + +\def\ifempty#1#2#3{\def\inner{#1}\ifx\inner\empty + #2\else #3\fi } + +\begin{document} + \letterInit + \begin{letter}{% + ::Customer:Addr:Street:: \ \\ + ::Customer:Addr:PCode::\ ::Customer:Addr:City:: \ \\ + \ \\[\medskipamount] + } + + \opening{\Large Ihre Rechnung:\normalsize~~~ ::Bill:Ident:: +%% ~~~~~~~~~~vom:~~::BillDate:: + } + + \setlength\LTleft{0pt} + \setlength\LTright{72pt} + \begin{longtable}{|p{300pt}|r|r|r|} + \hline + Leistung & Preis & Menge & Summe \\ + \hline + \endhead + \hline + \hline + \multicolumn{3}{|l|}{Rechnungsbetrag} & ::Bill:Total:: \Euro \\ + \hline + \multicolumn{3}{|l|}{Umsatzsteuer} & ::Bill:Taxes:: \Euro \\ + \hline + \hline + \multicolumn{3}{|l|}{Gesamt} & ::Bill:Topay:: \Euro \\ + \hline + \noalign{ + \vspace{12pt} + \small + Soweit nicht anders angegeben entspricht das Lieferdatum + dem Rechnungsdatum + } + \noalign{ + \vspace{12pt} + \normalsize + Bitte {\"u}berweisen Sie den f{\"a}lligen Betrag binnen + 10~Tagen auf eines unserer Konten. \newline + Die Ware bleibt bis zur vollst{\"a}ndigen Bezahlung Eigentum + von metux IT service. + } + \endlastfoot + ::Items:: + \end{longtable} + \end{letter} +\end{document} diff -ruN htdocs.orig/templates/tex/default/resource/bill.tex htdocs/templates/tex/default/resource/bill.tex --- htdocs.orig/templates/tex/default/resource/bill.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/bill.tex 2007-05-09 23:55:35.000000000 +0200 @@ -0,0 +1,22 @@ +\input{\ResourcePrefix/metux.tex} + +\documentclass[a4paper,bottom=0cm,fromalign=center,fromlogo=true]{scrlttr2} +\usepackage{epsfig} +\usepackage{longtable} + +\usepackage{ngerman} +\usepackage[latin1]{inputenc} +%usepackage{fancyhdr} +%pagestyle{fancy} + +% brief-init +\newcommand\letterInit{% + \captionsgerman + \dategerman + \firsthead{\metuxHeader} + \firstfoot{\metuxFooter} + \setkomavar{fromname}{metux IT service} + \setkomavar{fromaddress}{Heydaer Stra{\ss}e 23, 99338 Plaue} +} + +\newcommand\Euro{Euro} diff -ruN htdocs.orig/templates/tex/default/resource/header.eps htdocs/templates/tex/default/resource/header.eps --- htdocs.orig/templates/tex/default/resource/header.eps 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.eps 2002-09-17 01:45:21.000000000 +0200 @@ -0,0 +1,178 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: header.eps +%%Creator: fig2dev Version 3.2 Patchlevel 3d +%%CreationDate: Tue Jul 30 18:35:09 2002 +%%For: ems at nibiru.metux.de () +%%BoundingBox: 0 0 643 88 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 88 moveto 0 0 lineto 643 0 lineto 643 88 lineto closepath clip newpath +-4.5 96.9 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/reencdict 12 dict def /ReEncode { reencdict begin +/newcodesandnames exch def /newfontname exch def /basefontname exch def +/basefontdict basefontname findfont def /newfont basefontdict maxlength dict def +basefontdict { exch dup /FID ne { dup /Encoding eq +{ exch dup length array copy newfont 3 1 roll put } +{ exch newfont 3 1 roll put } ifelse } { pop pop } ifelse } forall +newfont /FontName newfontname put newcodesandnames aload pop +128 1 255 { newfont /Encoding get exch /.notdef put } for +newcodesandnames length 2 idiv { newfont /Encoding get 3 1 roll put } repeat +newfontname newfont definefont pop end } def +/isovec [ +8#055 /minus 8#200 /grave 8#201 /acute 8#202 /circumflex 8#203 /tilde +8#204 /macron 8#205 /breve 8#206 /dotaccent 8#207 /dieresis +8#210 /ring 8#211 /cedilla 8#212 /hungarumlaut 8#213 /ogonek 8#214 /caron +8#220 /dotlessi 8#230 /oe 8#231 /OE +8#240 /space 8#241 /exclamdown 8#242 /cent 8#243 /sterling +8#244 /currency 8#245 /yen 8#246 /brokenbar 8#247 /section 8#250 /dieresis +8#251 /copyright 8#252 /ordfeminine 8#253 /guillemotleft 8#254 /logicalnot +8#255 /hyphen 8#256 /registered 8#257 /macron 8#260 /degree 8#261 /plusminus +8#262 /twosuperior 8#263 /threesuperior 8#264 /acute 8#265 /mu 8#266 /paragraph +8#267 /periodcentered 8#270 /cedilla 8#271 /onesuperior 8#272 /ordmasculine +8#273 /guillemotright 8#274 /onequarter 8#275 /onehalf +8#276 /threequarters 8#277 /questiondown 8#300 /Agrave 8#301 /Aacute +8#302 /Acircumflex 8#303 /Atilde 8#304 /Adieresis 8#305 /Aring +8#306 /AE 8#307 /Ccedilla 8#310 /Egrave 8#311 /Eacute +8#312 /Ecircumflex 8#313 /Edieresis 8#314 /Igrave 8#315 /Iacute +8#316 /Icircumflex 8#317 /Idieresis 8#320 /Eth 8#321 /Ntilde 8#322 /Ograve +8#323 /Oacute 8#324 /Ocircumflex 8#325 /Otilde 8#326 /Odieresis 8#327 /multiply +8#330 /Oslash 8#331 /Ugrave 8#332 /Uacute 8#333 /Ucircumflex +8#334 /Udieresis 8#335 /Yacute 8#336 /Thorn 8#337 /germandbls 8#340 /agrave +8#341 /aacute 8#342 /acircumflex 8#343 /atilde 8#344 /adieresis 8#345 /aring +8#346 /ae 8#347 /ccedilla 8#350 /egrave 8#351 /eacute +8#352 /ecircumflex 8#353 /edieresis 8#354 /igrave 8#355 /iacute +8#356 /icircumflex 8#357 /idieresis 8#360 /eth 8#361 /ntilde 8#362 /ograve +8#363 /oacute 8#364 /ocircumflex 8#365 /otilde 8#366 /odieresis 8#367 /divide +8#370 /oslash 8#371 /ugrave 8#372 /uacute 8#373 /ucircumflex +8#374 /udieresis 8#375 /yacute 8#376 /thorn 8#377 /ydieresis] def +/Courier-Bold /Courier-Bold-iso isovec ReEncode +/Times-Bold /Times-Bold-iso isovec ReEncode +/Times-Roman /Times-Roman-iso isovec ReEncode +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +10 setmiterlimit + 0.06000 0.06000 sc +% +% Fig objects follow +% +/Times-Roman-iso ff 150.00 scf sf +6600 1200 m +gs 1 -1 sc (www.metux.de) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 825 m +gs 1 -1 sc (+49 36207 51833) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 675 m +gs 1 -1 sc (+49 174 7066481) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 1350 m +gs 1 -1 sc (contact @ metux.de) col8 sh gr +/Courier-Bold-iso ff 180.00 scf sf +1650 750 m +gs 1 -1 sc (Ihr innovativer IT-Dienstleister) col25 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 1200 m +gs 1 -1 sc ( Internet) col0 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 675 m +gs 1 -1 sc ( Telephon) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1350 m +gs 1 -1 sc (Advance Bank \(BLZ 702 300 00\), Kto-Nr: 200 72 64 206) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1575 m +gs 1 -1 sc (Enrico Weigelt, Steuer-Nr: 154/286/05931) col8 sh gr +/Times-Bold-iso ff 300.00 scf sf +75 750 m +gs 1 -1 sc (metux ITS) col9 sh gr +/Courier-Bold-iso ff 150.00 scf sf +150 1350 m +gs 1 -1 sc (Bankverbindung:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +750 1575 m +gs 1 -1 sc (Inhaber:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +225 1125 m +gs 1 -1 sc (Hausanschrift:) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1125 m +gs 1 -1 sc (Heydaer Strasse 23 99338 Plaue) col8 sh gr +/Times-Roman-iso ff 180.00 scf sf +10125 300 m +gs 1 -1 sc (tricktext) col0 sh gr +$F2psEnd +rs diff -ruN htdocs.orig/templates/tex/default/resource/header.fig htdocs/templates/tex/default/resource/header.fig --- htdocs.orig/templates/tex/default/resource/header.fig 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.fig 2002-09-17 01:44:26.000000000 +0200 @@ -0,0 +1,24 @@ +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-2 +1200 2 +4 0 0 893 -1 14 10 -0.0000 4 135 1350 150 1350 Bankverbindung:\001 +4 0 0 890 -1 14 10 -0.0000 4 105 1260 225 1125 Hausanschrift:\001 +4 0 9 918 -1 2 20 0.0000 4 150 1005 75 750 metux ITS\001 +4 0 25 969 -1 14 12 -0.0000 4 135 3360 1650 750 Ihr innovativer IT-Dienstleister\001 +4 0 0 942 -1 2 10 0.0000 4 135 750 5700 675 Telephon\001 +4 0 8 991 -1 0 10 0.0000 4 105 1050 6600 675 +49 174 7066481\001 +4 0 8 997 -1 0 10 0.0000 4 105 1050 6600 825 +49 36207 51833\001 +4 0 8 999 -1 0 10 0.0000 4 105 990 6600 1200 www.metux.de\001 +4 0 0 946 -1 2 10 0.0000 4 105 765 5700 1200 Internet\001 +4 0 8 888 -1 0 10 0.0000 4 135 1935 1650 1125 Heydaer Strasse 23 99338 Plaue\001 +4 0 8 987 -1 0 10 0.0000 4 135 1230 6600 1350 contact @ metux.de\001 +4 0 8 933 -1 0 10 0.0000 4 135 3435 1650 1350 Advance Bank (BLZ 702 300 00), Kto-Nr: 200 72 64 206\001 +4 0 0 50 0 0 12 0.0000 4 135 645 10125 300 tricktext\001 +4 0 0 893 -1 14 10 0.0000 4 105 720 750 1575 Inhaber:\001 +4 0 8 933 -1 0 10 0.0000 4 135 2415 1650 1575 Enrico Weigelt, Steuer-Nr: 154/286/05931\001 diff -ruN htdocs.orig/templates/tex/default/resource/metux.tex htdocs/templates/tex/default/resource/metux.tex --- htdocs.orig/templates/tex/default/resource/metux.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/metux.tex 2007-05-09 23:56:59.000000000 +0200 @@ -0,0 +1,76 @@ +% Variablen .... % +\def\metuxSignature{\epsfig{file=\ResourcePrefix/signature.png}} +\def\metuxName{metux IT service} +\def\metuxPhone{+49-36207-519931} +\def\metuxFax{+49-36207-519932} +\def\metuxEmail{weigelt at metux.de} +\def\metuxUrl{www.metux.de} +\def\metuxAddress{Heydaer Stra{\ss}e 23, 99338 Plaue} +\def\metuxBankAccount{0972596900} +\def\metuxBankCompany{Dresdner Bank AG} +\def\metuxBankCode{82080000} +\def\metuxBank{Kto: \metuxBankAccount, BLZ: \metuxBankCode, \metuxBankCompany} +\def\metuxStrnr{154/286/05931} +\def\metuxOwner{Enrico Weigelt} + +\def\nl{\ \\} +\def\metuxGeomLeft{2cm} +\def\metuxGeomRight{2cm} +\def\metuxGeomBottom{1cm} +\def\metuxGeomHead{1cm} +\def\metuxGeomTop{0.5cm} + +\newcommand\metuxFooter +{ + \hrule + ~\newline + \parbox[l]{180pt}{ + \small + \metuxName \\ + Inh. \metuxOwner \\ + \metuxAddress \\ + StNr: \metuxStrnr + } + \parbox[l]{180pt}{ + \small + Bankverbindung: \\ + Kto: \metuxBankAccount \\ + BLZ: \metuxBankCode \\ + \metuxBankCompany + } + \parbox[l]{180pt}{ + \small + Tel: \metuxPhone \\ + Fax: \metuxFax \\ + eMail: \metuxEmail \\ + WWW: \metuxUrl + } +} + +\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.png}} +%\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.eps}} +\newcommand\metuxInit{ + \renewcommand{\headrulewidth}{0.5pt} + \renewcommand{\footrulewidth}{0.5pt} + \cfoot{\metuxFooter} + \chead{\metuxHeader} +} + +% \newcommand\Euro{Euro} + +\def\metuxMFG{% + \noindent Mit freundlichem Gru\ss + + \epsfig{\metuxSignature} + + \noindent Enrico Weigelt \\ + metux IT service +} + +\def\metuxMFGpriv{% + \noindent Mit freundlichem Gru\ss + + \metuxSignature + + \noindent Enrico Weigelt +} From prasad at vtiger.com Wed Sep 26 09:04:08 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:04:08 -0700 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods In-Reply-To: <20070926122938.GC21523@nibiru.local> References: <20070926122938.GC21523@nibiru.local> Message-ID: <11541eacf30.1877912300598081527.-6328444782417676545@vtiger.com> this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed Thank you for the patch. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: 09_nekrad_peardb-newfuncs.diff Type: application/octet-stream Size: 1024 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment-0001.obj From prasad at vtiger.com Wed Sep 26 09:08:22 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:08:22 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> Message-ID: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Hi David, thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. It would be good if you can talk to the project owner (developer) of http://forge.vtiger.com/projects/asterisk-integ/ You can share your ideas/requirements and if possible you can add the enhancements that project. If your project focus is completely different, you can create a new forge project and actively develop and contribute to community. Regards, Prasad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/350c4eb4/attachment-0001.html From prasad at vtiger.com Wed Sep 26 09:37:56 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:37:56 -0700 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods In-Reply-To: <20070926123644.GD21523@nibiru.local> References: <20070926123644.GD21523@nibiru.local> Message-ID: <1154209c25d.-5265518081636982803.-7355899420341582097@vtiger.com> Hi Enrico, I have a small concern to share with the fix you have mentioned: this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. PHP 5.2 requires __toString() method if an object should be contactenated with string, this was not the constraint with PHP 5.1 We use string contacts in debug statements, so adding __toString() to return a constant value from a object might not be a good way. Our patch for PHP 5.2 (vtiger 5.0.3) handles this problem by adding get_class($object) in the string concatenation, this way we don't change the class definition entirely. get_class($object) returns string which can be concatenated without problem. Some places we have replaced $user object with $user->user_name instead of get_class($user) because having user_name information is more useful. We have integrated such fix in our latest developement branch of vtiger 5.0.4. Hope this information was useful. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/d339f42a/attachment-0001.html From aresolimpico at gmail.com Wed Sep 26 10:24:21 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 11:24:21 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Message-ID: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> i think is a completely different. because that plug in is very good for a basic asterisk integration and a lot of users will want to kept it in that way. and if vam is another module any one can use both at the same time. so how i put vam on top of the page, in every page? (i change the name from vasterisk to vam vtiger asterisk manager) i don't know if i should create a new project until i have the info about how to put vam on top... with out that info all the project is useless. thanks!!!! David 2007/9/26, Prasad : > > Hi David, > > thanks for you response, i installed that plug in, it is very good, but i > need more complex management of asterisk. > > It would be good if you can talk to the project owner (developer) of > http://forge.vtiger.com/projects/asterisk-integ/ > > You can share your ideas/requirements and if possible you can add the > enhancements that project. > > If your project focus is completely different, you can create a new forge > project and > actively develop and contribute to community. > > Regards, > Prasad > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/988fc103/attachment-0001.html From aresolimpico at gmail.com Wed Sep 26 13:36:06 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 14:36:06 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> Message-ID: <4c307cb60709261036u5b73b08cj4d533deee89a2e92@mail.gmail.com> hi i think no one know where is the place (file) to put a module over the main tab... so i am going to tell you. the file is Header.tpl ../Smarty/templates/Header.tpl below the line 56 which says
how to put vam on top... with out that info all the project is useless. > > thanks!!!! > > David > > > 2007/9/26, Prasad : > > > > Hi David, > > > > thanks for you response, i installed that plug in, it is very good, but > > i need more complex management of asterisk. > > > > It would be good if you can talk to the project owner (developer) of > > http://forge.vtiger.com/projects/asterisk-integ/ > > > > You can share your ideas/requirements and if possible you can add the > > enhancements that project. > > > > If your project focus is completely different, you can create a new > > forge project and > > actively develop and contribute to community. > > > > Regards, > > Prasad > > > > > > _______________________________________________ > > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/0f79f3bb/attachment-0001.html From asha at vtiger.com Thu Sep 27 07:03:43 2007 From: asha at vtiger.com (Asha) Date: Thu, 27 Sep 2007 04:03:43 -0700 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build Message-ID: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070927/a47e0486/attachment-0001.html From minnie at vtiger.com Fri Sep 28 02:15:20 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 28 Sep 2007 11:45:20 +0530 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build In-Reply-To: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> References: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Message-ID: <1154ac143e6.-1328666412968226924.9121420989952442347@vtiger.com> Download url for .bin package http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.bin Minnie. ----On Thu, 27 Sep 2007 Asha wrote ---- Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070928/1bd77f2e/attachment-0001.html From kamalakannan at adventnet.com Tue Sep 11 06:42:19 2007 From: kamalakannan at adventnet.com (kamalakannan) Date: Tue, 11 Sep 2007 16:12:19 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <46E6710B.3030208@adventnet.com> plz ignore this mail From smkkannan at gmail.com Tue Sep 11 05:00:29 2007 From: smkkannan at gmail.com (kamal kannan) Date: Tue, 11 Sep 2007 14:30:29 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <48268dc50709110200m1a55d500pfe0f67f77d1e89c6@mail.gmail.com> plz ignore this mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/569a37fe/attachment-0003.html From kamal_subes2000 at rediffmail.com Tue Sep 11 05:11:56 2007 From: kamal_subes2000 at rediffmail.com (kamal kannan) Date: 11 Sep 2007 09:11:56 -0000 Subject: [Vtigercrm-developers] hi Message-ID: <20070911091156.21313.qmail@webmail72.rediffmail.com> hi to all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/ce13055d/attachment-0002.html From kmsnet at rediffmail.com Tue Sep 11 04:17:56 2007 From: kmsnet at rediffmail.com (Khaja Mohideen) Date: 11 Sep 2007 08:17:56 -0000 Subject: [Vtigercrm-developers] test Message-ID: <20070911081756.23375.qmail@f4mail204.rediffmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/2a47e59f/attachment-0002.html From ckwu at ck-erp.net Mon Sep 10 22:27:33 2007 From: ckwu at ck-erp.net (C K Wu) Date: Tue, 11 Sep 2007 10:27:33 +0800 Subject: [Vtigercrm-developers] CK-ERP (Open Source ERP / CRM / MRP) v.0.24.1 released [with vTiger 5.0.3 connector] Message-ID: <46E5FD15.7070104@ck-erp.net> Hi, folks, I have posted a new release, v.0.24.1, of CK-ERP, at SourceForge.Net, http://sourceforge.net/projects/ck-erp . New features include, a connector for LegalCase and updated connectors for ClearHealth, OpenEMR and osCommerce, facilities to convert sales order to purchase order and/or material/service requisition so as to procure the required material/service after a sale is concluded, addition of a sample law office chart of accounts and a sample medical practice chart of accounts, addition of Australian GST tax rate and updating of Canadian GST tax rate, addition of narrow/wide display option for the various case handling screens, addition of customer, vendor, employee contact lists, and, addition of German translation for the Quotation module. Special thank is due to David Epperson of Dallas for permission to make use of the "Law Firm Chart of Accounts" (located at http://www/txethics.org/TCLEPCOURSE2005/omlp/sec11.1.pdf) while generating the sample law office chart of accounts. The effort by Stefan Kemper of Switzerland in producing the new German translations is also gratefully acknowledged. [Please note that the sample medical practice chart of accounts is designed for countries/regions where medical doctors are allowed to dispense prescription drugs within their medical practices. If the relevant medical practice is operating within a jurisdiction where doctors are prohibited from dispensing drugs, then it may be a prudent measure to delete all the drug sale, COGS ? drugs, inventory ? drugs and related accounts to avoid a presumption that in-practice drug sale had been planned.] CK-ERP is an open source accounting/MRP/ERP/CRM system that runs on top of multiple middlewares. It comprises 22 modules - Administration, i18n, Contact Management, Customer Relationship, Customer Self Service, Vendor Relationship, Ledger, Bank Reconciliation, MRP, Warehouse, Inventory, Service, AP, AR, PO, SO, Quotation, POS for Cashier, POS for Manager, HR, Staff Self Service and Payroll. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups. Please report error and suggestion to the discussion group / mailing list, CK-ERP-en(at)googlegroups.com or CK-ERP-zh_CN(at)googlegroups.com . General history and expected development is available at the discussion group's Archive. Supported MiddleWares: LegalCase, MirrorMed, ClearHealth, OpenEMR, eGroupWare, Horde-GroupWare; Zencart, CRELoaded, osCMax, osCommerce; Drupal, Joomla, Mambo, e107, XOOPS, Xaraya; Moodle, Atutor; vTiger, XRMS; WordPress, b2evolution; TikiWiki; phpBB. Information/Demo Websites: http://ck-erp.org http://ck-erp.net http://ck-erp.com Download is available from, http://sourceforge.net/projects/ck-erp http://gforge.oss.org.cn/projects/ck-erp http://gf.cs.hit.edu.cn/projects/ck-erp http://www.cnforge.org/modules/xfmod/project/?ck-erp http://gro.clinux.org/projects/ck-ledger Cheers, Wu Chiu Kay, aka CK Wu, aka CK (CK is the preferred alias) Hong Kong From joey.novak at gmail.com Wed Sep 12 09:06:05 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 09:06:05 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. Message-ID: Hey Guys, So, the company I am working for has decided to implement a CRM, and they have budgeted a significant amount of money to do so. We like all the features of vTiger. The only thing that would stop us, is the lack of MSSQL support. We may go with it ontop of MySQL, however a significant portion of our companies money machine is composed of MSSQL DTS Jobs. We have to decided and prepare a plan by the end of the week (this has been in the works for a while). And in an effort to make the decision easier, I have spent some time working through the issues I see that prevent vTiger from running on MSSQL. While I do not yet have a succesful installation, I have gotten the tables to all be created properly, and I have a walkthrough for what I have done sitting on my computer at work (I'll send that out once I am in the office). I don't want to waste my time working through the installation issues if there are going to be LOTS of other little issues, by a LOT I mean > 100. We can slowly work through 100 MSSQL problems, but we can't afford to work through 1000. Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/24f2bcb8/attachment-0002.html From weigelt at metux.de Wed Sep 12 10:34:51 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 12 Sep 2007 16:34:51 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. In-Reply-To: References: Message-ID: <20070912143450.GA3489@nibiru.local> * Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Wed Sep 12 10:52:16 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 10:52:16 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... Message-ID: Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > Hi, > > > So, the company I am working for has decided to implement a CRM, > > and they have budgeted a significant amount of money to do so. > > We like all the features of vTiger. > > Cool. Maybe your company could provide some funds for completing > several outstanding things :) > (some of us are freelancers who mostly contribute during their > customer projects and can be hired ;-)) > > > The only thing that would stop us, is the lack of MSSQL support. > > We may go with it ontop of MySQL, however a significant portion of > > our companies money machine is composed of MSSQL DTS Jobs. > > Well, I clearly can understand you don't want MySQL, the SQL-enabled > cardfile ;-P. But WTH MSSQL ? > > We've got PostgreSQL support. Instead of burning so much money w/ > M$ license fees and the whole (Windows-generated) troubleshooting, > you can get an complete machine w/ pgsql on GNU/Linux or xBSD > and build evrything optimized for your hw. > > > We have to decided and prepare a plan by the end of the week (this > > has been in the works for a while). And in an effort to make the > > decision easier, I have spent some time working through the issues > > I see that prevent vTiger from running on MSSQL. > > One of the major points (IMHO) is that MSSQL's understanding of SQL > is even crappier than MySQL's. > > I *personally* wouldn't suggest porting to another homebrewn SQL dialect. > Better spend a day for becoming confident w/ PostgreSQL ;-P > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/29098b42/attachment-0002.html From joey.novak at gmail.com Wed Sep 12 11:38:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 11:38:42 -0400 Subject: [Vtigercrm-developers] Bug Found... Message-ID: I didn't see anyway on the website to submit a bug, (maybe I am blind?) install/4createConfigFile.php Line 106 to 120, single ='s are used instead of '==' Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/67bfcd05/attachment-0002.html From libregeek at gmail.com Wed Sep 12 23:57:45 2007 From: libregeek at gmail.com (Manilal K M) Date: Thu, 13 Sep 2007 09:27:45 +0530 Subject: [Vtigercrm-developers] Bug Found... In-Reply-To: References: Message-ID: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> On 12/09/2007, Joey Novak wrote: > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > install/4createConfigFile.php > > Line 106 to 120, single ='s are used instead of '==' > > Joey > Joey, You can find the bug tracker here: http://trac.vtiger.com/ regards -- Manilal K M. http://linuxeyes.blogspot.com http://flossvalley.blogspot.com Better to light one candle than to curse the darkness. From liza at vtiger.com Thu Sep 13 01:12:35 2007 From: liza at vtiger.com (liza) Date: Thu, 13 Sep 2007 10:42:35 +0530 Subject: [Vtigercrm-developers] Fwd:Re: Bug Found... In-Reply-To: <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> References: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> Message-ID: <46E8C6C3.3030805@vtiger.com> Hi, I have added this issue in our vtiger trac. For more info kindly refer the following link. http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4170 Here after If you find any issue, kindly file that in our bug tracker. http://trac.vtiger.com Thanks & Regards, Liza. > > On 12/09/2007, Joey Novak wrote: > > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > > > install/4createConfigFile.php > > > > Line 106 to 120, single ='s are used instead of '==' > > > > Joey > > > Joey, > You can find the bug tracker here: > http://trac.vtiger.com/ From joey.novak at gmail.com Thu Sep 13 11:22:32 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 13 Sep 2007 11:22:32 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - Will Code Be Maintained... Message-ID: Hey Guys, So, an important question... If We (as in myself, and others at the company I work for) do all the work to get vTiger to run on MSSQL, can we get our changes into the vTiger repository so that future releases will work with MSSQL? Or does this not have enough demand to be maintained in the future? Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070913/8ac44cac/attachment-0002.html From minnie at vtiger.com Fri Sep 14 08:00:10 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 14 Sep 2007 17:30:10 +0530 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <11503e3ef58.8002445302510352760.1922159776437872223@vtiger.com> Dear Joey, In DatabaseSchema.xml, some of the tables has specified withautoincrement field. But in vtiger CRM, we are not using theautoincrement while inserting entries in the tables, instead we areusing the method called getUniqueID() which is provide by ADODB library that simplifies many database-related tasks in PHP. In future, we need to review the DatabaseSchema.xml file and remove the unwanted autoincrement fields and test whether it works fine with MySQL. Thanks & Regards, Minnie. ----On Wed, 12 Sep 2007 Joey Novak wrote ---- Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote:* Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/9bfd196d/attachment-0002.html From client.services.ny at gmail.com Fri Sep 14 09:02:02 2007 From: client.services.ny at gmail.com (Client Services of New York, LLC) Date: Fri, 14 Sep 2007 09:02:02 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <68b1fa90709140602q59ce2b7bhba7d816008796811@mail.gmail.com> On 9/12/07, Joey Novak wrote: > > > No chance I can get them to go with Postgres, we have no one with > experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't > happen, we would be wasting those resources if we switched to Postgres. > If your DBA's are so limited in scope, that they could not read the relevant documentation for Postgresql, or any other database product and adapt to the new environment, I would suggest that your hiring criteria for DBAs are insufficient, and need to be updated. -- Mike Lieman Client Services of New York, L.L.C. client.services.ny at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/024debca/attachment-0002.html From al at xanthus.net Sun Sep 16 12:58:18 2007 From: al at xanthus.net (Alan Leurck) Date: Sun, 16 Sep 2007 12:58:18 -0400 Subject: [Vtigercrm-developers] outlook plug in Message-ID: <46ED60AA.5090302@xanthus.net> I believe I have run across a security problem with the outlook plug in and would like to discuss this with the person(s) responsible for the plug in. If someone from the plug in team could please contact me to discuss the problem, I think we can resolve the issue with a number of updates on both the client and server side. Thank you. Al From joey.novak at gmail.com Thu Sep 20 08:46:14 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 08:46:14 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger Message-ID: Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/65553b14/attachment-0002.html From svk at vtiger.com Thu Sep 20 14:03:00 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Thu, 20 Sep 2007 11:03:00 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: Message-ID: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Hi Joey, Today, we have separate distributions for MySQL, and Postgres. It will be nice not having to maintain these different code bases. We are considering adding multi-database support soon. If your changes help us in this process we will certainly look into it. For now, the best way to proceed is to create a new branch (5.0.3 for MSSQL) and contribute your changes to it. Then you can request help from the community in testing it with MySQL and other databases. Regards, Sreenivas vtiger Team. ----On Thu, 20 Sep 2007 Joey Novak wrote ---- Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/d91ce1c5/attachment-0002.html From joey.novak at gmail.com Thu Sep 20 16:37:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 16:37:42 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: Hey Guys, So, I am 99% finished porting the non-MSSQL compliant SQL into Compatible SQL. I have a running version of vTiger on my desktop, and all the features we have tested work fine (including all the modules, custom reports, etc...) the only known issue that doesn't work is the calendar module writes dates incorrectly to the db, and I haven't spent anytime trying to fix it yet is all). If someone is interested, I have some very unorganized, but mostly complete, notes located here: http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL Again, I don't know what the best way to go about this is, but my Company is willing to invest resources into merging the braches of vTiger into one branch that works on postGres, MSSQL, and MySQL. They wish to make this investment now, so that in the future, we will be able to reap the benefits of continued vTiger improvements without having to patch it to make it work on MSSQL everytime a new release comes out. Specificaly, they have authorized me to spend one to two weeks of work time on the effort. I can do all this, I just want to make certain that my work will be of as much benefit as possible to the community, and my company by getting the work into the main vTiger branch in the svn repository when I am done. If I start with the 5.0.4 branch, and make all the changes to make it work on Postgres, MySQL, and MSSQL with one code base, and test it, how would I submit my work? Again, please keep in mind that although I have extensive programming experience, I have never contributed to an opensource project before, and don't know what is expected. Sreenivas's reply earlyer today, told me I should create a new branch, as I browsed the code, I could not find the seperate postgres branch he spoke of. Is it not clearly labeled? Is the 5.0.3 branch really the MySQL/Postgres branch, and 5.0.4 is MySQL only? If someone is willing to lend me some more guidance, then we should be able to put forth this effort and achieve the mutual goal of my company and the vTiger community without using very much more of everyones time. Thanks Guys, Joey On 9/20/07, Sreenivas Kanumuru wrote: > > Hi Joey, > > Today, we have separate distributions for MySQL, and Postgres. It will be > nice not having to maintain these different code bases. We are considering > adding multi-database support soon. If your changes help us in this process > we will certainly look into it. > > For now, the best way to proceed is to create a new branch (5.0.3 for > MSSQL) and contribute your changes to it. Then you can request help from the > community in testing it with MySQL and other databases. > > Regards, > > Sreenivas > vtiger Team. > > > > > ----On Thu, 20 Sep 2007 *Joey Novak * wrote ---- > > Hey Guys, > > I am still working hard on modifying the parts of vTiger that don't work > well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to > get my changes considered for the next release of vTiger? It is easy for me > to test them on MySQL, but I don't know about postgres. I have never worked > on a big OpenSource project, so I am not framiliar with the proper etiquete > for contributing changes, but I think these changes would be valuable to the > project. > > Joey > > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html_______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/33c806f2/attachment-0002.html From weigelt at metux.de Fri Sep 21 08:06:43 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 14:06:43 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: <20070921120643.GA12321@nibiru.local> * Joey Novak schrieb: hi, > So, I am 99% finished porting the non-MSSQL compliant SQL into > Compatible SQL. Please try to move the RDBMS specific things into some separate source file, maybe some separate class. This gives an central point for RDBMS specific things and makes further porting much easier. (I did similar things on my branch, which are not yet ported back.) For example: Some base class "VT_DB_Driver" where several individual drivers (ie. for mysql, mssql, pgsql) are derived from. It should have those functions: * QueryRecords($query_string) -> give back an array of recods * SequenceNextVal($seq_name) * SQL_Encode_int($i) * SQL_Encode_date($d) * SQL_Encode_text($t) ... Ah, and please document your changes in the code and give tell us something about what you did on the list :) > Again, I don't know what the best way to go about this is, but my Company > is willing to invest resources into merging the braches of vTiger into one > branch that works on postGres, MSSQL, and MySQL. Is your company willing to hire some of us? ;-O > how would I submit my work? Post an patch to the list ;-P > told me I should create a new branch, as I browsed the code, I could not > find the seperate postgres branch he spoke of. Is it not clearly labeled? It's in the jens_5_1 branch. But last time I checked, it wasn't the whole of Jens's work, and he sent me his personal copy. Mine has also several changes, some maybe already committed, some maybe not. BTW: we already have dozens of branches, we really should get them together. Why not forking from the latest stable, and intensively try to get in all the changes laying around into it ? An clean DB abstraction seems to be an key point for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Fri Sep 21 08:25:07 2007 From: joey.novak at gmail.com (Joey Novak) Date: Fri, 21 Sep 2007 08:25:07 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921120643.GA12321@nibiru.local> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: Enrico, > Please try to move the RDBMS specific things into some separate >source file, maybe some separate class. This gives an central >point for RDBMS specific things and makes further porting much >easier. (I did similar things on my branch, which are not yet >ported back.) I understand what you are asking for (I think). But I don't see how what you want differs from the what is in the 5.0.3 code already. ADOdb does what you are speaking of (I think). Joey On 9/21/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > hi, > > > So, I am 99% finished porting the non-MSSQL compliant SQL into > > Compatible SQL. > > Please try to move the RDBMS specific things into some separate > source file, maybe some separate class. This gives an central > point for RDBMS specific things and makes further porting much > easier. (I did similar things on my branch, which are not yet > ported back.) > > For example: > > Some base class "VT_DB_Driver" where several individual drivers > (ie. for mysql, mssql, pgsql) are derived from. > > It should have those functions: > > * QueryRecords($query_string) -> give back an array of recods > * SequenceNextVal($seq_name) > * SQL_Encode_int($i) > * SQL_Encode_date($d) > * SQL_Encode_text($t) > ... > > > Ah, and please document your changes in the code and give tell us > something about what you did on the list :) > > > Again, I don't know what the best way to go about this is, but my > Company > > is willing to invest resources into merging the braches of vTiger into > one > > branch that works on postGres, MSSQL, and MySQL. > > Is your company willing to hire some of us? ;-O > > > how would I submit my work? > > Post an patch to the list ;-P > > > told me I should create a new branch, as I browsed the code, I could not > > find the seperate postgres branch he spoke of. Is it not clearly > labeled? > > It's in the jens_5_1 branch. But last time I checked, it wasn't > the whole of Jens's work, and he sent me his personal copy. > Mine has also several changes, some maybe already committed, > some maybe not. > > BTW: we already have dozens of branches, we really should get > them together. Why not forking from the latest stable, and > intensively try to get in all the changes laying around into it ? > An clean DB abstraction seems to be an key point for me. > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070921/3bf7202d/attachment-0002.html From weigelt at metux.de Fri Sep 21 12:34:16 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 18:34:16 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: <20070921163416.GA15655@nibiru.local> * Joey Novak schrieb: > I understand what you are asking for (I think). But I > don't see how what you want differs from the what is in > the 5.0.3 code already. ADOdb does what you are speaking > of (I think). This adodb crap is exactly what I want to get rid of. Doesnt cope the whole dialects, too unstable and extremly resource wasting. An good example for bad design. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Sat Sep 22 19:57:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Sun, 23 Sep 2007 09:57:02 +1000 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921163416.GA15655@nibiru.local> Message-ID: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > This adodb crap is exactly what I want to get rid of. > Doesnt cope the whole dialects, too unstable and extremly > resource wasting. An good example for bad design. Do you have an alternative to suggest? Pear DB perhaps (urghhh). Or do you want to invent your own wheel and create a maintenance nightmare? As far as I can tell, all options have plusses and minuses. But a collective library must be the best way to go. Cheers Graham From weigelt at metux.de Sun Sep 23 08:31:05 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Sun, 23 Sep 2007 14:31:05 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Message-ID: <20070923123105.GA28296@nibiru.local> * Graham Miller schrieb: > Do you have an alternative to suggest? > > Pear DB perhaps (urghhh). Yes, PEAR DB is much cleaner and less complex. It still lacks several functions (ie. for query rendering), but this can be easily extendet. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Sun Sep 23 10:53:17 2007 From: joey.novak at gmail.com (Joey Novak) Date: Sun, 23 Sep 2007 10:53:17 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070923123105.GA28296@nibiru.local> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: I am not trying to argue... But, I really didn't find adodb all that complex. There are three or four functions that it uses, and that is it. With a few modifications to make it always use the associative array return values, instead of index based. And a way to do different queries depending upon the dbms (there are only a few that it would be easier if they could be different, most can be the same). Then I think adodb would do the job great. As for performance, I didn't see very much in the adodb code that would slow things down. Although I may have missed something. Joey On 9/23/07, Enrico Weigelt wrote: > > * Graham Miller schrieb: > > > > > Do you have an alternative to suggest? > > > > Pear DB perhaps (urghhh). > > Yes, PEAR DB is much cleaner and less complex. > It still lacks several functions (ie. for query rendering), > but this can be easily extendet. > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070923/12303117/attachment-0002.html From joey.novak at gmail.com Mon Sep 24 08:57:13 2007 From: joey.novak at gmail.com (Joey Novak) Date: Mon, 24 Sep 2007 08:57:13 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: Hey Guys, This will probably be my final message here. We decided to go with SugarCRM. There just seems to be a lot more development work going on to extend SugarCRM. It was a very difficult decision, our manager, myself, and others have emotional attachments to vTiger, and really do like it better, but we didn't feel it was the best decision for the progress of the business that we support. Anyways, all that being said, we wanted to try to make sure our efforts aren't being wasted. So we wrapped up our version of vTiger that works on MSSQL, and are making it available here: http://www.affinity4.com/vtiger/ Later Guys, and happy coding! Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/d3f06286/attachment-0002.html From joe at tsolucio.com Mon Sep 24 09:47:52 2007 From: joe at tsolucio.com (Joe Bordes) Date: Mon, 24 Sep 2007 15:47:52 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: References: Message-ID: <1190641672.22534.18.camel@joesunix.int> Hi, This email should be a call of attention. If your goal is to be "The most popular CRM" you need this development list to be VERY active and have the community adopting your application for the solution to their problems. The way I see it if you study for knowledge you (normally) get a side effect that is passing your exams, when you study to pass the exams is when you may have problems. I think your goal should be to have a flexible and powerfull solution to CRM/Business problems instead of just popularity. Then you will become popular by merits. After all one can acheive popularity easily (just look at TV), why you have that popularity and maintaining it is where the effort is. Joe TSolucio El lun, 24-09-2007 a las 08:57 -0400, Joey Novak escribi?: > Hey Guys, > > This will probably be my final message here. We decided to go with > SugarCRM. There just seems to be a lot more development work going on > to extend SugarCRM. It was a very difficult decision, our manager, > myself, and others have emotional attachments to vTiger, and really do > like it better, but we didn't feel it was the best decision for the > progress of the business that we support. > > Anyways, all that being said, we wanted to try to make sure our > efforts aren't being wasted. So we wrapped up our version of vTiger > that works on MSSQL, and are making it available here: > http://www.affinity4.com/vtiger/ > > Later Guys, and happy coding! > > Joey > > -- > --- > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com From graham901 at webenhanced.com.au Mon Sep 24 19:18:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Tue, 25 Sep 2007 09:18:02 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1190641672.22534.18.camel@joesunix.int> Message-ID: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. From aresolimpico at gmail.com Mon Sep 24 20:12:38 2007 From: aresolimpico at gmail.com (David fire) Date: Mon, 24 Sep 2007 21:12:38 -0300 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <4c307cb60709241712y6dfd3b19j581537e7ebdf8cfc@mail.gmail.com> hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/c6b68c07/attachment-0002.html From svk at vtiger.com Mon Sep 24 20:27:17 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 17:27:17 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <1153a0f869e.-5019729562825485777.-8669095014683350750@vtiger.com> Joey, Thanks for the email, and for all your efforts. w.r.tyour decision to go with Sugar CRM, you mentioned the developmentactivity around the Sugar CRM as one of the key reasons. While vtigerhas a passionate developer community, we do recognize that we have tosimplify the development process to add modules, and more immediatelyhelp users find projects that are already there on the vtiger forge. w.r.tthe MS-SQL support, your contributions will certainly be quite usefulto MS-SQL users. I hope some members from the community will pick it upand maintain it until we get to 6.0 release. We are looking to addmulti-database support in 6.0, so that we don't have to maintaindifferent branches for different databases. I would certainly appreciate any additional feedback you have on your vtiger experience, and areas where we could improve. Joe, Graham, We are taking measures to be more proactive on this list. I know it is not a one way street. If we expect developers to contribute to vtiger, we have to help them. I am confident you will see improvements in this regard going forward. We fully realize the benefits of doing so. In the upcoming 5.0.4 release, about 40 patches contributed by the community are included, besides about 100 or so bug fixes. Tomorrow,we will be posting the details of the development build for theupcoming patch on the blog and the forums. We will be requesting help from the communityto test and provide feedback. Your comments are quite valuable to us. Regards, Sreenivas ----On Mon, 24 Sep 2007 Graham Miller wrote ---- Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/37a47550/attachment-0002.html From svk at vtiger.com Mon Sep 24 21:52:57 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 18:52:57 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> David, Thanks for the input. Our goal, w.r.t the community, is three fold: 1. Deliver a CRM platform that addresses the core CRM functions well and is easily extensible to add new features/modules. 2. Provide the right tools (forge, Application portal for users, forums, documentation..) to encourage community participation and interaction. 3. Engage with the community On the product front, in 6.0 release, we hope to make big strides in making the product modular and extensible. More immediately though, we hope to make some improvements on the tools front. In the next 4-6 weeks, we are considering a website revision to address the following areas: Documentation:Make it easy for users to find documentation Community participation in creating documentation Community Events:Make it easy for members to organize and promote local community events (user group meetings) We are also considering moving from gForge to gForge Advanced Server for the vtiger forge. (more on this in a separate post) Regards, Sreenivas ----On Mon, 24 Sep 2007 David fire wrote ---- hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller :Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/dccf42e0/attachment-0002.html From chazarra.clement at gmail.com Tue Sep 25 07:53:00 2007 From: chazarra.clement at gmail.com (clement chazarra) Date: Tue, 25 Sep 2007 12:53:00 +0100 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> References: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> Message-ID: Hi, My 2 cents point of view.. vTiger team should focus on the CRM platform and functions, while in the mean time, partners could take care of the website and community. It feels that you have far too many things to handle at the same time, and many people, companies are willing to help on it. So I understand that you want to keep your full hands on vTiger CRM, but giving more responsabilitise to partners would free some team members for other tasks. You need to give more responsabilities to people around! And not just saying so, or taking in account comments. What do people want to see? A better designed website, with community portal and forge more efficient. How would I do it? Post a request for partnership with companies who could restructure the whole website and community portal. >From this point, you could focus just on communications with those partners, and on the development of the next version. But still, it's only my own point of view... BTW, Joe, what are the actual outputs from the meeting in Italy? Are things going forward? Regards, Clem On 9/25/07, Sreenivas Kanumuru wrote: > > David, > > Thanks for the input. > > Our goal, w.r.t the community, is three fold: > 1. Deliver a CRM platform that addresses the core CRM functions well and > is easily extensible to add new features/modules. > 2. Provide the right tools (forge, Application portal for users, forums, > documentation..) to encourage community participation and interaction. > 3. Engage with the community > > On the product front, in 6.0 release, we hope to make big strides in > making the product modular and extensible. > > More immediately though, we hope to make some improvements on the tools > front. In the next 4-6 weeks, we are considering a website revision to > address the following areas: > > Documentation: > > - Make it easy for users to find documentation > - Community participation in creating documentation > > Community Events: > > - Make it easy for members to organize and promote local community > events (user group meetings) > > We are also considering moving from gForge to gForge Advanced Server for > the vtiger forge. (more on this in a separate post) > > Regards, > Sreenivas > > > > > ----On Mon, 24 Sep 2007 *David fire * wrote ---- > > hi > we are a lot working on vtiger... maybe the biggest problem is the > dificulty to add any new function.... > and the lack of responce from main developers... > maybe we should ask them what thay want to do... > > i think vtiger has a very good potential if we change the actitude. > we can make some work groups: > > -documentation > -features review > -developers (add members) > -documentation!!!! > > if the project go larger will be a lot of job, many enterprise will ask > for paid support and others will ask special developments... > > thanks > David > > > > > > 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/5980557f/attachment-0002.html From weigelt at metux.de Tue Sep 25 15:14:41 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:14:41 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: <20070925191440.GA6754@nibiru.local> * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:27:15 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:27:15 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <20070925192715.GB6754@nibiru.local> * Graham Miller schrieb: Hi, > There are many commercial entities now considering investing > in open source development but they need to know the project > is going to be there for the long haul. Well, as long as one person maintains the project, it keeps alive ;-P > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as the base platform for user logins, profiles, > contact history etc etc. The client is willing to invest in open source > software and we will probably want some extra programming resources to > hire along the way that already know the CRM app really well. Sounds good :) IMHO, it's important to get patches back to this list asap, so the community can take care of them. That's the difference between cooperative work and taking someone's works for your own benefits. > We evaluated the market of open source offerings and found sugar/vtiger > to be the best. Noting the sugarCRM license requirements and our need > to totally re-brand the application, we decided that the apparently real > open source alternative (namely vtiger) was the right platform and have > been watching the list for signs of an active community. For me, the sugar licensing was one of the major reason for dropping it. vtiger has still a lot issues, but still seemed the best option for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:29:50 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:29:50 +0200 Subject: [Vtigercrm-developers] Status on postgresql port Message-ID: <20070925192950.GC6754@nibiru.local> Hi folks, what's the status of the postgresql port and the mainline tree ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 17:06:25 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 23:06:25 +0200 Subject: [Vtigercrm-developers] [PATCH] Invoice: fix PDF link In-Reply-To: <20070625174933.GI7548@nibiru.local> References: <20070625174933.GI7548@nibiru.local> Message-ID: <20070925210624.GB3224@nibiru.local> * Enrico Weigelt schrieb: > > Hi folks, > > this patch fixes the really strange javascript link for pdf > invoice to an plain url. Any new on that issue ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 18:47:54 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 00:47:54 +0200 Subject: [Vtigercrm-developers] 5.1 vs. 5.1_jens Message-ID: <20070925224752.GA21523@nibiru.local> Hi folks, what the current status of porting 5.1_jens to 5.1 branch ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Tue Sep 25 19:21:11 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Wed, 26 Sep 2007 09:21:11 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <20070925192715.GB6754@nibiru.local> Message-ID: <001501c7ffca$c4c21980$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > Well, as long as one person maintains the project, it keeps alive ;-P That is true. But if a company is going to invest (say) $50,000 to improve a piece of software so it is useable for their purpose, give back the improvements to the community, and continue to assist and have a hand in its development over time, then the company would like to see an active community from various industries and countries so that new technology is incorporated in a timely fashion and well tested by a large community (of which the company becomes an active member). So for a large financial and time investment, we would want to be an active part of a reasonably large community so we feel that we are helping plenty of others in return for the initial code base and future updates, as well as benefiting ourselves from plenty of other people's experience. > IMHO, it's important to get patches back to this list asap, > so the community can take care of them. That's the difference > between cooperative work and taking someone's works for your > own benefits. Of course. But that should be done via some kind of tracker that allows file attachments.... not a mailing list. And a lead developer should be responsible for merging that code into the current branch. We also contribute to the Moodle (learning management system) community and they have a huge number of contributors and their systems are quite good. The feature request tracker has the ability to have a conversation and upload code files for consideration. It allows linking to a wiki where the "howto" documents are kept and naturally the wiki allows linking back to the tracker for more detailed info (for developers). Other users can then gain access to patches for (say) older releases that were used as a proof of concept during the development phase. The forums are where issues are discussed until action is required. Then it goes to the tracker and wiki. We run our own (old version) gForge site for developer interaction and this works moderately well. I am sure that a newer version would be more useful to a developer community. And we will be investigating the upgrade for our own (closed user group) use shortly anyway. But for an open source community project, it needs to be such that a person can register themselves and participate in the trackers and forums etc. And under lead developer control, access the wiki and perhaps even the source tree (once proven to be of suitable quality and skill level). > For me, the sugar licensing was one of the major reason for > dropping it. vtiger has still a lot issues, but still seemed > the best option for me. And we came to the same conclusion, but the lack of a cohesive community is what makes us stall our decision. Single maintainer projects of this size rarely keep up to date with even security issues, let alone technology upgrades and, of course, industry requirements. If we are going to invest heavily in a technology, then we want to be using the "best of breed". So this is why we hesitate. Cheers Graham From aresolimpico at gmail.com Tue Sep 25 22:47:35 2007 From: aresolimpico at gmail.com (David fire) Date: Tue, 25 Sep 2007 23:47:35 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger Message-ID: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment-0002.html -------------- next part -------------- A non-text attachment was scrubbed... Name: vtiger+asterisk.jpg Type: image/jpeg Size: 180825 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment-0002.jpg From prasad at vtiger.com Wed Sep 26 07:26:42 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 04:26:42 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> Message-ID: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Hi David, Before starting any development on vtiger-asterisk please look at the available forge project: http://forge.vtiger.com/projects/asterisk-integ/ Regards, Prasad vtiger Team ----On Wed, 26 Sep 2007 David fire wrote ---- hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/3e85e60d/attachment-0002.html From prasad at vtiger.com Wed Sep 26 08:02:37 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 05:02:37 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070925191440.GA6754@nibiru.local> References: <20070925191440.GA6754@nibiru.local> Message-ID: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Thank you for highlighting your points with database access implementation currently used in vtiger. We made a choice of adodb to have multi database support for our product. The version that is used I believe any wrapper on database has both positive and negatives, whether it is adodb or pear db. Going forward we have plans to pick up the best ideas from these wrappers and come up with some db access framework which could let us maintain vtiger working with different flavours of database. We would be happy to get suggestions from our developer community on this. Please do keep us updated on the both positive and negatives on various database wrappers you have worked with and what best we can pick up from them. Regards, Prasad ----On Wed, 26 Sep 2007 Enrico Weigelt wrote ---- * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/24f57d0f/attachment-0002.html From aresolimpico at gmail.com Wed Sep 26 08:18:52 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 09:18:52 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Message-ID: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> hi thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. thanks David 2007/9/26, Prasad : > > > Hi David, > > Before starting any development on vtiger-asterisk please look at the > available forge project: > > http://forge.vtiger.com/projects/asterisk-integ/ > > Regards, > Prasad > vtiger Team > > > ----On Wed, 26 Sep 2007 *David fire * wrote ---- > > hi > i need to integrate asterisk and vtiger... > i want a "full manager", transfer calls, dial, redirect, etc... in the > same window. > > i will make the module and the asterisk communication but i want to put it > over vtiger (see the picture) attached or at > http://www.buenafuentenews.info/images/vtiger.jpg > i really haven't a clue how to put that there in every page.... > i will add a field "extension" to the users profile and vasterisk > (vtiger asterik) will use the value. > > i will do this month so if any one want to help me or give me a clue... > > > Thanks > > PD: sorry for my poor English. > > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/9eaacd66/attachment-0002.html From weigelt at metux.de Wed Sep 26 08:26:42 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:26:42 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> References: <20070925191440.GA6754@nibiru.local> <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Message-ID: <20070926122642.GB21523@nibiru.local> * Prasad schrieb: Hi, > Going forward we have plans to pick up the best ideas from these wrappers > and come up with some db access framework which could let us maintain > vtiger working with different flavours of database. I added some method run_query_field() to PearDatabase, which should be used at any point where just one single value is queried. Another method is sql_concat() which handles the dmbs specific concat operators. I'll (re)post my patch separately. For future use the PearDatabase class ($adb variable) should be used exlusively, and always the methods with the highest abstraction. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Wed Sep 26 08:29:38 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:29:38 +0200 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods Message-ID: <20070926122938.GC21523@nibiru.local> Hi folks, this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed It fits against 5.1 and 5.1_jens. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/include/database/PearDatabase.php htdocs/include/database/PearDatabase.php --- htdocs.orig/include/database/PearDatabase.php 2007-05-11 02:17:06.000000000 +0200 +++ htdocs/include/database/PearDatabase.php 2007-05-11 02:55:29.000000000 +0200 @@ -434,6 +434,31 @@ return $this->change_key_case($result->FetchRow()); } + function sql_concat($list) + { + switch ($this->dbType) + { + case 'mysql': + return 'concat('.implode(',',$list).')'; + case 'pgsql': + return '('.implode('||',$list).')'; + default: + throw new Exception("unsupported dbtype \"".$this->dbType."\""); + } + } + + function run_query_field($sql) + { + $this->checkConnection(); + $result = $this->database->Execute($sql); + + if (!is_object($result)) + throw new Exception("query failed: $sql"); + + $row = $result->FetchRow(); + return array_shift($row); + } + /* ADODB newly added. replacement for mysql_result() */ function query_result(&$result, $row, $col=0) { From weigelt at metux.de Wed Sep 26 08:36:44 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:36:44 +0200 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods Message-ID: <20070926123644.GD21523@nibiru.local> Hi folks, this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. IMHO this should go to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN cleaned/data/CRMEntity.php working/data/CRMEntity.php --- cleaned/data/CRMEntity.php 2007-05-03 17:50:00.000000000 +0200 +++ working/data/CRMEntity.php 2007-05-03 23:38:06.000000000 +0200 @@ -25,10 +25,16 @@ require_once('data/Tracker.php'); require_once('include/utils/utils.php'); require_once('include/utils/UserInfoUtil.php'); - -class CRMEntity -{ - /** + +class CRMEntity +{ + /* generic toString() method added by nekrad */ + function __toString() + { + return serialize($this); + } + + /** * This method implements a generic insert and update logic for any SugarBean * This method only works for subclasses that implement the same variable names. * This method uses the presence of an id vtiger_field that is not null to signify and update. diff -ruN cleaned/modules/Users/Users.php working/modules/Users/Users.php --- cleaned/modules/Users/Users.php 2007-05-04 02:32:05.000000000 +0200 +++ working/modules/Users/Users.php 2007-05-04 02:59:03.000000000 +0200 @@ -163,6 +163,11 @@ $this->log->debug("Exiting Users() method ..."); } + function __toString() + { + return "[[USERS]]"; + } + // Mike Crowe Mod --------------------------------------------------------Default ordering for us /** * Function to get sort order From weigelt at metux.de Wed Sep 26 08:50:45 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:50:45 +0200 Subject: [Vtigercrm-developers] [PATCH] TeX rendering API and invoice pdf Message-ID: <20070926125045.GE21523@nibiru.local> Hi folks, these patches add an universal rendering API for things like invoices and an TeX renderer backend. The old invoice pdf code is changed to run via the rendering API. Now it's very easy to add new renderers. I also included my own templates as example. The API patch (renderapi-1) does not change anything but just adding some new files in the lib/render/ subdir and could be applied to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/lib/render/README htdocs/lib/render/README --- htdocs.orig/lib/render/README 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/README 2007-05-09 13:53:10.000000000 +0200 @@ -0,0 +1 @@ +This subdirectory contains the TeX rendering stuff. diff -ruN htdocs.orig/lib/render/RenderFactory.php htdocs/lib/render/RenderFactory.php --- htdocs.orig/lib/render/RenderFactory.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/RenderFactory.php 2007-05-09 17:05:57.000000000 +0200 @@ -0,0 +1,64 @@ +engine = $e; + } + + function __toString() + { + return "Unknown Engine: \"".$this->engine."\""; + } +} + +class E_Render_FormatNotSupportedByEngine extends Exception +{ + var $engine; + var $format; + + function E_Render_FormatNotSupportedByEngine($format,$engine) + { + $this->format = $format; + $this->engine = $engine; + } + + function __toString() + { + return "Format \"".$this->format. + "\" not supported by engine \"". + $this->engine. + "\""; + } +} + +class RenderFactory +{ + /* public static */ function getRenderer_Invoice($param) + { + if (!($f = $param{'format'})) + throw new Exception("missing output format"); + if (!($e = $param{'engine'})) + throw new Exception("missing engine"); + + switch ($e) + { + case 'pdflatex': + { + if ($f != 'application/pdf') + throw new E_Render_FormatNotSupportedByEngine($f,$e); + + require_once(RENDER_LIB_PREFIX.'TexRender_Invoice.php'); + return new TexRender_Invoice($param); + } + default: + throw new E_Render_UnknownEngine($e); + } + } +} diff -ruN htdocs.orig/lib/render/TexEncode.php htdocs/lib/render/TexEncode.php --- htdocs.orig/lib/render/TexEncode.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/TexEncode.php 2007-05-10 02:51:50.000000000 +0200 @@ -0,0 +1,101 @@ + + +*/ + +// NOTE: the webserver needs *write* acccess to this directory +// we normally take the session storage dir +define('TEXRENDER_TMP_MASK', '{SESSION.SAVE_PATH}/texrender-{SESSION.ID}-{NAME}'); +define('TEXRENDER_TEMPLATE_DIR', 'templates/tex/{TEMPLATE-NAME}/'); + +require_once(RENDER_LIB_PREFIX.'TexEncode.php'); + +class TexRender_Invoice +{ + /* private */ var $tmpmask; + /* private */ var $data; + /* private */ var $product_items; + /* private */ var $fn_tex; + /* private */ var $fn_pdf; + /* private */ var $fn_template; + /* private */ var $key; + + /* private */ function _tmpname($name) + { + return str_replace('{SESSION.NAME}', session_name(), + str_replace('{SESSION.ID}', session_id(), + str_replace('{SESSION.SAVE_PATH}', realpath(ini_get('session.save_path')), + str_replace('{NAME}', $name, + $this->tmpmask + )))); + } + + /* private */ function _test_write_access() + { + $fn = $this->_tmpname('write-test'); + if (!($fp=fopen($fn,"w"))) + throw new Exception("write-test: could not open file for writing: $fn"); + fputs($fp,"TEST123"); + fclose($fp); + + $res = trim(implode('',file($fn))); + if ($res != "TEST123") + throw new Exception("write-test: reading test data failed for file: $fn"); + + unlink($fn); + + return true; + } + + function TexRender_Invoice($param) + { + // test write access and otherwise failed + $this->tmpmask = TEXRENDER_TMP_MASK; + + // should be already cought by the factory, but just to be sure + if ($param{'format'} != 'application/pdf') + throw new Exception("fomat not supported by this renderer: ".$param{'format'}); + + if (!$param{'template'}) + throw new Exception("missing template name"); + + $this->template_name = $param{'template'}; + $this->data = array(); + $this->_test_write_access(); + $this->key = md5(serialize(gettimeofday)); + $this->fn_tex = $this->_tmpname($this->key.'.tex'); + $this->fn_pdf = $this->_tmpname($this->key.'.pdf'); + $this->template_dir= realpath(str_replace('{TEMPLATE-NAME}', $this->template_name,TEXRENDER_TEMPLATE_DIR)); + $this->fn_template_main = $this->template_dir.'/invoice/main.texi'; + $this->fn_template_item = $this->template_dir.'/invoice/item.texi'; + + $inc = $this->template_dir.'/config.php'; + if (!include($inc)) + throw new Exception("could not load config: $inc"); + + if (!is_array($this->config = $tex_template_config)) + throw new Exception("missing template config"); + + if (!$this->config{'lang'}) + throw new Exception("language not set in template config"); + } + + function addData($par) + { + foreach($par as $walk => $cur) + $this->data{$walk} = $cur; + } + + function checkProductItem($item) + { + if (!$item{'name'}) + throw new Exception("missing item name"); + if (!$item{'amount'}) + throw new Exception("missing amount"); + if (!is_numeric($item{'amount'})) + throw new Exception("amount must be numeric"); + if (!$item{'price'}) + throw new Exception("missing price"); + if (!is_numeric($item{'price'})) + throw new Exception("price must be numeric"); + if (($item{'discount'})&&($item{'discount'} != 0)) + throw new Exception("discount not supported yet by this renderer"); + if (!is_numeric($item{'tax_percent'})) + throw new Exception("tax_percent must be numeric"); + } + + function checkData() + { + if ((!is_array($this->_product_items)) || + (!count($this->_product_items))) + throw new Exception("no product items"); + + if (!$this->data{'ident'}) + throw new Exception("missing ident"); + } + + /* public */ function addProductItem($item) + { + // check for correct items + $this->checkProductItem($item); + + // calculate some stuff if necessary + if (!$item{'total'}) + $item{'total'} = $item{'price'} * $item{'amount'}; + if (!$item{'taxes'}) + $item{'taxes'} = $item{'total'} * $item{'tax_percent'}; + if (!$item{'topay'}) + $item{'topay'} = $item{'total'} + $item{'taxes'}; + + $this->_product_items[] = $item; + } + + /* public String */ function getOutputContentType() + { + return 'application/pdf'; + } + + /* private String */ function _generate_tex() + { + if (!($tmpl_main = implode('',file($this->fn_template_main)))) + throw new Exception("could not load main template: ".$this->fn_template_main); + if (!($tmpl_item = implode('',file($this->fn_template_item)))) + throw new Exception("could not load item template: ".$this->fn_template_item); + + // generate the item list + foreach ($this->_product_items as $walk => $cur) + { + $items .= + str_replace('::Item:Name::', $cur{'name'}, + str_replace('::Item:Price::', TexEncode::money($cur{'price'}), + str_replace('::Item:Amount::', $cur{'amount'}, + str_replace('::Item:Taxrate::', $cur{'tax_percent'}, + str_replace('::Item:Description::', $cur{'description'}, + str_replace('::Item:Comment::', trim($cur{'comment'}), + str_replace('::Item:Discount::', TexEncode::money($cur{'discount'}), + str_replace('::Item:Total::', TexEncode::money($cur{'total'}), + str_replace('::Item:Taxes::', TexEncode::money($cur{'taxes'}), + str_replace('::Item:Topay::', TexEncode::money($cur{'topay'}), + $tmpl_item)))))))))); + + $all_total += $cur{'total'}; + $all_taxes += $cur{'taxes'}; + $all_topay += $cur{'topay'}; + } + + $content = + str_replace('::TemplateDir::', $this->template_dir, + str_replace('::Items::', $items, + str_replace('::Bill:Ident::', $this->data{'ident'}, + str_replace('::Bill:Total::', TexEncode::money($all_total), + str_replace('::Bill:Taxes::', TexEncode::money($all_taxes), + str_replace('::Bill:Topay::', TexEncode::money($all_topay), + str_replace('::Company:Addr:Street::', $this->data{'company:addr:street'}, + str_replace('::Company:Addr:PCode::', $this->data{'company:addr:pcode'}, + str_replace('::Company:Addr:City::', $this->data{'company:addr:city'}, + str_replace('::Company:Addr:Country::', $this->data{'company:addr:country'}, + str_replace('::Company:Addr:State::', $this->data{'company:addr:state'}, + str_replace('::Company:Phone::', $this->data{'company:phone'}, + str_replace('::Company:Fax::', $this->data{'company:fax'}, + str_replace('::Company:Website::', $this->data{'company:website'}, + str_replace('::Customer:Name::', $this->data{'customer:name'}, + str_replace('::Customer:Addr:Street::', TexEncode::text($this->data{'billing:addr:street'}), + str_replace('::Customer:Addr:PCode::', TexEncode::text($this->data{'billing:addr:pcode'}), + str_replace('::Customer:Addr:City::', TexEncode::text($this->data{'billing:addr:city'}), + str_replace('::Customer:Addr:State::', TexEncode::text($this->data{'billing:addr:state'}), + str_replace('::Customer:Addr:Country::', TexEncode::text($this->data{'billing:addr:country'}), + $tmpl_main)))))))))))))))))))); + + return $content; + } + + /* public */ function generate() + { + $this->checkData(); + $tex = $this->_generate_tex(); + @unlink($this->fn_tex); + if (!($fp_tex = fopen($this->fn_tex,"w"))) + throw new Exception("could not open tex source file: ".$this->fn_tex); + + fputs($fp_tex,$tex); + fclose($fp_tex); + + $cmd = 'cd '.dirname($this->fn_tex).' && pdflatex '.$this->fn_tex; + `$cmd` ; `$cmd` ; // call it twice for table calculations + } + + // send appropriate http headers and output file + /* public */ function sendHTTPOutput() + { + $this->generate(); + Header("Content-Type: ".$this->getOutputContentType()); + readfile($this->fn_pdf); + } +} -------------- next part -------------- diff -ruN htdocs.orig/modules/Invoice/CreatePDF.php htdocs/modules/Invoice/CreatePDF.php --- htdocs.orig/modules/Invoice/CreatePDF.php 2007-05-09 00:56:25.000000000 +0200 +++ htdocs/modules/Invoice/CreatePDF.php 2007-05-10 15:30:08.000000000 +0200 @@ -9,67 +9,36 @@ * ********************************************************************************/ - -require_once('include/fpdf/pdf.php'); -require_once('include/fpdf/pdfconfig.php'); require_once('modules/Invoice/Invoice.php'); require_once('modules/Organization/Organization.php'); require_once('include/database/PearDatabase.php'); require_once('include/utils/EditViewUtils.php'); +require_once('lib/render/RenderFactory.php'); -global $adb,$app_strings,$focus; -global $log; - -// for template checking ... -$tmpl_dirs = array( "firstpage", "pages", "lastpage"); -$tmpl_files = array( "header.php", "body.php", "footer.php"); +global $adb,$app_strings,$focus,$log; $sql="select currency_symbol from vtiger_currency_info"; $result = $adb->query($sql); $currency_symbol = $adb->query_result($result,0,'currency_symbol'); -// would you like and end page? 1 for yes 0 for no -$endpage="1"; - $id = $_REQUEST['record']; //retreiving the vtiger_invoice info $focus = new Invoice(); $focus->retrieve_entity_info($_REQUEST['record'],"Invoice"); -$account_name = getAccountName($focus->column_fields[account_id]); -$invoice_no = $focus->column_fields[invoice_no]; // **************** BEGIN POPULATE DATA ******************** - -// populate data if($focus->column_fields["salesorder_id"] != '') $so_name = getSoName($focus->column_fields["salesorder_id"]); else $so_name = ''; $po_name = $focus->column_fields["purchaseorder"]; -$valid_till = $focus->column_fields["duedate"]; -$valid_till = getDisplayDate($valid_till); -$bill_street = $focus->column_fields["bill_street"]; -$bill_city = $focus->column_fields["bill_city"]; -$bill_state = $focus->column_fields["bill_state"]; -$bill_code = $focus->column_fields["bill_code"]; -$bill_country = $focus->column_fields["bill_country"]; - -$contact_name =getContactName($focus->column_fields["contact_id"]); -$ship_street = $focus->column_fields["ship_street"]; -$ship_city = $focus->column_fields["ship_city"]; -$ship_state = $focus->column_fields["ship_state"]; -$ship_code = $focus->column_fields["ship_code"]; -$ship_country = $focus->column_fields["ship_country"]; - -$conditions = from_html($focus->column_fields["terms_conditions"]); -$description = from_html($focus->column_fields["description"]); -$status = $focus->column_fields["invoicestatus"]; - // Company information -$crmid = $focus->column_fields["record_id"]; +if (!($crmid = $focus->column_fields["record_id"])) + throw new Exception("crmid is null/empty"); + $org_query = "select organizationname from vtiger_entity2org where crmid='".$crmid."'"; $result = $adb->query($org_query); $org_rows = $adb->num_rows($result); @@ -82,7 +51,7 @@ $org_name = $adb->query_result($result,0,"organizationname"); } else { $log->info( $module. " '".$crmid."' not assigned to any organization"); - exit(); + throw new Exception("crmid $crmid not assigned to any organisation (org_name=$org_name)"); } // get organization/orgunit details @@ -92,68 +61,11 @@ $log->debug( "Here we are: getOrgUnits( $organization, $orgunitid);"); $orgunittab = getOrgUnits( $organization, $orgunitid); -if( is_array( $orgunittab[$orgunitid])) { - $orgdetails = $orgunittab[$orgunitid]; - $org_name = $orgdetails["name"]; - $org_address = $orgdetails["address"]; - $org_city = $orgdetails["city"]; - $org_state = $orgdetails["state"]; - $org_country = $orgdetails["country"]; - $org_code = $orgdetails["code"]; - $org_phone = $orgdetails["phone"]; - $org_fax = $orgdetails["fax"]; - $org_website = $orgdetails["website"]; - $logo_name = $orgdetails["logoname"]; - $template = $orgdetails["invoice_template"]; -} else { - $log->info( $module. " '".$crmid."' organization/orgunitid mismatch"); - exit(); -} - -// Check the template -if( $template == "") - $template = "Default"; - -if( $template != "Default") { - foreach( $tmpl_dirs as $dir) { - foreach( $tmpl_files as $file) { - if( !file_exists( "modules/".$module."/pdf_templates/".$template."/".$dir."/".$file)) { - $log->info( $module. " '".$crmid."' organization/orgunitid template '".$template."' is incomplete"); - $log->info("Missing file: modules/".$module."/pdf_templates/".$template."/".$dir."/".$file); - $log->info("Fallback to the Default template"); - $template = "Default"; - break 2; - } - } - } -} -//NOTE : Removed currency symbols and added with Grand Total text. it is enough to show the currency symbol in one place - -//we can also get the NetTotal, Final Discount Amount/Percent, Adjustment and GrandTotal from the array $associated_products[1]['final_details'] - -//getting the Net Total -$price_subtotal = number_format($focus->column_fields["hdnSubTotal"],2,'.',','); - -//Final discount amount/percentage -$discount_amount = $focus->column_fields["hdnDiscountAmount"]; -$discount_percent = $focus->column_fields["hdnDiscountPercent"]; - -if($discount_amount != "") - $price_discount = number_format($discount_amount,2,'.',','); -else if($discount_percent != "") -{ - //This will be displayed near Discount label - used in include/fpdf/templates/body.php - $final_price_discount_percent = "(".number_format($discount_percent,2,'.',',')." %)"; - $price_discount = number_format((($discount_percent*$focus->column_fields["hdnSubTotal"])/100),2,'.',','); -} -else - $price_discount = "0.00"; - -//Adjustment -$price_adjustment = number_format($focus->column_fields["txtAdjustment"],2,'.',','); -//Grand Total -$price_total = number_format($focus->column_fields["hdnGrandTotal"],2,'.',','); +if(!is_array( $orgunittab[$orgunitid])) + throw new Exception("org/orgunitid mismatch"); +$orgdetails = $orgunittab[$orgunitid]; +$template = $orgdetails["invoice_template"]; //get the Associated Products for this Invoice $focus->id = $focus->column_fields["record_id"]; @@ -166,6 +78,8 @@ //To calculate the group tax amount if($final_details['taxtype'] == 'group') { + throw new Exception("group tax not supported"); + $group_tax_total = $final_details['tax_totalamount']; $price_salestax = number_format($group_tax_total,2,'.',','); @@ -191,47 +105,37 @@ $sh_tax_amount = $final_details['shtax_totalamount']; $price_shipping_tax = number_format($sh_tax_amount,2,'.',','); +$render = RenderFactory::getRenderer_Invoice(array +( + format => 'application/pdf', + engine => 'pdflatex', + template => 'default' +)); //This is to get all prodcut details as row basis -for($i=1,$j=$i-1;$i<=$num_products;$i++,$j++) +for($i=1;$i<=$num_products;$i++) { - $product_name[$i] = $associated_products[$i]['productName'.$i]; - $prod_description[$i] = $associated_products[$i]['productDescription'.$i]; - $product_id[$i] = $associated_products[$i]['hdnProductId'.$i]; - $qty[$i] = $associated_products[$i]['qty'.$i]; - $unit_price[$i] = number_format($associated_products[$i]['unitPrice'.$i],2,'.',','); - $list_price[$i] = number_format($associated_products[$i]['listPrice'.$i],2,'.',','); - $list_pricet[$i] = $associated_products[$i]['listPrice'.$i]; - $discount_total[$i] = $associated_products[$i]['discountTotal'.$i]; - //aded for 5.0.3 pdf changes - $product_code[$i] = $associated_products[$i]['hdnProductcode'.$i]; - - $taxable_total = $qty[$i]*$list_pricet[$i]-$discount_total[$i]; - - $producttotal = $taxable_total; - $total_taxes = '0.00'; if($focus->column_fields["hdnTaxType"] == "individual") { - $total_tax_percent = '0.00'; - //This loop is to get all tax percentage and then calculate the total of all taxes - for($tax_count=0;$tax_countaddProductItem(array + ( + code => $associated_products[$i]['hdnProductcode'.$i], + name => $associated_products[$i]['productName'.$i], + amount => $associated_products[$i]['qty'.$i], + price => $associated_products[$i]['listPrice'.$i], + unit_price => $associated_products[$i]['unitPrice'.$i], + discount => $associated_products[$i]['discountTotal'.$i], + tax_percent => (integer)($tax_percent)/100, + description => $associated_products[$i]['productDescription'.$i], + comment => $associated_products[$i]['comment'.$i] + )); // Product piecelists $query = "SELECT vtiger_crmentity.crmid, @@ -245,86 +149,46 @@ INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_products.productid WHERE vtiger_crmentity.deleted = 0 - AND vtiger_products2products_rel.productid = ".$product_id[$i]." + AND vtiger_products2products_rel.productid = ".$product_id." AND vtiger_products2products_rel.relation_type = 10"; $result = $adb->query($query); $pieces = $adb->num_rows($result); if( $pieces > 0) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = "consisting of:"; - $product_line[$j]["Qty"] = ""; - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - for( $pl=0; $pl<$pieces; $pl++) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = - $adb->query_result( $result, $pl, "productname"); - $product_line[$j]["Qty"] = - $adb->query_result( $result, $pl, "quantity"); - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - } + throw new Exception("multiple pieces not yet supported !"); } } -//echo '
Product Details ==>';print_r($product_line);echo '
'; -//echo '
';print_r($associated_products);echo '
'; - // ************************ END POPULATE DATA ***************************8 -$page_num='1'; -$pdf = new PDF( 'P', 'mm', 'A4' ); -$pdf->Open(); - -$num_pages=ceil(count($product_line)/$products_per_page); - - -$current_product=0; -for($l=0;$l<$num_pages;$l++) -{ - $line=array(); - if($num_pages == $page_num) - $lastpage=1; - - while($current_product != $page_num*$products_per_page) - { - $line[]=$product_line[$current_product]; - $current_product++; - } - - //if bottom > 145 then we skip the Description and T&C in every - //page and display only in lastpage - //if you want to display the description and T&C in each page then - //set the display_desc_tc='true' and bottom <= 145 in pdfconfig.php - $pdf->AddPage(); - if( $page_num == "1") { - include("pdf_templates/".$template."/firstpage/header.php"); - include("pdf_templates/".$template."/firstpage/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/firstpage/footer.php"); - } else { - include("pdf_templates/".$template."/pages/header.php"); - include("pdf_templates/".$template."/pages/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/pages/footer.php"); - } - - $page_num++; - - if (($endpage) && ($lastpage)) - { - $pdf->AddPage(); - include("pdf_templates/".$template."/lastpage/header.php"); - include("pdf_templates/".$template."/lastpage/body.php"); - include("pdf_templates/".$template."/lastpage/footer.php"); - } -} - - -$pdf->Output('Invoice-'.$crmid.'.pdf','D'); //added file name to make it work in IE, also forces the download giving the user the option to save +$render->addData(array +( + 'valid_until' => $focus->column_fields["duedate"], + 'description' => from_html($focus->column_fields["description"]), + 'conditions' => from_html($focus->column_fields["terms_conditions"]), + 'tax_type' => $focus->column_fields['hdnTaxType'], + 'ident' => $focus->column_fields['invoice_no'], + 'contact:name' => getContactName($focus->column_fields["contact_id"]), + 'company:name' => $orgdetails["name"], + 'company:addr:city' => $orgdetails["city"], + 'company:addr:pcode' => $orgdetails["code"], + 'company:addr:street' => $orgdetails["address"], + 'company:addr:country' => $orgdetails["country"], + 'company:addr:state' => $orgdetails["state"], + 'company:phone' => $orgdetails["phone"], + 'company:fax' => $orgdetails["fax"], + 'company:website' => $orgdetails["website"], + 'customer:name' => getAccountName($focus->column_fields[account_id]), + 'shipping:addr:city' => $focus->column_fields["ship_city"], + 'shipping:addr:pcode' => $focus->column_fields["ship_code"], + 'shipping:addr:street' => $focus->column_fields["ship_street"], + 'shipping:addr:country' => $ship_country = $focus->column_fields["ship_country"], + 'shipping:addr:state' => $focus->column_fields["ship_state"], + 'billing:addr:city' => $focus->column_fields["bill_city"], + 'billing:addr:pcode' => $focus->column_fields["bill_code"], + 'billing:addr:street' => $focus->column_fields["bill_street"], + 'billing:addr:country' => $focus->column_fields["bill_country"], + 'billing:addr:state' => $focus->column_fields["bill_state"] +)); -// Added to fix annoying bug that includes HTML in your PDF +$render->sendHTTPOutput(); exit(); -?> -------------- next part -------------- diff -ruN htdocs.orig/templates/tex/default/config.php htdocs/templates/tex/default/config.php --- htdocs.orig/templates/tex/default/config.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/config.php 2007-05-09 20:00:54.000000000 +0200 @@ -0,0 +1,7 @@ + 'de', + 'tex2pdf' => 'pdflatex' +); diff -ruN htdocs.orig/templates/tex/default/invoice/item.texi htdocs/templates/tex/default/invoice/item.texi --- htdocs.orig/templates/tex/default/invoice/item.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/item.texi 2007-05-10 14:25:30.000000000 +0200 @@ -0,0 +1,2 @@ +::Item:Name:: \ifempty{::Item:Comment::}{}{(::Item:Comment::)} & ::Item:Price:: \Euro & ::Item:Amount:: & ::Item:Total:: \Euro \\ +\hline diff -ruN htdocs.orig/templates/tex/default/invoice/main.texi htdocs/templates/tex/default/invoice/main.texi --- htdocs.orig/templates/tex/default/invoice/main.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/main.texi 2007-05-10 14:15:53.000000000 +0200 @@ -0,0 +1,53 @@ +\def\ResourcePrefix{::TemplateDir::/resource} +\input \ResourcePrefix/bill.tex + +\def\ifempty#1#2#3{\def\inner{#1}\ifx\inner\empty + #2\else #3\fi } + +\begin{document} + \letterInit + \begin{letter}{% + ::Customer:Addr:Street:: \ \\ + ::Customer:Addr:PCode::\ ::Customer:Addr:City:: \ \\ + \ \\[\medskipamount] + } + + \opening{\Large Ihre Rechnung:\normalsize~~~ ::Bill:Ident:: +%% ~~~~~~~~~~vom:~~::BillDate:: + } + + \setlength\LTleft{0pt} + \setlength\LTright{72pt} + \begin{longtable}{|p{300pt}|r|r|r|} + \hline + Leistung & Preis & Menge & Summe \\ + \hline + \endhead + \hline + \hline + \multicolumn{3}{|l|}{Rechnungsbetrag} & ::Bill:Total:: \Euro \\ + \hline + \multicolumn{3}{|l|}{Umsatzsteuer} & ::Bill:Taxes:: \Euro \\ + \hline + \hline + \multicolumn{3}{|l|}{Gesamt} & ::Bill:Topay:: \Euro \\ + \hline + \noalign{ + \vspace{12pt} + \small + Soweit nicht anders angegeben entspricht das Lieferdatum + dem Rechnungsdatum + } + \noalign{ + \vspace{12pt} + \normalsize + Bitte {\"u}berweisen Sie den f{\"a}lligen Betrag binnen + 10~Tagen auf eines unserer Konten. \newline + Die Ware bleibt bis zur vollst{\"a}ndigen Bezahlung Eigentum + von metux IT service. + } + \endlastfoot + ::Items:: + \end{longtable} + \end{letter} +\end{document} diff -ruN htdocs.orig/templates/tex/default/resource/bill.tex htdocs/templates/tex/default/resource/bill.tex --- htdocs.orig/templates/tex/default/resource/bill.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/bill.tex 2007-05-09 23:55:35.000000000 +0200 @@ -0,0 +1,22 @@ +\input{\ResourcePrefix/metux.tex} + +\documentclass[a4paper,bottom=0cm,fromalign=center,fromlogo=true]{scrlttr2} +\usepackage{epsfig} +\usepackage{longtable} + +\usepackage{ngerman} +\usepackage[latin1]{inputenc} +%usepackage{fancyhdr} +%pagestyle{fancy} + +% brief-init +\newcommand\letterInit{% + \captionsgerman + \dategerman + \firsthead{\metuxHeader} + \firstfoot{\metuxFooter} + \setkomavar{fromname}{metux IT service} + \setkomavar{fromaddress}{Heydaer Stra{\ss}e 23, 99338 Plaue} +} + +\newcommand\Euro{Euro} diff -ruN htdocs.orig/templates/tex/default/resource/header.eps htdocs/templates/tex/default/resource/header.eps --- htdocs.orig/templates/tex/default/resource/header.eps 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.eps 2002-09-17 01:45:21.000000000 +0200 @@ -0,0 +1,178 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: header.eps +%%Creator: fig2dev Version 3.2 Patchlevel 3d +%%CreationDate: Tue Jul 30 18:35:09 2002 +%%For: ems at nibiru.metux.de () +%%BoundingBox: 0 0 643 88 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 88 moveto 0 0 lineto 643 0 lineto 643 88 lineto closepath clip newpath +-4.5 96.9 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/reencdict 12 dict def /ReEncode { reencdict begin +/newcodesandnames exch def /newfontname exch def /basefontname exch def +/basefontdict basefontname findfont def /newfont basefontdict maxlength dict def +basefontdict { exch dup /FID ne { dup /Encoding eq +{ exch dup length array copy newfont 3 1 roll put } +{ exch newfont 3 1 roll put } ifelse } { pop pop } ifelse } forall +newfont /FontName newfontname put newcodesandnames aload pop +128 1 255 { newfont /Encoding get exch /.notdef put } for +newcodesandnames length 2 idiv { newfont /Encoding get 3 1 roll put } repeat +newfontname newfont definefont pop end } def +/isovec [ +8#055 /minus 8#200 /grave 8#201 /acute 8#202 /circumflex 8#203 /tilde +8#204 /macron 8#205 /breve 8#206 /dotaccent 8#207 /dieresis +8#210 /ring 8#211 /cedilla 8#212 /hungarumlaut 8#213 /ogonek 8#214 /caron +8#220 /dotlessi 8#230 /oe 8#231 /OE +8#240 /space 8#241 /exclamdown 8#242 /cent 8#243 /sterling +8#244 /currency 8#245 /yen 8#246 /brokenbar 8#247 /section 8#250 /dieresis +8#251 /copyright 8#252 /ordfeminine 8#253 /guillemotleft 8#254 /logicalnot +8#255 /hyphen 8#256 /registered 8#257 /macron 8#260 /degree 8#261 /plusminus +8#262 /twosuperior 8#263 /threesuperior 8#264 /acute 8#265 /mu 8#266 /paragraph +8#267 /periodcentered 8#270 /cedilla 8#271 /onesuperior 8#272 /ordmasculine +8#273 /guillemotright 8#274 /onequarter 8#275 /onehalf +8#276 /threequarters 8#277 /questiondown 8#300 /Agrave 8#301 /Aacute +8#302 /Acircumflex 8#303 /Atilde 8#304 /Adieresis 8#305 /Aring +8#306 /AE 8#307 /Ccedilla 8#310 /Egrave 8#311 /Eacute +8#312 /Ecircumflex 8#313 /Edieresis 8#314 /Igrave 8#315 /Iacute +8#316 /Icircumflex 8#317 /Idieresis 8#320 /Eth 8#321 /Ntilde 8#322 /Ograve +8#323 /Oacute 8#324 /Ocircumflex 8#325 /Otilde 8#326 /Odieresis 8#327 /multiply +8#330 /Oslash 8#331 /Ugrave 8#332 /Uacute 8#333 /Ucircumflex +8#334 /Udieresis 8#335 /Yacute 8#336 /Thorn 8#337 /germandbls 8#340 /agrave +8#341 /aacute 8#342 /acircumflex 8#343 /atilde 8#344 /adieresis 8#345 /aring +8#346 /ae 8#347 /ccedilla 8#350 /egrave 8#351 /eacute +8#352 /ecircumflex 8#353 /edieresis 8#354 /igrave 8#355 /iacute +8#356 /icircumflex 8#357 /idieresis 8#360 /eth 8#361 /ntilde 8#362 /ograve +8#363 /oacute 8#364 /ocircumflex 8#365 /otilde 8#366 /odieresis 8#367 /divide +8#370 /oslash 8#371 /ugrave 8#372 /uacute 8#373 /ucircumflex +8#374 /udieresis 8#375 /yacute 8#376 /thorn 8#377 /ydieresis] def +/Courier-Bold /Courier-Bold-iso isovec ReEncode +/Times-Bold /Times-Bold-iso isovec ReEncode +/Times-Roman /Times-Roman-iso isovec ReEncode +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +10 setmiterlimit + 0.06000 0.06000 sc +% +% Fig objects follow +% +/Times-Roman-iso ff 150.00 scf sf +6600 1200 m +gs 1 -1 sc (www.metux.de) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 825 m +gs 1 -1 sc (+49 36207 51833) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 675 m +gs 1 -1 sc (+49 174 7066481) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 1350 m +gs 1 -1 sc (contact @ metux.de) col8 sh gr +/Courier-Bold-iso ff 180.00 scf sf +1650 750 m +gs 1 -1 sc (Ihr innovativer IT-Dienstleister) col25 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 1200 m +gs 1 -1 sc ( Internet) col0 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 675 m +gs 1 -1 sc ( Telephon) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1350 m +gs 1 -1 sc (Advance Bank \(BLZ 702 300 00\), Kto-Nr: 200 72 64 206) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1575 m +gs 1 -1 sc (Enrico Weigelt, Steuer-Nr: 154/286/05931) col8 sh gr +/Times-Bold-iso ff 300.00 scf sf +75 750 m +gs 1 -1 sc (metux ITS) col9 sh gr +/Courier-Bold-iso ff 150.00 scf sf +150 1350 m +gs 1 -1 sc (Bankverbindung:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +750 1575 m +gs 1 -1 sc (Inhaber:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +225 1125 m +gs 1 -1 sc (Hausanschrift:) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1125 m +gs 1 -1 sc (Heydaer Strasse 23 99338 Plaue) col8 sh gr +/Times-Roman-iso ff 180.00 scf sf +10125 300 m +gs 1 -1 sc (tricktext) col0 sh gr +$F2psEnd +rs diff -ruN htdocs.orig/templates/tex/default/resource/header.fig htdocs/templates/tex/default/resource/header.fig --- htdocs.orig/templates/tex/default/resource/header.fig 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.fig 2002-09-17 01:44:26.000000000 +0200 @@ -0,0 +1,24 @@ +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-2 +1200 2 +4 0 0 893 -1 14 10 -0.0000 4 135 1350 150 1350 Bankverbindung:\001 +4 0 0 890 -1 14 10 -0.0000 4 105 1260 225 1125 Hausanschrift:\001 +4 0 9 918 -1 2 20 0.0000 4 150 1005 75 750 metux ITS\001 +4 0 25 969 -1 14 12 -0.0000 4 135 3360 1650 750 Ihr innovativer IT-Dienstleister\001 +4 0 0 942 -1 2 10 0.0000 4 135 750 5700 675 Telephon\001 +4 0 8 991 -1 0 10 0.0000 4 105 1050 6600 675 +49 174 7066481\001 +4 0 8 997 -1 0 10 0.0000 4 105 1050 6600 825 +49 36207 51833\001 +4 0 8 999 -1 0 10 0.0000 4 105 990 6600 1200 www.metux.de\001 +4 0 0 946 -1 2 10 0.0000 4 105 765 5700 1200 Internet\001 +4 0 8 888 -1 0 10 0.0000 4 135 1935 1650 1125 Heydaer Strasse 23 99338 Plaue\001 +4 0 8 987 -1 0 10 0.0000 4 135 1230 6600 1350 contact @ metux.de\001 +4 0 8 933 -1 0 10 0.0000 4 135 3435 1650 1350 Advance Bank (BLZ 702 300 00), Kto-Nr: 200 72 64 206\001 +4 0 0 50 0 0 12 0.0000 4 135 645 10125 300 tricktext\001 +4 0 0 893 -1 14 10 0.0000 4 105 720 750 1575 Inhaber:\001 +4 0 8 933 -1 0 10 0.0000 4 135 2415 1650 1575 Enrico Weigelt, Steuer-Nr: 154/286/05931\001 diff -ruN htdocs.orig/templates/tex/default/resource/metux.tex htdocs/templates/tex/default/resource/metux.tex --- htdocs.orig/templates/tex/default/resource/metux.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/metux.tex 2007-05-09 23:56:59.000000000 +0200 @@ -0,0 +1,76 @@ +% Variablen .... % +\def\metuxSignature{\epsfig{file=\ResourcePrefix/signature.png}} +\def\metuxName{metux IT service} +\def\metuxPhone{+49-36207-519931} +\def\metuxFax{+49-36207-519932} +\def\metuxEmail{weigelt at metux.de} +\def\metuxUrl{www.metux.de} +\def\metuxAddress{Heydaer Stra{\ss}e 23, 99338 Plaue} +\def\metuxBankAccount{0972596900} +\def\metuxBankCompany{Dresdner Bank AG} +\def\metuxBankCode{82080000} +\def\metuxBank{Kto: \metuxBankAccount, BLZ: \metuxBankCode, \metuxBankCompany} +\def\metuxStrnr{154/286/05931} +\def\metuxOwner{Enrico Weigelt} + +\def\nl{\ \\} +\def\metuxGeomLeft{2cm} +\def\metuxGeomRight{2cm} +\def\metuxGeomBottom{1cm} +\def\metuxGeomHead{1cm} +\def\metuxGeomTop{0.5cm} + +\newcommand\metuxFooter +{ + \hrule + ~\newline + \parbox[l]{180pt}{ + \small + \metuxName \\ + Inh. \metuxOwner \\ + \metuxAddress \\ + StNr: \metuxStrnr + } + \parbox[l]{180pt}{ + \small + Bankverbindung: \\ + Kto: \metuxBankAccount \\ + BLZ: \metuxBankCode \\ + \metuxBankCompany + } + \parbox[l]{180pt}{ + \small + Tel: \metuxPhone \\ + Fax: \metuxFax \\ + eMail: \metuxEmail \\ + WWW: \metuxUrl + } +} + +\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.png}} +%\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.eps}} +\newcommand\metuxInit{ + \renewcommand{\headrulewidth}{0.5pt} + \renewcommand{\footrulewidth}{0.5pt} + \cfoot{\metuxFooter} + \chead{\metuxHeader} +} + +% \newcommand\Euro{Euro} + +\def\metuxMFG{% + \noindent Mit freundlichem Gru\ss + + \epsfig{\metuxSignature} + + \noindent Enrico Weigelt \\ + metux IT service +} + +\def\metuxMFGpriv{% + \noindent Mit freundlichem Gru\ss + + \metuxSignature + + \noindent Enrico Weigelt +} From prasad at vtiger.com Wed Sep 26 09:04:08 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:04:08 -0700 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods In-Reply-To: <20070926122938.GC21523@nibiru.local> References: <20070926122938.GC21523@nibiru.local> Message-ID: <11541eacf30.1877912300598081527.-6328444782417676545@vtiger.com> this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed Thank you for the patch. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment-0002.html -------------- next part -------------- A non-text attachment was scrubbed... Name: 09_nekrad_peardb-newfuncs.diff Type: application/octet-stream Size: 1024 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment-0002.obj From prasad at vtiger.com Wed Sep 26 09:08:22 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:08:22 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> Message-ID: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Hi David, thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. It would be good if you can talk to the project owner (developer) of http://forge.vtiger.com/projects/asterisk-integ/ You can share your ideas/requirements and if possible you can add the enhancements that project. If your project focus is completely different, you can create a new forge project and actively develop and contribute to community. Regards, Prasad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/350c4eb4/attachment-0002.html From prasad at vtiger.com Wed Sep 26 09:37:56 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:37:56 -0700 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods In-Reply-To: <20070926123644.GD21523@nibiru.local> References: <20070926123644.GD21523@nibiru.local> Message-ID: <1154209c25d.-5265518081636982803.-7355899420341582097@vtiger.com> Hi Enrico, I have a small concern to share with the fix you have mentioned: this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. PHP 5.2 requires __toString() method if an object should be contactenated with string, this was not the constraint with PHP 5.1 We use string contacts in debug statements, so adding __toString() to return a constant value from a object might not be a good way. Our patch for PHP 5.2 (vtiger 5.0.3) handles this problem by adding get_class($object) in the string concatenation, this way we don't change the class definition entirely. get_class($object) returns string which can be concatenated without problem. Some places we have replaced $user object with $user->user_name instead of get_class($user) because having user_name information is more useful. We have integrated such fix in our latest developement branch of vtiger 5.0.4. Hope this information was useful. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/d339f42a/attachment-0002.html From aresolimpico at gmail.com Wed Sep 26 10:24:21 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 11:24:21 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Message-ID: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> i think is a completely different. because that plug in is very good for a basic asterisk integration and a lot of users will want to kept it in that way. and if vam is another module any one can use both at the same time. so how i put vam on top of the page, in every page? (i change the name from vasterisk to vam vtiger asterisk manager) i don't know if i should create a new project until i have the info about how to put vam on top... with out that info all the project is useless. thanks!!!! David 2007/9/26, Prasad : > > Hi David, > > thanks for you response, i installed that plug in, it is very good, but i > need more complex management of asterisk. > > It would be good if you can talk to the project owner (developer) of > http://forge.vtiger.com/projects/asterisk-integ/ > > You can share your ideas/requirements and if possible you can add the > enhancements that project. > > If your project focus is completely different, you can create a new forge > project and > actively develop and contribute to community. > > Regards, > Prasad > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/988fc103/attachment-0002.html From aresolimpico at gmail.com Wed Sep 26 13:36:06 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 14:36:06 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> Message-ID: <4c307cb60709261036u5b73b08cj4d533deee89a2e92@mail.gmail.com> hi i think no one know where is the place (file) to put a module over the main tab... so i am going to tell you. the file is Header.tpl ../Smarty/templates/Header.tpl below the line 56 which says
how to put vam on top... with out that info all the project is useless. > > thanks!!!! > > David > > > 2007/9/26, Prasad : > > > > Hi David, > > > > thanks for you response, i installed that plug in, it is very good, but > > i need more complex management of asterisk. > > > > It would be good if you can talk to the project owner (developer) of > > http://forge.vtiger.com/projects/asterisk-integ/ > > > > You can share your ideas/requirements and if possible you can add the > > enhancements that project. > > > > If your project focus is completely different, you can create a new > > forge project and > > actively develop and contribute to community. > > > > Regards, > > Prasad > > > > > > _______________________________________________ > > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/0f79f3bb/attachment-0002.html From asha at vtiger.com Thu Sep 27 07:03:43 2007 From: asha at vtiger.com (Asha) Date: Thu, 27 Sep 2007 04:03:43 -0700 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build Message-ID: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070927/a47e0486/attachment-0002.html From minnie at vtiger.com Fri Sep 28 02:15:20 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 28 Sep 2007 11:45:20 +0530 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build In-Reply-To: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> References: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Message-ID: <1154ac143e6.-1328666412968226924.9121420989952442347@vtiger.com> Download url for .bin package http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.bin Minnie. ----On Thu, 27 Sep 2007 Asha wrote ---- Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070928/1bd77f2e/attachment-0002.html From kamalakannan at adventnet.com Tue Sep 11 03:42:19 2007 From: kamalakannan at adventnet.com (kamalakannan) Date: Tue, 11 Sep 2007 16:12:19 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <46E6710B.3030208@adventnet.com> plz ignore this mail From smkkannan at gmail.com Tue Sep 11 02:00:29 2007 From: smkkannan at gmail.com (kamal kannan) Date: Tue, 11 Sep 2007 14:30:29 +0530 Subject: [Vtigercrm-developers] test mail Message-ID: <48268dc50709110200m1a55d500pfe0f67f77d1e89c6@mail.gmail.com> plz ignore this mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/569a37fe/attachment-0004.html From kamal_subes2000 at rediffmail.com Tue Sep 11 02:11:56 2007 From: kamal_subes2000 at rediffmail.com (kamal kannan) Date: 11 Sep 2007 09:11:56 -0000 Subject: [Vtigercrm-developers] hi Message-ID: <20070911091156.21313.qmail@webmail72.rediffmail.com> hi to all -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/ce13055d/attachment-0003.html From kmsnet at rediffmail.com Tue Sep 11 01:17:56 2007 From: kmsnet at rediffmail.com (Khaja Mohideen) Date: 11 Sep 2007 08:17:56 -0000 Subject: [Vtigercrm-developers] test Message-ID: <20070911081756.23375.qmail@f4mail204.rediffmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070911/2a47e59f/attachment-0003.html From ckwu at ck-erp.net Mon Sep 10 19:27:33 2007 From: ckwu at ck-erp.net (C K Wu) Date: Tue, 11 Sep 2007 10:27:33 +0800 Subject: [Vtigercrm-developers] CK-ERP (Open Source ERP / CRM / MRP) v.0.24.1 released [with vTiger 5.0.3 connector] Message-ID: <46E5FD15.7070104@ck-erp.net> Hi, folks, I have posted a new release, v.0.24.1, of CK-ERP, at SourceForge.Net, http://sourceforge.net/projects/ck-erp . New features include, a connector for LegalCase and updated connectors for ClearHealth, OpenEMR and osCommerce, facilities to convert sales order to purchase order and/or material/service requisition so as to procure the required material/service after a sale is concluded, addition of a sample law office chart of accounts and a sample medical practice chart of accounts, addition of Australian GST tax rate and updating of Canadian GST tax rate, addition of narrow/wide display option for the various case handling screens, addition of customer, vendor, employee contact lists, and, addition of German translation for the Quotation module. Special thank is due to David Epperson of Dallas for permission to make use of the "Law Firm Chart of Accounts" (located at http://www/txethics.org/TCLEPCOURSE2005/omlp/sec11.1.pdf) while generating the sample law office chart of accounts. The effort by Stefan Kemper of Switzerland in producing the new German translations is also gratefully acknowledged. [Please note that the sample medical practice chart of accounts is designed for countries/regions where medical doctors are allowed to dispense prescription drugs within their medical practices. If the relevant medical practice is operating within a jurisdiction where doctors are prohibited from dispensing drugs, then it may be a prudent measure to delete all the drug sale, COGS ? drugs, inventory ? drugs and related accounts to avoid a presumption that in-practice drug sale had been planned.] CK-ERP is an open source accounting/MRP/ERP/CRM system that runs on top of multiple middlewares. It comprises 22 modules - Administration, i18n, Contact Management, Customer Relationship, Customer Self Service, Vendor Relationship, Ledger, Bank Reconciliation, MRP, Warehouse, Inventory, Service, AP, AR, PO, SO, Quotation, POS for Cashier, POS for Manager, HR, Staff Self Service and Payroll. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups. Please report error and suggestion to the discussion group / mailing list, CK-ERP-en(at)googlegroups.com or CK-ERP-zh_CN(at)googlegroups.com . General history and expected development is available at the discussion group's Archive. Supported MiddleWares: LegalCase, MirrorMed, ClearHealth, OpenEMR, eGroupWare, Horde-GroupWare; Zencart, CRELoaded, osCMax, osCommerce; Drupal, Joomla, Mambo, e107, XOOPS, Xaraya; Moodle, Atutor; vTiger, XRMS; WordPress, b2evolution; TikiWiki; phpBB. Information/Demo Websites: http://ck-erp.org http://ck-erp.net http://ck-erp.com Download is available from, http://sourceforge.net/projects/ck-erp http://gforge.oss.org.cn/projects/ck-erp http://gf.cs.hit.edu.cn/projects/ck-erp http://www.cnforge.org/modules/xfmod/project/?ck-erp http://gro.clinux.org/projects/ck-ledger Cheers, Wu Chiu Kay, aka CK Wu, aka CK (CK is the preferred alias) Hong Kong From joey.novak at gmail.com Wed Sep 12 06:06:05 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 09:06:05 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. Message-ID: Hey Guys, So, the company I am working for has decided to implement a CRM, and they have budgeted a significant amount of money to do so. We like all the features of vTiger. The only thing that would stop us, is the lack of MSSQL support. We may go with it ontop of MySQL, however a significant portion of our companies money machine is composed of MSSQL DTS Jobs. We have to decided and prepare a plan by the end of the week (this has been in the works for a while). And in an effort to make the decision easier, I have spent some time working through the issues I see that prevent vTiger from running on MSSQL. While I do not yet have a succesful installation, I have gotten the tables to all be created properly, and I have a walkthrough for what I have done sitting on my computer at work (I'll send that out once I am in the office). I don't want to waste my time working through the installation issues if there are going to be LOTS of other little issues, by a LOT I mean > 100. We can slowly work through 100 MSSQL problems, but we can't afford to work through 1000. Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/24f2bcb8/attachment-0003.html From weigelt at metux.de Wed Sep 12 07:34:51 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 12 Sep 2007 16:34:51 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL... Anyone framiliar with the problems assocaited with this. In-Reply-To: References: Message-ID: <20070912143450.GA3489@nibiru.local> * Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Wed Sep 12 07:52:16 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 10:52:16 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... Message-ID: Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > Hi, > > > So, the company I am working for has decided to implement a CRM, > > and they have budgeted a significant amount of money to do so. > > We like all the features of vTiger. > > Cool. Maybe your company could provide some funds for completing > several outstanding things :) > (some of us are freelancers who mostly contribute during their > customer projects and can be hired ;-)) > > > The only thing that would stop us, is the lack of MSSQL support. > > We may go with it ontop of MySQL, however a significant portion of > > our companies money machine is composed of MSSQL DTS Jobs. > > Well, I clearly can understand you don't want MySQL, the SQL-enabled > cardfile ;-P. But WTH MSSQL ? > > We've got PostgreSQL support. Instead of burning so much money w/ > M$ license fees and the whole (Windows-generated) troubleshooting, > you can get an complete machine w/ pgsql on GNU/Linux or xBSD > and build evrything optimized for your hw. > > > We have to decided and prepare a plan by the end of the week (this > > has been in the works for a while). And in an effort to make the > > decision easier, I have spent some time working through the issues > > I see that prevent vTiger from running on MSSQL. > > One of the major points (IMHO) is that MSSQL's understanding of SQL > is even crappier than MySQL's. > > I *personally* wouldn't suggest porting to another homebrewn SQL dialect. > Better spend a day for becoming confident w/ PostgreSQL ;-P > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/29098b42/attachment-0003.html From joey.novak at gmail.com Wed Sep 12 08:38:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Wed, 12 Sep 2007 11:38:42 -0400 Subject: [Vtigercrm-developers] Bug Found... Message-ID: I didn't see anyway on the website to submit a bug, (maybe I am blind?) install/4createConfigFile.php Line 106 to 120, single ='s are used instead of '==' Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070912/67bfcd05/attachment-0003.html From libregeek at gmail.com Wed Sep 12 20:57:45 2007 From: libregeek at gmail.com (Manilal K M) Date: Thu, 13 Sep 2007 09:27:45 +0530 Subject: [Vtigercrm-developers] Bug Found... In-Reply-To: References: Message-ID: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> On 12/09/2007, Joey Novak wrote: > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > install/4createConfigFile.php > > Line 106 to 120, single ='s are used instead of '==' > > Joey > Joey, You can find the bug tracker here: http://trac.vtiger.com/ regards -- Manilal K M. http://linuxeyes.blogspot.com http://flossvalley.blogspot.com Better to light one candle than to curse the darkness. From liza at vtiger.com Wed Sep 12 22:12:35 2007 From: liza at vtiger.com (liza) Date: Thu, 13 Sep 2007 10:42:35 +0530 Subject: [Vtigercrm-developers] Fwd:Re: Bug Found... In-Reply-To: <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> References: <2315046d0709122057w6b14c510uacb2af643af9f20e@mail.gmail.com> <114fd226cbc.184634117368723289.-3800363436470433949@vtiger.com> Message-ID: <46E8C6C3.3030805@vtiger.com> Hi, I have added this issue in our vtiger trac. For more info kindly refer the following link. http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4170 Here after If you find any issue, kindly file that in our bug tracker. http://trac.vtiger.com Thanks & Regards, Liza. > > On 12/09/2007, Joey Novak wrote: > > I didn't see anyway on the website to submit a bug, (maybe I am blind?) > > > > install/4createConfigFile.php > > > > Line 106 to 120, single ='s are used instead of '==' > > > > Joey > > > Joey, > You can find the bug tracker here: > http://trac.vtiger.com/ From joey.novak at gmail.com Thu Sep 13 08:22:32 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 13 Sep 2007 11:22:32 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - Will Code Be Maintained... Message-ID: Hey Guys, So, an important question... If We (as in myself, and others at the company I work for) do all the work to get vTiger to run on MSSQL, can we get our changes into the vTiger repository so that future releases will work with MSSQL? Or does this not have enough demand to be maintained in the future? Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070913/8ac44cac/attachment-0003.html From minnie at vtiger.com Fri Sep 14 05:00:10 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 14 Sep 2007 17:30:10 +0530 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <11503e3ef58.8002445302510352760.1922159776437872223@vtiger.com> Dear Joey, In DatabaseSchema.xml, some of the tables has specified withautoincrement field. But in vtiger CRM, we are not using theautoincrement while inserting entries in the tables, instead we areusing the method called getUniqueID() which is provide by ADODB library that simplifies many database-related tasks in PHP. In future, we need to review the DatabaseSchema.xml file and remove the unwanted autoincrement fields and test whether it works fine with MySQL. Thanks & Regards, Minnie. ----On Wed, 12 Sep 2007 Joey Novak wrote ---- Enrico, Have you looked at MySQL 5 lately? It has advanced far far beyond it's SQL Enabled Card File Status. While it doesn't posses many of the easier to use options of MS SQL, I feel it is a serious competitor in the DBMS Market. No chance I can get them to go with Postgres, we have no one with experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't happen, we would be wasting those resources if we switched to Postgres. If we can get vTiger running on MS SQL, then it is definatly a go to switch to vTiger, and there are LOTS of customizations we will need. The largest being an Integrated Billing System. My manager is supportive of aiding the OpenSource community, so there is a fairly good chance that we could contribute financial support to parts of vTiger that are lacking to us. But, if it won't run on MS SQL, then the odds of us adopting it are less then 20%. I have spent just a few hours on the vTiger MSSQL problem, here is what I have so far (It looks like such a meager amount for the time spent). http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL I wonder why the faq table has an autoincrement for the foreign key to the crmentity table. While this makes it work fine in MySQL, it doesn't float with MS SQL. Which makes sense, I mean, the Auto Incremented value that MySQL generates can almost never be used as the CRMEntity key, as there are so many other tables that must have entries in crmentity as well. While it is theoreticaly possible that all the faq keys would not bump into any other keys, I expect that in the code, there isn't a single place that the faq key's autoincrement value is used. Joey On 9/12/07, Enrico Weigelt wrote:* Joey Novak schrieb: Hi, > So, the company I am working for has decided to implement a CRM, > and they have budgeted a significant amount of money to do so. > We like all the features of vTiger. Cool. Maybe your company could provide some funds for completing several outstanding things :) (some of us are freelancers who mostly contribute during their customer projects and can be hired ;-)) > The only thing that would stop us, is the lack of MSSQL support. > We may go with it ontop of MySQL, however a significant portion of > our companies money machine is composed of MSSQL DTS Jobs. Well, I clearly can understand you don't want MySQL, the SQL-enabled cardfile ;-P. But WTH MSSQL ? We've got PostgreSQL support. Instead of burning so much money w/ M$ license fees and the whole (Windows-generated) troubleshooting, you can get an complete machine w/ pgsql on GNU/Linux or xBSD and build evrything optimized for your hw. > We have to decided and prepare a plan by the end of the week (this > has been in the works for a while). And in an effort to make the > decision easier, I have spent some time working through the issues > I see that prevent vTiger from running on MSSQL. One of the major points (IMHO) is that MSSQL's understanding of SQL is even crappier than MySQL's. I *personally* wouldn't suggest porting to another homebrewn SQL dialect. Better spend a day for becoming confident w/ PostgreSQL ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/9bfd196d/attachment-0003.html From client.services.ny at gmail.com Fri Sep 14 06:02:02 2007 From: client.services.ny at gmail.com (Client Services of New York, LLC) Date: Fri, 14 Sep 2007 09:02:02 -0400 Subject: [Vtigercrm-developers] MS SQL Installation Walkthrough so far... In-Reply-To: References: Message-ID: <68b1fa90709140602q59ce2b7bhba7d816008796811@mail.gmail.com> On 9/12/07, Joey Novak wrote: > > > No chance I can get them to go with Postgres, we have no one with > experience, and we have 2 MySQL DBA's and a MSSQL DBA, so it just won't > happen, we would be wasting those resources if we switched to Postgres. > If your DBA's are so limited in scope, that they could not read the relevant documentation for Postgresql, or any other database product and adapt to the new environment, I would suggest that your hiring criteria for DBAs are insufficient, and need to be updated. -- Mike Lieman Client Services of New York, L.L.C. client.services.ny at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070914/024debca/attachment-0003.html From al at xanthus.net Sun Sep 16 09:58:18 2007 From: al at xanthus.net (Alan Leurck) Date: Sun, 16 Sep 2007 12:58:18 -0400 Subject: [Vtigercrm-developers] outlook plug in Message-ID: <46ED60AA.5090302@xanthus.net> I believe I have run across a security problem with the outlook plug in and would like to discuss this with the person(s) responsible for the plug in. If someone from the plug in team could please contact me to discuss the problem, I think we can resolve the issue with a number of updates on both the client and server side. Thank you. Al From joey.novak at gmail.com Thu Sep 20 05:46:14 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 08:46:14 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger Message-ID: Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/65553b14/attachment-0003.html From svk at vtiger.com Thu Sep 20 11:03:00 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Thu, 20 Sep 2007 11:03:00 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: Message-ID: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Hi Joey, Today, we have separate distributions for MySQL, and Postgres. It will be nice not having to maintain these different code bases. We are considering adding multi-database support soon. If your changes help us in this process we will certainly look into it. For now, the best way to proceed is to create a new branch (5.0.3 for MSSQL) and contribute your changes to it. Then you can request help from the community in testing it with MySQL and other databases. Regards, Sreenivas vtiger Team. ----On Thu, 20 Sep 2007 Joey Novak wrote ---- Hey Guys, I am still working hard on modifying the parts of vTiger that don't work well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to get my changes considered for the next release of vTiger? It is easy for me to test them on MySQL, but I don't know about postgres. I have never worked on a big OpenSource project, so I am not framiliar with the proper etiquete for contributing changes, but I think these changes would be valuable to the project. Joey http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html_______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/d91ce1c5/attachment-0003.html From joey.novak at gmail.com Thu Sep 20 13:37:42 2007 From: joey.novak at gmail.com (Joey Novak) Date: Thu, 20 Sep 2007 16:37:42 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: Hey Guys, So, I am 99% finished porting the non-MSSQL compliant SQL into Compatible SQL. I have a running version of vTiger on my desktop, and all the features we have tested work fine (including all the modules, custom reports, etc...) the only known issue that doesn't work is the calendar module writes dates incorrectly to the db, and I haven't spent anytime trying to fix it yet is all). If someone is interested, I have some very unorganized, but mostly complete, notes located here: http://www.joeynovak.com/wiki/index.php/VTiger_on_MSSQL Again, I don't know what the best way to go about this is, but my Company is willing to invest resources into merging the braches of vTiger into one branch that works on postGres, MSSQL, and MySQL. They wish to make this investment now, so that in the future, we will be able to reap the benefits of continued vTiger improvements without having to patch it to make it work on MSSQL everytime a new release comes out. Specificaly, they have authorized me to spend one to two weeks of work time on the effort. I can do all this, I just want to make certain that my work will be of as much benefit as possible to the community, and my company by getting the work into the main vTiger branch in the svn repository when I am done. If I start with the 5.0.4 branch, and make all the changes to make it work on Postgres, MySQL, and MSSQL with one code base, and test it, how would I submit my work? Again, please keep in mind that although I have extensive programming experience, I have never contributed to an opensource project before, and don't know what is expected. Sreenivas's reply earlyer today, told me I should create a new branch, as I browsed the code, I could not find the seperate postgres branch he spoke of. Is it not clearly labeled? Is the 5.0.3 branch really the MySQL/Postgres branch, and 5.0.4 is MySQL only? If someone is willing to lend me some more guidance, then we should be able to put forth this effort and achieve the mutual goal of my company and the vTiger community without using very much more of everyones time. Thanks Guys, Joey On 9/20/07, Sreenivas Kanumuru wrote: > > Hi Joey, > > Today, we have separate distributions for MySQL, and Postgres. It will be > nice not having to maintain these different code bases. We are considering > adding multi-database support soon. If your changes help us in this process > we will certainly look into it. > > For now, the best way to proceed is to create a new branch (5.0.3 for > MSSQL) and contribute your changes to it. Then you can request help from the > community in testing it with MySQL and other databases. > > Regards, > > Sreenivas > vtiger Team. > > > > > ----On Thu, 20 Sep 2007 *Joey Novak * wrote ---- > > Hey Guys, > > I am still working hard on modifying the parts of vTiger that don't work > well with MSSQL to work well with MSSQL, and MySQL. What do I need to do to > get my changes considered for the next release of vTiger? It is easy for me > to test them on MySQL, but I don't know about postgres. I have never worked > on a big OpenSource project, so I am not framiliar with the proper etiquete > for contributing changes, but I think these changes would be valuable to the > project. > > Joey > > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html_______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070920/33c806f2/attachment-0003.html From weigelt at metux.de Fri Sep 21 05:06:43 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 14:06:43 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> Message-ID: <20070921120643.GA12321@nibiru.local> * Joey Novak schrieb: hi, > So, I am 99% finished porting the non-MSSQL compliant SQL into > Compatible SQL. Please try to move the RDBMS specific things into some separate source file, maybe some separate class. This gives an central point for RDBMS specific things and makes further porting much easier. (I did similar things on my branch, which are not yet ported back.) For example: Some base class "VT_DB_Driver" where several individual drivers (ie. for mysql, mssql, pgsql) are derived from. It should have those functions: * QueryRecords($query_string) -> give back an array of recods * SequenceNextVal($seq_name) * SQL_Encode_int($i) * SQL_Encode_date($d) * SQL_Encode_text($t) ... Ah, and please document your changes in the code and give tell us something about what you did on the list :) > Again, I don't know what the best way to go about this is, but my Company > is willing to invest resources into merging the braches of vTiger into one > branch that works on postGres, MSSQL, and MySQL. Is your company willing to hire some of us? ;-O > how would I submit my work? Post an patch to the list ;-P > told me I should create a new branch, as I browsed the code, I could not > find the seperate postgres branch he spoke of. Is it not clearly labeled? It's in the jens_5_1 branch. But last time I checked, it wasn't the whole of Jens's work, and he sent me his personal copy. Mine has also several changes, some maybe already committed, some maybe not. BTW: we already have dozens of branches, we really should get them together. Why not forking from the latest stable, and intensively try to get in all the changes laying around into it ? An clean DB abstraction seems to be an key point for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Fri Sep 21 05:25:07 2007 From: joey.novak at gmail.com (Joey Novak) Date: Fri, 21 Sep 2007 08:25:07 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921120643.GA12321@nibiru.local> References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: Enrico, > Please try to move the RDBMS specific things into some separate >source file, maybe some separate class. This gives an central >point for RDBMS specific things and makes further porting much >easier. (I did similar things on my branch, which are not yet >ported back.) I understand what you are asking for (I think). But I don't see how what you want differs from the what is in the 5.0.3 code already. ADOdb does what you are speaking of (I think). Joey On 9/21/07, Enrico Weigelt wrote: > > * Joey Novak schrieb: > > hi, > > > So, I am 99% finished porting the non-MSSQL compliant SQL into > > Compatible SQL. > > Please try to move the RDBMS specific things into some separate > source file, maybe some separate class. This gives an central > point for RDBMS specific things and makes further porting much > easier. (I did similar things on my branch, which are not yet > ported back.) > > For example: > > Some base class "VT_DB_Driver" where several individual drivers > (ie. for mysql, mssql, pgsql) are derived from. > > It should have those functions: > > * QueryRecords($query_string) -> give back an array of recods > * SequenceNextVal($seq_name) > * SQL_Encode_int($i) > * SQL_Encode_date($d) > * SQL_Encode_text($t) > ... > > > Ah, and please document your changes in the code and give tell us > something about what you did on the list :) > > > Again, I don't know what the best way to go about this is, but my > Company > > is willing to invest resources into merging the braches of vTiger into > one > > branch that works on postGres, MSSQL, and MySQL. > > Is your company willing to hire some of us? ;-O > > > how would I submit my work? > > Post an patch to the list ;-P > > > told me I should create a new branch, as I browsed the code, I could not > > find the seperate postgres branch he spoke of. Is it not clearly > labeled? > > It's in the jens_5_1 branch. But last time I checked, it wasn't > the whole of Jens's work, and he sent me his personal copy. > Mine has also several changes, some maybe already committed, > some maybe not. > > BTW: we already have dozens of branches, we really should get > them together. Why not forking from the latest stable, and > intensively try to get in all the changes laying around into it ? > An clean DB abstraction seems to be an key point for me. > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070921/3bf7202d/attachment-0003.html From weigelt at metux.de Fri Sep 21 09:34:16 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Fri, 21 Sep 2007 18:34:16 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <1152416455e.-3089963823360708224.6956618764496481906@vtiger.com> <20070921120643.GA12321@nibiru.local> Message-ID: <20070921163416.GA15655@nibiru.local> * Joey Novak schrieb: > I understand what you are asking for (I think). But I > don't see how what you want differs from the what is in > the 5.0.3 code already. ADOdb does what you are speaking > of (I think). This adodb crap is exactly what I want to get rid of. Doesnt cope the whole dialects, too unstable and extremly resource wasting. An good example for bad design. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Sat Sep 22 16:57:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Sun, 23 Sep 2007 09:57:02 +1000 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070921163416.GA15655@nibiru.local> Message-ID: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > This adodb crap is exactly what I want to get rid of. > Doesnt cope the whole dialects, too unstable and extremly > resource wasting. An good example for bad design. Do you have an alternative to suggest? Pear DB perhaps (urghhh). Or do you want to invent your own wheel and create a maintenance nightmare? As far as I can tell, all options have plusses and minuses. But a collective library must be the best way to go. Cheers Graham From weigelt at metux.de Sun Sep 23 05:31:05 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Sun, 23 Sep 2007 14:31:05 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <005b01c7fd74$475eb050$6401010a@gmn800c60gb> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> Message-ID: <20070923123105.GA28296@nibiru.local> * Graham Miller schrieb: > Do you have an alternative to suggest? > > Pear DB perhaps (urghhh). Yes, PEAR DB is much cleaner and less complex. It still lacks several functions (ie. for query rendering), but this can be easily extendet. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From joey.novak at gmail.com Sun Sep 23 07:53:17 2007 From: joey.novak at gmail.com (Joey Novak) Date: Sun, 23 Sep 2007 10:53:17 -0400 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070923123105.GA28296@nibiru.local> References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: I am not trying to argue... But, I really didn't find adodb all that complex. There are three or four functions that it uses, and that is it. With a few modifications to make it always use the associative array return values, instead of index based. And a way to do different queries depending upon the dbms (there are only a few that it would be easier if they could be different, most can be the same). Then I think adodb would do the job great. As for performance, I didn't see very much in the adodb code that would slow things down. Although I may have missed something. Joey On 9/23/07, Enrico Weigelt wrote: > > * Graham Miller schrieb: > > > > > Do you have an alternative to suggest? > > > > Pear DB perhaps (urghhh). > > Yes, PEAR DB is much cleaner and less complex. > It still lacks several functions (ie. for query rendering), > but this can be easily extendet. > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070923/12303117/attachment-0003.html From joey.novak at gmail.com Mon Sep 24 05:57:13 2007 From: joey.novak at gmail.com (Joey Novak) Date: Mon, 24 Sep 2007 08:57:13 -0400 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: Hey Guys, This will probably be my final message here. We decided to go with SugarCRM. There just seems to be a lot more development work going on to extend SugarCRM. It was a very difficult decision, our manager, myself, and others have emotional attachments to vTiger, and really do like it better, but we didn't feel it was the best decision for the progress of the business that we support. Anyways, all that being said, we wanted to try to make sure our efforts aren't being wasted. So we wrapped up our version of vTiger that works on MSSQL, and are making it available here: http://www.affinity4.com/vtiger/ Later Guys, and happy coding! Joey -- --- http://www.joeynovak.com C) 803-409-9969 (Work Cell) W) 757-233-0834 H) 757-383-8523 (SkypeIn) "Very funny, Scotty. Now beam down my clothes." Be nice to nerds. Chances are you'll end up working for one. --Bill Gates Your most unhappy customers are your greatest source of learning. --Bill Gates Cope with Life, go buy a slurpee! http://www.slurpee.com/games.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/d3f06286/attachment-0003.html From joe at tsolucio.com Mon Sep 24 06:47:52 2007 From: joe at tsolucio.com (Joe Bordes) Date: Mon, 24 Sep 2007 15:47:52 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: References: Message-ID: <1190641672.22534.18.camel@joesunix.int> Hi, This email should be a call of attention. If your goal is to be "The most popular CRM" you need this development list to be VERY active and have the community adopting your application for the solution to their problems. The way I see it if you study for knowledge you (normally) get a side effect that is passing your exams, when you study to pass the exams is when you may have problems. I think your goal should be to have a flexible and powerfull solution to CRM/Business problems instead of just popularity. Then you will become popular by merits. After all one can acheive popularity easily (just look at TV), why you have that popularity and maintaining it is where the effort is. Joe TSolucio El lun, 24-09-2007 a las 08:57 -0400, Joey Novak escribi?: > Hey Guys, > > This will probably be my final message here. We decided to go with > SugarCRM. There just seems to be a lot more development work going on > to extend SugarCRM. It was a very difficult decision, our manager, > myself, and others have emotional attachments to vTiger, and really do > like it better, but we didn't feel it was the best decision for the > progress of the business that we support. > > Anyways, all that being said, we wanted to try to make sure our > efforts aren't being wasted. So we wrapped up our version of vTiger > that works on MSSQL, and are making it available here: > http://www.affinity4.com/vtiger/ > > Later Guys, and happy coding! > > Joey > > -- > --- > http://www.joeynovak.com > > > C) 803-409-9969 (Work Cell) > W) 757-233-0834 > H) 757-383-8523 (SkypeIn) > "Very funny, Scotty. Now beam down my clothes." > > Be nice to nerds. Chances are you'll end up working for one. > --Bill Gates > > Your most unhappy customers are your greatest source of learning. > --Bill Gates > > Cope with Life, go buy a slurpee! > http://www.slurpee.com/games.html > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com From graham901 at webenhanced.com.au Mon Sep 24 16:18:02 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Tue, 25 Sep 2007 09:18:02 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1190641672.22534.18.camel@joesunix.int> Message-ID: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. From aresolimpico at gmail.com Mon Sep 24 17:12:38 2007 From: aresolimpico at gmail.com (David fire) Date: Mon, 24 Sep 2007 21:12:38 -0300 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <4c307cb60709241712y6dfd3b19j581537e7ebdf8cfc@mail.gmail.com> hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/c6b68c07/attachment-0003.html From svk at vtiger.com Mon Sep 24 17:27:17 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 17:27:17 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <1153a0f869e.-5019729562825485777.-8669095014683350750@vtiger.com> Joey, Thanks for the email, and for all your efforts. w.r.tyour decision to go with Sugar CRM, you mentioned the developmentactivity around the Sugar CRM as one of the key reasons. While vtigerhas a passionate developer community, we do recognize that we have tosimplify the development process to add modules, and more immediatelyhelp users find projects that are already there on the vtiger forge. w.r.tthe MS-SQL support, your contributions will certainly be quite usefulto MS-SQL users. I hope some members from the community will pick it upand maintain it until we get to 6.0 release. We are looking to addmulti-database support in 6.0, so that we don't have to maintaindifferent branches for different databases. I would certainly appreciate any additional feedback you have on your vtiger experience, and areas where we could improve. Joe, Graham, We are taking measures to be more proactive on this list. I know it is not a one way street. If we expect developers to contribute to vtiger, we have to help them. I am confident you will see improvements in this regard going forward. We fully realize the benefits of doing so. In the upcoming 5.0.4 release, about 40 patches contributed by the community are included, besides about 100 or so bug fixes. Tomorrow,we will be posting the details of the development build for theupcoming patch on the blog and the forums. We will be requesting help from the communityto test and provide feedback. Your comments are quite valuable to us. Regards, Sreenivas ----On Mon, 24 Sep 2007 Graham Miller wrote ---- Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/37a47550/attachment-0003.html From svk at vtiger.com Mon Sep 24 18:52:57 2007 From: svk at vtiger.com (Sreenivas Kanumuru) Date: Mon, 24 Sep 2007 18:52:57 -0700 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. Message-ID: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> David, Thanks for the input. Our goal, w.r.t the community, is three fold: 1. Deliver a CRM platform that addresses the core CRM functions well and is easily extensible to add new features/modules. 2. Provide the right tools (forge, Application portal for users, forums, documentation..) to encourage community participation and interaction. 3. Engage with the community On the product front, in 6.0 release, we hope to make big strides in making the product modular and extensible. More immediately though, we hope to make some improvements on the tools front. In the next 4-6 weeks, we are considering a website revision to address the following areas: Documentation:Make it easy for users to find documentation Community participation in creating documentation Community Events:Make it easy for members to organize and promote local community events (user group meetings) We are also considering moving from gForge to gForge Advanced Server for the vtiger forge. (more on this in a separate post) Regards, Sreenivas ----On Mon, 24 Sep 2007 David fire wrote ---- hi we are a lot working on vtiger... maybe the biggest problem is the dificulty to add any new function.... and the lack of responce from main developers... maybe we should ask them what thay want to do... i think vtiger has a very good potential if we change the actitude. we can make some work groups: -documentation -features review -developers (add members) -documentation!!!! if the project go larger will be a lot of job, many enterprise will ask for paid support and others will ask special developments... thanks David 2007/9/24, Graham Miller :Joe Bordes wrote: > This email should be a call of attention. Totally agree. And timing is probably getting critical. There are many commercial entities now considering investing in open source development but they need to know the project is going to be there for the long haul. > If your goal is to be "The most popular CRM" you need this development > list to be VERY active and have the community adopting your application > for the solution to their problems. We will be rebuilding a large proprietary on-line financial planning application into a CRM as the base platform for user logins, profiles, contact history etc etc. The client is willing to invest in open source software and we will probably want some extra programming resources to hire along the way that already know the CRM app really well. We evaluated the market of open source offerings and found sugar/vtiger to be the best. Noting the sugarCRM license requirements and our need to totally re-brand the application, we decided that the apparently real open source alternative (namely vtiger) was the right platform and have been watching the list for signs of an active community. So far we have not seen any activity to justify us spending large amounts of time and money further developing vtiger. We wait in hope. But that hope is, unfortunately, fading. Graham Miller Technical Director For great web site hosting, back end web server programming (Perl, PHP and C), and open source software installation and consulting. Choose WES. Web Enhanced Solutions Pty Ltd http://www.webenhanced.com.au "Spam emails are the mosquitoes of the Internet -- numerous, annoying and often carrying nasty viruses." - Senator Richard Alston. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070924/dccf42e0/attachment-0003.html From chazarra.clement at gmail.com Tue Sep 25 04:53:00 2007 From: chazarra.clement at gmail.com (clement chazarra) Date: Tue, 25 Sep 2007 12:53:00 +0100 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> References: <1153a5df818.4589170436957063666.-4126156473458837266@vtiger.com> Message-ID: Hi, My 2 cents point of view.. vTiger team should focus on the CRM platform and functions, while in the mean time, partners could take care of the website and community. It feels that you have far too many things to handle at the same time, and many people, companies are willing to help on it. So I understand that you want to keep your full hands on vTiger CRM, but giving more responsabilitise to partners would free some team members for other tasks. You need to give more responsabilities to people around! And not just saying so, or taking in account comments. What do people want to see? A better designed website, with community portal and forge more efficient. How would I do it? Post a request for partnership with companies who could restructure the whole website and community portal. >From this point, you could focus just on communications with those partners, and on the development of the next version. But still, it's only my own point of view... BTW, Joe, what are the actual outputs from the meeting in Italy? Are things going forward? Regards, Clem On 9/25/07, Sreenivas Kanumuru wrote: > > David, > > Thanks for the input. > > Our goal, w.r.t the community, is three fold: > 1. Deliver a CRM platform that addresses the core CRM functions well and > is easily extensible to add new features/modules. > 2. Provide the right tools (forge, Application portal for users, forums, > documentation..) to encourage community participation and interaction. > 3. Engage with the community > > On the product front, in 6.0 release, we hope to make big strides in > making the product modular and extensible. > > More immediately though, we hope to make some improvements on the tools > front. In the next 4-6 weeks, we are considering a website revision to > address the following areas: > > Documentation: > > - Make it easy for users to find documentation > - Community participation in creating documentation > > Community Events: > > - Make it easy for members to organize and promote local community > events (user group meetings) > > We are also considering moving from gForge to gForge Advanced Server for > the vtiger forge. (more on this in a separate post) > > Regards, > Sreenivas > > > > > ----On Mon, 24 Sep 2007 *David fire * wrote ---- > > hi > we are a lot working on vtiger... maybe the biggest problem is the > dificulty to add any new function.... > and the lack of responce from main developers... > maybe we should ask them what thay want to do... > > i think vtiger has a very good potential if we change the actitude. > we can make some work groups: > > -documentation > -features review > -developers (add members) > -documentation!!!! > > if the project go larger will be a lot of job, many enterprise will ask > for paid support and others will ask special developments... > > thanks > David > > > > > > 2007/9/24, Graham Miller : > > Joe Bordes wrote: > > This email should be a call of attention. > > Totally agree. And timing is probably getting critical. There are many > commercial entities now > considering investing in open source development but they need to know the > project is going to > be there for the long haul. > > > If your goal is to be "The most popular CRM" you need this development > > list to be VERY active and have the community adopting your application > > for the solution to their problems. > > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as > the base platform for user logins, profiles, contact history etc etc. The > client is willing to > invest in open source software and we will probably want some extra > programming resources to > hire along the way that already know the CRM app really well. > > We evaluated the market of open source offerings and found sugar/vtiger to > be the best. Noting > the sugarCRM license requirements and our need to totally re-brand the > application, we decided > that the apparently real open source alternative (namely vtiger) was the > right platform and have > been watching the list for signs of an active community. So far we have > not seen any activity to > justify us spending large amounts of time and money further developing > vtiger. > > We wait in hope. But that hope is, unfortunately, fading. > > Graham Miller > Technical Director > > For great web site hosting, back end web server programming (Perl, PHP and > C), and open source > software installation and consulting. Choose WES. > > Web Enhanced Solutions Pty Ltd > http://www.webenhanced.com.au > > "Spam emails are the mosquitoes of the Internet -- numerous, annoying and > often carrying nasty > viruses." - Senator Richard Alston. > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/5980557f/attachment-0003.html From weigelt at metux.de Tue Sep 25 12:14:41 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:14:41 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: References: <20070921163416.GA15655@nibiru.local> <005b01c7fd74$475eb050$6401010a@gmn800c60gb> <20070923123105.GA28296@nibiru.local> Message-ID: <20070925191440.GA6754@nibiru.local> * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 12:27:15 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:27:15 +0200 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <002d01c7ff01$29420070$6401010a@gmn800c60gb> References: <1190641672.22534.18.camel@joesunix.int> <002d01c7ff01$29420070$6401010a@gmn800c60gb> Message-ID: <20070925192715.GB6754@nibiru.local> * Graham Miller schrieb: Hi, > There are many commercial entities now considering investing > in open source development but they need to know the project > is going to be there for the long haul. Well, as long as one person maintains the project, it keeps alive ;-P > We will be rebuilding a large proprietary on-line financial planning > application into a CRM as the base platform for user logins, profiles, > contact history etc etc. The client is willing to invest in open source > software and we will probably want some extra programming resources to > hire along the way that already know the CRM app really well. Sounds good :) IMHO, it's important to get patches back to this list asap, so the community can take care of them. That's the difference between cooperative work and taking someone's works for your own benefits. > We evaluated the market of open source offerings and found sugar/vtiger > to be the best. Noting the sugarCRM license requirements and our need > to totally re-brand the application, we decided that the apparently real > open source alternative (namely vtiger) was the right platform and have > been watching the list for signs of an active community. For me, the sugar licensing was one of the major reason for dropping it. vtiger has still a lot issues, but still seemed the best option for me. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 12:29:50 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 21:29:50 +0200 Subject: [Vtigercrm-developers] Status on postgresql port Message-ID: <20070925192950.GC6754@nibiru.local> Hi folks, what's the status of the postgresql port and the mainline tree ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 14:06:25 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Tue, 25 Sep 2007 23:06:25 +0200 Subject: [Vtigercrm-developers] [PATCH] Invoice: fix PDF link In-Reply-To: <20070625174933.GI7548@nibiru.local> References: <20070625174933.GI7548@nibiru.local> Message-ID: <20070925210624.GB3224@nibiru.local> * Enrico Weigelt schrieb: > > Hi folks, > > this patch fixes the really strange javascript link for pdf > invoice to an plain url. Any new on that issue ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Tue Sep 25 15:47:54 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 00:47:54 +0200 Subject: [Vtigercrm-developers] 5.1 vs. 5.1_jens Message-ID: <20070925224752.GA21523@nibiru.local> Hi folks, what the current status of porting 5.1_jens to 5.1 branch ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From graham901 at webenhanced.com.au Tue Sep 25 16:21:11 2007 From: graham901 at webenhanced.com.au (Graham Miller) Date: Wed, 26 Sep 2007 09:21:11 +1000 Subject: [Vtigercrm-developers] vTiger on MSSQL - 99% complete. In-Reply-To: <20070925192715.GB6754@nibiru.local> Message-ID: <001501c7ffca$c4c21980$6401010a@gmn800c60gb> Enrico Weigelt wrote: > > Well, as long as one person maintains the project, it keeps alive ;-P That is true. But if a company is going to invest (say) $50,000 to improve a piece of software so it is useable for their purpose, give back the improvements to the community, and continue to assist and have a hand in its development over time, then the company would like to see an active community from various industries and countries so that new technology is incorporated in a timely fashion and well tested by a large community (of which the company becomes an active member). So for a large financial and time investment, we would want to be an active part of a reasonably large community so we feel that we are helping plenty of others in return for the initial code base and future updates, as well as benefiting ourselves from plenty of other people's experience. > IMHO, it's important to get patches back to this list asap, > so the community can take care of them. That's the difference > between cooperative work and taking someone's works for your > own benefits. Of course. But that should be done via some kind of tracker that allows file attachments.... not a mailing list. And a lead developer should be responsible for merging that code into the current branch. We also contribute to the Moodle (learning management system) community and they have a huge number of contributors and their systems are quite good. The feature request tracker has the ability to have a conversation and upload code files for consideration. It allows linking to a wiki where the "howto" documents are kept and naturally the wiki allows linking back to the tracker for more detailed info (for developers). Other users can then gain access to patches for (say) older releases that were used as a proof of concept during the development phase. The forums are where issues are discussed until action is required. Then it goes to the tracker and wiki. We run our own (old version) gForge site for developer interaction and this works moderately well. I am sure that a newer version would be more useful to a developer community. And we will be investigating the upgrade for our own (closed user group) use shortly anyway. But for an open source community project, it needs to be such that a person can register themselves and participate in the trackers and forums etc. And under lead developer control, access the wiki and perhaps even the source tree (once proven to be of suitable quality and skill level). > For me, the sugar licensing was one of the major reason for > dropping it. vtiger has still a lot issues, but still seemed > the best option for me. And we came to the same conclusion, but the lack of a cohesive community is what makes us stall our decision. Single maintainer projects of this size rarely keep up to date with even security issues, let alone technology upgrades and, of course, industry requirements. If we are going to invest heavily in a technology, then we want to be using the "best of breed". So this is why we hesitate. Cheers Graham From aresolimpico at gmail.com Tue Sep 25 19:47:35 2007 From: aresolimpico at gmail.com (David fire) Date: Tue, 25 Sep 2007 23:47:35 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger Message-ID: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment-0003.html -------------- next part -------------- A non-text attachment was scrubbed... Name: vtiger+asterisk.jpg Type: image/jpeg Size: 180825 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070925/1a25af8c/attachment-0003.jpg From prasad at vtiger.com Wed Sep 26 04:26:42 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 04:26:42 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> Message-ID: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Hi David, Before starting any development on vtiger-asterisk please look at the available forge project: http://forge.vtiger.com/projects/asterisk-integ/ Regards, Prasad vtiger Team ----On Wed, 26 Sep 2007 David fire wrote ---- hi i need to integrate asterisk and vtiger... i want a "full manager", transfer calls, dial, redirect, etc... in the same window. i will make the module and the asterisk communication but i want to put it over vtiger (see the picture) attached or at http://www.buenafuentenews.info/images/vtiger.jpg i really haven't a clue how to put that there in every page.... i will add a field "extension" to the users profile and vasterisk (vtiger asterik) will use the value. i will do this month so if any one want to help me or give me a clue... Thanks PD: sorry for my poor English. _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/3e85e60d/attachment-0003.html From prasad at vtiger.com Wed Sep 26 05:02:37 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 05:02:37 -0700 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <20070925191440.GA6754@nibiru.local> References: <20070925191440.GA6754@nibiru.local> Message-ID: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Thank you for highlighting your points with database access implementation currently used in vtiger. We made a choice of adodb to have multi database support for our product. The version that is used I believe any wrapper on database has both positive and negatives, whether it is adodb or pear db. Going forward we have plans to pick up the best ideas from these wrappers and come up with some db access framework which could let us maintain vtiger working with different flavours of database. We would be happy to get suggestions from our developer community on this. Please do keep us updated on the both positive and negatives on various database wrappers you have worked with and what best we can pick up from them. Regards, Prasad ----On Wed, 26 Sep 2007 Enrico Weigelt wrote ---- * Joey Novak schrieb: > I am not trying to argue... But, I really didn't find adodb all that > complex. There are three or four functions that it uses, and that is it. Did you have a deeper look into the adodb source (at least the one shipped w/ vtiger) ? There're such neat things like just retrieving a list of rows is done by first counting the rows then fetching them one by one w/ absolute positioning, which requires some kind of cursors or at least buffering of the whole result set. The calling code then fetches the records via upcounting index. The key problem is: treating the result set as an array instead of an stream, and this breaks normal sql access schemes. I regocnized that problem while trying to port to postgresql: the driver (in the shipped adodb version) didn't support absolute result record addressing for postgresql. Yes, I simply could implement this (obviously jens fixed it, but I wasn't aware of that this time), but I wanted to get rid of the unclean coding and performance impact. > With a few modifications to make it always use the associative > array return values, instead of index based. Right, that's the key point. But since the code structure of that certain adodb version seemed very complex and unclean to me, I chose to circumvent it and use pear::db instead. > And a way to do different queries depending upon the dbms (there > are only a few that it would be easier if they could be different, > most can be the same). Yeah, this requires some more hi-level functions, which can be implemented by each driver individually. I've implemented a few of them. For example, ::sql_concat(), which renders concatenation from an list. > As for performance, I didn't see very much in the adodb code that > would slow things down. Although I may have missed something. A deeper look into it's code flow should enlighten you ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/24f57d0f/attachment-0003.html From aresolimpico at gmail.com Wed Sep 26 05:18:52 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 09:18:52 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> References: <4c307cb60709251947q22e89764qc470b78fe522c106@mail.gmail.com> <11541919b75.-5018170836980626963.6382036806589530930@vtiger.com> Message-ID: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> hi thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. thanks David 2007/9/26, Prasad : > > > Hi David, > > Before starting any development on vtiger-asterisk please look at the > available forge project: > > http://forge.vtiger.com/projects/asterisk-integ/ > > Regards, > Prasad > vtiger Team > > > ----On Wed, 26 Sep 2007 *David fire * wrote ---- > > hi > i need to integrate asterisk and vtiger... > i want a "full manager", transfer calls, dial, redirect, etc... in the > same window. > > i will make the module and the asterisk communication but i want to put it > over vtiger (see the picture) attached or at > http://www.buenafuentenews.info/images/vtiger.jpg > i really haven't a clue how to put that there in every page.... > i will add a field "extension" to the users profile and vasterisk > (vtiger asterik) will use the value. > > i will do this month so if any one want to help me or give me a clue... > > > Thanks > > PD: sorry for my poor English. > > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/9eaacd66/attachment-0003.html From weigelt at metux.de Wed Sep 26 05:26:42 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:26:42 +0200 Subject: [Vtigercrm-developers] Next Release of vTiger In-Reply-To: <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> References: <20070925191440.GA6754@nibiru.local> <11541b27c42.1557921401858065381.-6461041143197412907@vtiger.com> Message-ID: <20070926122642.GB21523@nibiru.local> * Prasad schrieb: Hi, > Going forward we have plans to pick up the best ideas from these wrappers > and come up with some db access framework which could let us maintain > vtiger working with different flavours of database. I added some method run_query_field() to PearDatabase, which should be used at any point where just one single value is queried. Another method is sql_concat() which handles the dmbs specific concat operators. I'll (re)post my patch separately. For future use the PearDatabase class ($adb variable) should be used exlusively, and always the methods with the highest abstraction. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From weigelt at metux.de Wed Sep 26 05:29:38 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:29:38 +0200 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods Message-ID: <20070926122938.GC21523@nibiru.local> Hi folks, this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed It fits against 5.1 and 5.1_jens. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/include/database/PearDatabase.php htdocs/include/database/PearDatabase.php --- htdocs.orig/include/database/PearDatabase.php 2007-05-11 02:17:06.000000000 +0200 +++ htdocs/include/database/PearDatabase.php 2007-05-11 02:55:29.000000000 +0200 @@ -434,6 +434,31 @@ return $this->change_key_case($result->FetchRow()); } + function sql_concat($list) + { + switch ($this->dbType) + { + case 'mysql': + return 'concat('.implode(',',$list).')'; + case 'pgsql': + return '('.implode('||',$list).')'; + default: + throw new Exception("unsupported dbtype \"".$this->dbType."\""); + } + } + + function run_query_field($sql) + { + $this->checkConnection(); + $result = $this->database->Execute($sql); + + if (!is_object($result)) + throw new Exception("query failed: $sql"); + + $row = $result->FetchRow(); + return array_shift($row); + } + /* ADODB newly added. replacement for mysql_result() */ function query_result(&$result, $row, $col=0) { From weigelt at metux.de Wed Sep 26 05:36:44 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:36:44 +0200 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods Message-ID: <20070926123644.GD21523@nibiru.local> Hi folks, this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. IMHO this should go to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN cleaned/data/CRMEntity.php working/data/CRMEntity.php --- cleaned/data/CRMEntity.php 2007-05-03 17:50:00.000000000 +0200 +++ working/data/CRMEntity.php 2007-05-03 23:38:06.000000000 +0200 @@ -25,10 +25,16 @@ require_once('data/Tracker.php'); require_once('include/utils/utils.php'); require_once('include/utils/UserInfoUtil.php'); - -class CRMEntity -{ - /** + +class CRMEntity +{ + /* generic toString() method added by nekrad */ + function __toString() + { + return serialize($this); + } + + /** * This method implements a generic insert and update logic for any SugarBean * This method only works for subclasses that implement the same variable names. * This method uses the presence of an id vtiger_field that is not null to signify and update. diff -ruN cleaned/modules/Users/Users.php working/modules/Users/Users.php --- cleaned/modules/Users/Users.php 2007-05-04 02:32:05.000000000 +0200 +++ working/modules/Users/Users.php 2007-05-04 02:59:03.000000000 +0200 @@ -163,6 +163,11 @@ $this->log->debug("Exiting Users() method ..."); } + function __toString() + { + return "[[USERS]]"; + } + // Mike Crowe Mod --------------------------------------------------------Default ordering for us /** * Function to get sort order From weigelt at metux.de Wed Sep 26 05:50:45 2007 From: weigelt at metux.de (Enrico Weigelt) Date: Wed, 26 Sep 2007 14:50:45 +0200 Subject: [Vtigercrm-developers] [PATCH] TeX rendering API and invoice pdf Message-ID: <20070926125045.GE21523@nibiru.local> Hi folks, these patches add an universal rendering API for things like invoices and an TeX renderer backend. The old invoice pdf code is changed to run via the rendering API. Now it's very easy to add new renderers. I also included my own templates as example. The API patch (renderapi-1) does not change anything but just adding some new files in the lib/render/ subdir and could be applied to 5.1 and 5.1_jens asap. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -------------- next part -------------- diff -ruN htdocs.orig/lib/render/README htdocs/lib/render/README --- htdocs.orig/lib/render/README 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/README 2007-05-09 13:53:10.000000000 +0200 @@ -0,0 +1 @@ +This subdirectory contains the TeX rendering stuff. diff -ruN htdocs.orig/lib/render/RenderFactory.php htdocs/lib/render/RenderFactory.php --- htdocs.orig/lib/render/RenderFactory.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/RenderFactory.php 2007-05-09 17:05:57.000000000 +0200 @@ -0,0 +1,64 @@ +engine = $e; + } + + function __toString() + { + return "Unknown Engine: \"".$this->engine."\""; + } +} + +class E_Render_FormatNotSupportedByEngine extends Exception +{ + var $engine; + var $format; + + function E_Render_FormatNotSupportedByEngine($format,$engine) + { + $this->format = $format; + $this->engine = $engine; + } + + function __toString() + { + return "Format \"".$this->format. + "\" not supported by engine \"". + $this->engine. + "\""; + } +} + +class RenderFactory +{ + /* public static */ function getRenderer_Invoice($param) + { + if (!($f = $param{'format'})) + throw new Exception("missing output format"); + if (!($e = $param{'engine'})) + throw new Exception("missing engine"); + + switch ($e) + { + case 'pdflatex': + { + if ($f != 'application/pdf') + throw new E_Render_FormatNotSupportedByEngine($f,$e); + + require_once(RENDER_LIB_PREFIX.'TexRender_Invoice.php'); + return new TexRender_Invoice($param); + } + default: + throw new E_Render_UnknownEngine($e); + } + } +} diff -ruN htdocs.orig/lib/render/TexEncode.php htdocs/lib/render/TexEncode.php --- htdocs.orig/lib/render/TexEncode.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/lib/render/TexEncode.php 2007-05-10 02:51:50.000000000 +0200 @@ -0,0 +1,101 @@ + + +*/ + +// NOTE: the webserver needs *write* acccess to this directory +// we normally take the session storage dir +define('TEXRENDER_TMP_MASK', '{SESSION.SAVE_PATH}/texrender-{SESSION.ID}-{NAME}'); +define('TEXRENDER_TEMPLATE_DIR', 'templates/tex/{TEMPLATE-NAME}/'); + +require_once(RENDER_LIB_PREFIX.'TexEncode.php'); + +class TexRender_Invoice +{ + /* private */ var $tmpmask; + /* private */ var $data; + /* private */ var $product_items; + /* private */ var $fn_tex; + /* private */ var $fn_pdf; + /* private */ var $fn_template; + /* private */ var $key; + + /* private */ function _tmpname($name) + { + return str_replace('{SESSION.NAME}', session_name(), + str_replace('{SESSION.ID}', session_id(), + str_replace('{SESSION.SAVE_PATH}', realpath(ini_get('session.save_path')), + str_replace('{NAME}', $name, + $this->tmpmask + )))); + } + + /* private */ function _test_write_access() + { + $fn = $this->_tmpname('write-test'); + if (!($fp=fopen($fn,"w"))) + throw new Exception("write-test: could not open file for writing: $fn"); + fputs($fp,"TEST123"); + fclose($fp); + + $res = trim(implode('',file($fn))); + if ($res != "TEST123") + throw new Exception("write-test: reading test data failed for file: $fn"); + + unlink($fn); + + return true; + } + + function TexRender_Invoice($param) + { + // test write access and otherwise failed + $this->tmpmask = TEXRENDER_TMP_MASK; + + // should be already cought by the factory, but just to be sure + if ($param{'format'} != 'application/pdf') + throw new Exception("fomat not supported by this renderer: ".$param{'format'}); + + if (!$param{'template'}) + throw new Exception("missing template name"); + + $this->template_name = $param{'template'}; + $this->data = array(); + $this->_test_write_access(); + $this->key = md5(serialize(gettimeofday)); + $this->fn_tex = $this->_tmpname($this->key.'.tex'); + $this->fn_pdf = $this->_tmpname($this->key.'.pdf'); + $this->template_dir= realpath(str_replace('{TEMPLATE-NAME}', $this->template_name,TEXRENDER_TEMPLATE_DIR)); + $this->fn_template_main = $this->template_dir.'/invoice/main.texi'; + $this->fn_template_item = $this->template_dir.'/invoice/item.texi'; + + $inc = $this->template_dir.'/config.php'; + if (!include($inc)) + throw new Exception("could not load config: $inc"); + + if (!is_array($this->config = $tex_template_config)) + throw new Exception("missing template config"); + + if (!$this->config{'lang'}) + throw new Exception("language not set in template config"); + } + + function addData($par) + { + foreach($par as $walk => $cur) + $this->data{$walk} = $cur; + } + + function checkProductItem($item) + { + if (!$item{'name'}) + throw new Exception("missing item name"); + if (!$item{'amount'}) + throw new Exception("missing amount"); + if (!is_numeric($item{'amount'})) + throw new Exception("amount must be numeric"); + if (!$item{'price'}) + throw new Exception("missing price"); + if (!is_numeric($item{'price'})) + throw new Exception("price must be numeric"); + if (($item{'discount'})&&($item{'discount'} != 0)) + throw new Exception("discount not supported yet by this renderer"); + if (!is_numeric($item{'tax_percent'})) + throw new Exception("tax_percent must be numeric"); + } + + function checkData() + { + if ((!is_array($this->_product_items)) || + (!count($this->_product_items))) + throw new Exception("no product items"); + + if (!$this->data{'ident'}) + throw new Exception("missing ident"); + } + + /* public */ function addProductItem($item) + { + // check for correct items + $this->checkProductItem($item); + + // calculate some stuff if necessary + if (!$item{'total'}) + $item{'total'} = $item{'price'} * $item{'amount'}; + if (!$item{'taxes'}) + $item{'taxes'} = $item{'total'} * $item{'tax_percent'}; + if (!$item{'topay'}) + $item{'topay'} = $item{'total'} + $item{'taxes'}; + + $this->_product_items[] = $item; + } + + /* public String */ function getOutputContentType() + { + return 'application/pdf'; + } + + /* private String */ function _generate_tex() + { + if (!($tmpl_main = implode('',file($this->fn_template_main)))) + throw new Exception("could not load main template: ".$this->fn_template_main); + if (!($tmpl_item = implode('',file($this->fn_template_item)))) + throw new Exception("could not load item template: ".$this->fn_template_item); + + // generate the item list + foreach ($this->_product_items as $walk => $cur) + { + $items .= + str_replace('::Item:Name::', $cur{'name'}, + str_replace('::Item:Price::', TexEncode::money($cur{'price'}), + str_replace('::Item:Amount::', $cur{'amount'}, + str_replace('::Item:Taxrate::', $cur{'tax_percent'}, + str_replace('::Item:Description::', $cur{'description'}, + str_replace('::Item:Comment::', trim($cur{'comment'}), + str_replace('::Item:Discount::', TexEncode::money($cur{'discount'}), + str_replace('::Item:Total::', TexEncode::money($cur{'total'}), + str_replace('::Item:Taxes::', TexEncode::money($cur{'taxes'}), + str_replace('::Item:Topay::', TexEncode::money($cur{'topay'}), + $tmpl_item)))))))))); + + $all_total += $cur{'total'}; + $all_taxes += $cur{'taxes'}; + $all_topay += $cur{'topay'}; + } + + $content = + str_replace('::TemplateDir::', $this->template_dir, + str_replace('::Items::', $items, + str_replace('::Bill:Ident::', $this->data{'ident'}, + str_replace('::Bill:Total::', TexEncode::money($all_total), + str_replace('::Bill:Taxes::', TexEncode::money($all_taxes), + str_replace('::Bill:Topay::', TexEncode::money($all_topay), + str_replace('::Company:Addr:Street::', $this->data{'company:addr:street'}, + str_replace('::Company:Addr:PCode::', $this->data{'company:addr:pcode'}, + str_replace('::Company:Addr:City::', $this->data{'company:addr:city'}, + str_replace('::Company:Addr:Country::', $this->data{'company:addr:country'}, + str_replace('::Company:Addr:State::', $this->data{'company:addr:state'}, + str_replace('::Company:Phone::', $this->data{'company:phone'}, + str_replace('::Company:Fax::', $this->data{'company:fax'}, + str_replace('::Company:Website::', $this->data{'company:website'}, + str_replace('::Customer:Name::', $this->data{'customer:name'}, + str_replace('::Customer:Addr:Street::', TexEncode::text($this->data{'billing:addr:street'}), + str_replace('::Customer:Addr:PCode::', TexEncode::text($this->data{'billing:addr:pcode'}), + str_replace('::Customer:Addr:City::', TexEncode::text($this->data{'billing:addr:city'}), + str_replace('::Customer:Addr:State::', TexEncode::text($this->data{'billing:addr:state'}), + str_replace('::Customer:Addr:Country::', TexEncode::text($this->data{'billing:addr:country'}), + $tmpl_main)))))))))))))))))))); + + return $content; + } + + /* public */ function generate() + { + $this->checkData(); + $tex = $this->_generate_tex(); + @unlink($this->fn_tex); + if (!($fp_tex = fopen($this->fn_tex,"w"))) + throw new Exception("could not open tex source file: ".$this->fn_tex); + + fputs($fp_tex,$tex); + fclose($fp_tex); + + $cmd = 'cd '.dirname($this->fn_tex).' && pdflatex '.$this->fn_tex; + `$cmd` ; `$cmd` ; // call it twice for table calculations + } + + // send appropriate http headers and output file + /* public */ function sendHTTPOutput() + { + $this->generate(); + Header("Content-Type: ".$this->getOutputContentType()); + readfile($this->fn_pdf); + } +} -------------- next part -------------- diff -ruN htdocs.orig/modules/Invoice/CreatePDF.php htdocs/modules/Invoice/CreatePDF.php --- htdocs.orig/modules/Invoice/CreatePDF.php 2007-05-09 00:56:25.000000000 +0200 +++ htdocs/modules/Invoice/CreatePDF.php 2007-05-10 15:30:08.000000000 +0200 @@ -9,67 +9,36 @@ * ********************************************************************************/ - -require_once('include/fpdf/pdf.php'); -require_once('include/fpdf/pdfconfig.php'); require_once('modules/Invoice/Invoice.php'); require_once('modules/Organization/Organization.php'); require_once('include/database/PearDatabase.php'); require_once('include/utils/EditViewUtils.php'); +require_once('lib/render/RenderFactory.php'); -global $adb,$app_strings,$focus; -global $log; - -// for template checking ... -$tmpl_dirs = array( "firstpage", "pages", "lastpage"); -$tmpl_files = array( "header.php", "body.php", "footer.php"); +global $adb,$app_strings,$focus,$log; $sql="select currency_symbol from vtiger_currency_info"; $result = $adb->query($sql); $currency_symbol = $adb->query_result($result,0,'currency_symbol'); -// would you like and end page? 1 for yes 0 for no -$endpage="1"; - $id = $_REQUEST['record']; //retreiving the vtiger_invoice info $focus = new Invoice(); $focus->retrieve_entity_info($_REQUEST['record'],"Invoice"); -$account_name = getAccountName($focus->column_fields[account_id]); -$invoice_no = $focus->column_fields[invoice_no]; // **************** BEGIN POPULATE DATA ******************** - -// populate data if($focus->column_fields["salesorder_id"] != '') $so_name = getSoName($focus->column_fields["salesorder_id"]); else $so_name = ''; $po_name = $focus->column_fields["purchaseorder"]; -$valid_till = $focus->column_fields["duedate"]; -$valid_till = getDisplayDate($valid_till); -$bill_street = $focus->column_fields["bill_street"]; -$bill_city = $focus->column_fields["bill_city"]; -$bill_state = $focus->column_fields["bill_state"]; -$bill_code = $focus->column_fields["bill_code"]; -$bill_country = $focus->column_fields["bill_country"]; - -$contact_name =getContactName($focus->column_fields["contact_id"]); -$ship_street = $focus->column_fields["ship_street"]; -$ship_city = $focus->column_fields["ship_city"]; -$ship_state = $focus->column_fields["ship_state"]; -$ship_code = $focus->column_fields["ship_code"]; -$ship_country = $focus->column_fields["ship_country"]; - -$conditions = from_html($focus->column_fields["terms_conditions"]); -$description = from_html($focus->column_fields["description"]); -$status = $focus->column_fields["invoicestatus"]; - // Company information -$crmid = $focus->column_fields["record_id"]; +if (!($crmid = $focus->column_fields["record_id"])) + throw new Exception("crmid is null/empty"); + $org_query = "select organizationname from vtiger_entity2org where crmid='".$crmid."'"; $result = $adb->query($org_query); $org_rows = $adb->num_rows($result); @@ -82,7 +51,7 @@ $org_name = $adb->query_result($result,0,"organizationname"); } else { $log->info( $module. " '".$crmid."' not assigned to any organization"); - exit(); + throw new Exception("crmid $crmid not assigned to any organisation (org_name=$org_name)"); } // get organization/orgunit details @@ -92,68 +61,11 @@ $log->debug( "Here we are: getOrgUnits( $organization, $orgunitid);"); $orgunittab = getOrgUnits( $organization, $orgunitid); -if( is_array( $orgunittab[$orgunitid])) { - $orgdetails = $orgunittab[$orgunitid]; - $org_name = $orgdetails["name"]; - $org_address = $orgdetails["address"]; - $org_city = $orgdetails["city"]; - $org_state = $orgdetails["state"]; - $org_country = $orgdetails["country"]; - $org_code = $orgdetails["code"]; - $org_phone = $orgdetails["phone"]; - $org_fax = $orgdetails["fax"]; - $org_website = $orgdetails["website"]; - $logo_name = $orgdetails["logoname"]; - $template = $orgdetails["invoice_template"]; -} else { - $log->info( $module. " '".$crmid."' organization/orgunitid mismatch"); - exit(); -} - -// Check the template -if( $template == "") - $template = "Default"; - -if( $template != "Default") { - foreach( $tmpl_dirs as $dir) { - foreach( $tmpl_files as $file) { - if( !file_exists( "modules/".$module."/pdf_templates/".$template."/".$dir."/".$file)) { - $log->info( $module. " '".$crmid."' organization/orgunitid template '".$template."' is incomplete"); - $log->info("Missing file: modules/".$module."/pdf_templates/".$template."/".$dir."/".$file); - $log->info("Fallback to the Default template"); - $template = "Default"; - break 2; - } - } - } -} -//NOTE : Removed currency symbols and added with Grand Total text. it is enough to show the currency symbol in one place - -//we can also get the NetTotal, Final Discount Amount/Percent, Adjustment and GrandTotal from the array $associated_products[1]['final_details'] - -//getting the Net Total -$price_subtotal = number_format($focus->column_fields["hdnSubTotal"],2,'.',','); - -//Final discount amount/percentage -$discount_amount = $focus->column_fields["hdnDiscountAmount"]; -$discount_percent = $focus->column_fields["hdnDiscountPercent"]; - -if($discount_amount != "") - $price_discount = number_format($discount_amount,2,'.',','); -else if($discount_percent != "") -{ - //This will be displayed near Discount label - used in include/fpdf/templates/body.php - $final_price_discount_percent = "(".number_format($discount_percent,2,'.',',')." %)"; - $price_discount = number_format((($discount_percent*$focus->column_fields["hdnSubTotal"])/100),2,'.',','); -} -else - $price_discount = "0.00"; - -//Adjustment -$price_adjustment = number_format($focus->column_fields["txtAdjustment"],2,'.',','); -//Grand Total -$price_total = number_format($focus->column_fields["hdnGrandTotal"],2,'.',','); +if(!is_array( $orgunittab[$orgunitid])) + throw new Exception("org/orgunitid mismatch"); +$orgdetails = $orgunittab[$orgunitid]; +$template = $orgdetails["invoice_template"]; //get the Associated Products for this Invoice $focus->id = $focus->column_fields["record_id"]; @@ -166,6 +78,8 @@ //To calculate the group tax amount if($final_details['taxtype'] == 'group') { + throw new Exception("group tax not supported"); + $group_tax_total = $final_details['tax_totalamount']; $price_salestax = number_format($group_tax_total,2,'.',','); @@ -191,47 +105,37 @@ $sh_tax_amount = $final_details['shtax_totalamount']; $price_shipping_tax = number_format($sh_tax_amount,2,'.',','); +$render = RenderFactory::getRenderer_Invoice(array +( + format => 'application/pdf', + engine => 'pdflatex', + template => 'default' +)); //This is to get all prodcut details as row basis -for($i=1,$j=$i-1;$i<=$num_products;$i++,$j++) +for($i=1;$i<=$num_products;$i++) { - $product_name[$i] = $associated_products[$i]['productName'.$i]; - $prod_description[$i] = $associated_products[$i]['productDescription'.$i]; - $product_id[$i] = $associated_products[$i]['hdnProductId'.$i]; - $qty[$i] = $associated_products[$i]['qty'.$i]; - $unit_price[$i] = number_format($associated_products[$i]['unitPrice'.$i],2,'.',','); - $list_price[$i] = number_format($associated_products[$i]['listPrice'.$i],2,'.',','); - $list_pricet[$i] = $associated_products[$i]['listPrice'.$i]; - $discount_total[$i] = $associated_products[$i]['discountTotal'.$i]; - //aded for 5.0.3 pdf changes - $product_code[$i] = $associated_products[$i]['hdnProductcode'.$i]; - - $taxable_total = $qty[$i]*$list_pricet[$i]-$discount_total[$i]; - - $producttotal = $taxable_total; - $total_taxes = '0.00'; if($focus->column_fields["hdnTaxType"] == "individual") { - $total_tax_percent = '0.00'; - //This loop is to get all tax percentage and then calculate the total of all taxes - for($tax_count=0;$tax_countaddProductItem(array + ( + code => $associated_products[$i]['hdnProductcode'.$i], + name => $associated_products[$i]['productName'.$i], + amount => $associated_products[$i]['qty'.$i], + price => $associated_products[$i]['listPrice'.$i], + unit_price => $associated_products[$i]['unitPrice'.$i], + discount => $associated_products[$i]['discountTotal'.$i], + tax_percent => (integer)($tax_percent)/100, + description => $associated_products[$i]['productDescription'.$i], + comment => $associated_products[$i]['comment'.$i] + )); // Product piecelists $query = "SELECT vtiger_crmentity.crmid, @@ -245,86 +149,46 @@ INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_products.productid WHERE vtiger_crmentity.deleted = 0 - AND vtiger_products2products_rel.productid = ".$product_id[$i]." + AND vtiger_products2products_rel.productid = ".$product_id." AND vtiger_products2products_rel.relation_type = 10"; $result = $adb->query($query); $pieces = $adb->num_rows($result); if( $pieces > 0) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = "consisting of:"; - $product_line[$j]["Qty"] = ""; - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - for( $pl=0; $pl<$pieces; $pl++) { - $product_line[++$j]["Product Name"] = ""; - $product_line[$j]["Description"] = - $adb->query_result( $result, $pl, "productname"); - $product_line[$j]["Qty"] = - $adb->query_result( $result, $pl, "quantity"); - $product_line[$j]["Price"] = ""; - $product_line[$j]["Discount"] = ""; - $product_line[$j]["Total"] = ""; - } + throw new Exception("multiple pieces not yet supported !"); } } -//echo '
Product Details ==>';print_r($product_line);echo '
'; -//echo '
';print_r($associated_products);echo '
'; - // ************************ END POPULATE DATA ***************************8 -$page_num='1'; -$pdf = new PDF( 'P', 'mm', 'A4' ); -$pdf->Open(); - -$num_pages=ceil(count($product_line)/$products_per_page); - - -$current_product=0; -for($l=0;$l<$num_pages;$l++) -{ - $line=array(); - if($num_pages == $page_num) - $lastpage=1; - - while($current_product != $page_num*$products_per_page) - { - $line[]=$product_line[$current_product]; - $current_product++; - } - - //if bottom > 145 then we skip the Description and T&C in every - //page and display only in lastpage - //if you want to display the description and T&C in each page then - //set the display_desc_tc='true' and bottom <= 145 in pdfconfig.php - $pdf->AddPage(); - if( $page_num == "1") { - include("pdf_templates/".$template."/firstpage/header.php"); - include("pdf_templates/".$template."/firstpage/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/firstpage/footer.php"); - } else { - include("pdf_templates/".$template."/pages/header.php"); - include("pdf_templates/".$template."/pages/body.php"); - if($display_desc_tc == 'true' && $bottom <= 145) - include("pdf_templates/".$template."/pages/footer.php"); - } - - $page_num++; - - if (($endpage) && ($lastpage)) - { - $pdf->AddPage(); - include("pdf_templates/".$template."/lastpage/header.php"); - include("pdf_templates/".$template."/lastpage/body.php"); - include("pdf_templates/".$template."/lastpage/footer.php"); - } -} - - -$pdf->Output('Invoice-'.$crmid.'.pdf','D'); //added file name to make it work in IE, also forces the download giving the user the option to save +$render->addData(array +( + 'valid_until' => $focus->column_fields["duedate"], + 'description' => from_html($focus->column_fields["description"]), + 'conditions' => from_html($focus->column_fields["terms_conditions"]), + 'tax_type' => $focus->column_fields['hdnTaxType'], + 'ident' => $focus->column_fields['invoice_no'], + 'contact:name' => getContactName($focus->column_fields["contact_id"]), + 'company:name' => $orgdetails["name"], + 'company:addr:city' => $orgdetails["city"], + 'company:addr:pcode' => $orgdetails["code"], + 'company:addr:street' => $orgdetails["address"], + 'company:addr:country' => $orgdetails["country"], + 'company:addr:state' => $orgdetails["state"], + 'company:phone' => $orgdetails["phone"], + 'company:fax' => $orgdetails["fax"], + 'company:website' => $orgdetails["website"], + 'customer:name' => getAccountName($focus->column_fields[account_id]), + 'shipping:addr:city' => $focus->column_fields["ship_city"], + 'shipping:addr:pcode' => $focus->column_fields["ship_code"], + 'shipping:addr:street' => $focus->column_fields["ship_street"], + 'shipping:addr:country' => $ship_country = $focus->column_fields["ship_country"], + 'shipping:addr:state' => $focus->column_fields["ship_state"], + 'billing:addr:city' => $focus->column_fields["bill_city"], + 'billing:addr:pcode' => $focus->column_fields["bill_code"], + 'billing:addr:street' => $focus->column_fields["bill_street"], + 'billing:addr:country' => $focus->column_fields["bill_country"], + 'billing:addr:state' => $focus->column_fields["bill_state"] +)); -// Added to fix annoying bug that includes HTML in your PDF +$render->sendHTTPOutput(); exit(); -?> -------------- next part -------------- diff -ruN htdocs.orig/templates/tex/default/config.php htdocs/templates/tex/default/config.php --- htdocs.orig/templates/tex/default/config.php 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/config.php 2007-05-09 20:00:54.000000000 +0200 @@ -0,0 +1,7 @@ + 'de', + 'tex2pdf' => 'pdflatex' +); diff -ruN htdocs.orig/templates/tex/default/invoice/item.texi htdocs/templates/tex/default/invoice/item.texi --- htdocs.orig/templates/tex/default/invoice/item.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/item.texi 2007-05-10 14:25:30.000000000 +0200 @@ -0,0 +1,2 @@ +::Item:Name:: \ifempty{::Item:Comment::}{}{(::Item:Comment::)} & ::Item:Price:: \Euro & ::Item:Amount:: & ::Item:Total:: \Euro \\ +\hline diff -ruN htdocs.orig/templates/tex/default/invoice/main.texi htdocs/templates/tex/default/invoice/main.texi --- htdocs.orig/templates/tex/default/invoice/main.texi 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/invoice/main.texi 2007-05-10 14:15:53.000000000 +0200 @@ -0,0 +1,53 @@ +\def\ResourcePrefix{::TemplateDir::/resource} +\input \ResourcePrefix/bill.tex + +\def\ifempty#1#2#3{\def\inner{#1}\ifx\inner\empty + #2\else #3\fi } + +\begin{document} + \letterInit + \begin{letter}{% + ::Customer:Addr:Street:: \ \\ + ::Customer:Addr:PCode::\ ::Customer:Addr:City:: \ \\ + \ \\[\medskipamount] + } + + \opening{\Large Ihre Rechnung:\normalsize~~~ ::Bill:Ident:: +%% ~~~~~~~~~~vom:~~::BillDate:: + } + + \setlength\LTleft{0pt} + \setlength\LTright{72pt} + \begin{longtable}{|p{300pt}|r|r|r|} + \hline + Leistung & Preis & Menge & Summe \\ + \hline + \endhead + \hline + \hline + \multicolumn{3}{|l|}{Rechnungsbetrag} & ::Bill:Total:: \Euro \\ + \hline + \multicolumn{3}{|l|}{Umsatzsteuer} & ::Bill:Taxes:: \Euro \\ + \hline + \hline + \multicolumn{3}{|l|}{Gesamt} & ::Bill:Topay:: \Euro \\ + \hline + \noalign{ + \vspace{12pt} + \small + Soweit nicht anders angegeben entspricht das Lieferdatum + dem Rechnungsdatum + } + \noalign{ + \vspace{12pt} + \normalsize + Bitte {\"u}berweisen Sie den f{\"a}lligen Betrag binnen + 10~Tagen auf eines unserer Konten. \newline + Die Ware bleibt bis zur vollst{\"a}ndigen Bezahlung Eigentum + von metux IT service. + } + \endlastfoot + ::Items:: + \end{longtable} + \end{letter} +\end{document} diff -ruN htdocs.orig/templates/tex/default/resource/bill.tex htdocs/templates/tex/default/resource/bill.tex --- htdocs.orig/templates/tex/default/resource/bill.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/bill.tex 2007-05-09 23:55:35.000000000 +0200 @@ -0,0 +1,22 @@ +\input{\ResourcePrefix/metux.tex} + +\documentclass[a4paper,bottom=0cm,fromalign=center,fromlogo=true]{scrlttr2} +\usepackage{epsfig} +\usepackage{longtable} + +\usepackage{ngerman} +\usepackage[latin1]{inputenc} +%usepackage{fancyhdr} +%pagestyle{fancy} + +% brief-init +\newcommand\letterInit{% + \captionsgerman + \dategerman + \firsthead{\metuxHeader} + \firstfoot{\metuxFooter} + \setkomavar{fromname}{metux IT service} + \setkomavar{fromaddress}{Heydaer Stra{\ss}e 23, 99338 Plaue} +} + +\newcommand\Euro{Euro} diff -ruN htdocs.orig/templates/tex/default/resource/header.eps htdocs/templates/tex/default/resource/header.eps --- htdocs.orig/templates/tex/default/resource/header.eps 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.eps 2002-09-17 01:45:21.000000000 +0200 @@ -0,0 +1,178 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: header.eps +%%Creator: fig2dev Version 3.2 Patchlevel 3d +%%CreationDate: Tue Jul 30 18:35:09 2002 +%%For: ems at nibiru.metux.de () +%%BoundingBox: 0 0 643 88 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 88 moveto 0 0 lineto 643 0 lineto 643 88 lineto closepath clip newpath +-4.5 96.9 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/reencdict 12 dict def /ReEncode { reencdict begin +/newcodesandnames exch def /newfontname exch def /basefontname exch def +/basefontdict basefontname findfont def /newfont basefontdict maxlength dict def +basefontdict { exch dup /FID ne { dup /Encoding eq +{ exch dup length array copy newfont 3 1 roll put } +{ exch newfont 3 1 roll put } ifelse } { pop pop } ifelse } forall +newfont /FontName newfontname put newcodesandnames aload pop +128 1 255 { newfont /Encoding get exch /.notdef put } for +newcodesandnames length 2 idiv { newfont /Encoding get 3 1 roll put } repeat +newfontname newfont definefont pop end } def +/isovec [ +8#055 /minus 8#200 /grave 8#201 /acute 8#202 /circumflex 8#203 /tilde +8#204 /macron 8#205 /breve 8#206 /dotaccent 8#207 /dieresis +8#210 /ring 8#211 /cedilla 8#212 /hungarumlaut 8#213 /ogonek 8#214 /caron +8#220 /dotlessi 8#230 /oe 8#231 /OE +8#240 /space 8#241 /exclamdown 8#242 /cent 8#243 /sterling +8#244 /currency 8#245 /yen 8#246 /brokenbar 8#247 /section 8#250 /dieresis +8#251 /copyright 8#252 /ordfeminine 8#253 /guillemotleft 8#254 /logicalnot +8#255 /hyphen 8#256 /registered 8#257 /macron 8#260 /degree 8#261 /plusminus +8#262 /twosuperior 8#263 /threesuperior 8#264 /acute 8#265 /mu 8#266 /paragraph +8#267 /periodcentered 8#270 /cedilla 8#271 /onesuperior 8#272 /ordmasculine +8#273 /guillemotright 8#274 /onequarter 8#275 /onehalf +8#276 /threequarters 8#277 /questiondown 8#300 /Agrave 8#301 /Aacute +8#302 /Acircumflex 8#303 /Atilde 8#304 /Adieresis 8#305 /Aring +8#306 /AE 8#307 /Ccedilla 8#310 /Egrave 8#311 /Eacute +8#312 /Ecircumflex 8#313 /Edieresis 8#314 /Igrave 8#315 /Iacute +8#316 /Icircumflex 8#317 /Idieresis 8#320 /Eth 8#321 /Ntilde 8#322 /Ograve +8#323 /Oacute 8#324 /Ocircumflex 8#325 /Otilde 8#326 /Odieresis 8#327 /multiply +8#330 /Oslash 8#331 /Ugrave 8#332 /Uacute 8#333 /Ucircumflex +8#334 /Udieresis 8#335 /Yacute 8#336 /Thorn 8#337 /germandbls 8#340 /agrave +8#341 /aacute 8#342 /acircumflex 8#343 /atilde 8#344 /adieresis 8#345 /aring +8#346 /ae 8#347 /ccedilla 8#350 /egrave 8#351 /eacute +8#352 /ecircumflex 8#353 /edieresis 8#354 /igrave 8#355 /iacute +8#356 /icircumflex 8#357 /idieresis 8#360 /eth 8#361 /ntilde 8#362 /ograve +8#363 /oacute 8#364 /ocircumflex 8#365 /otilde 8#366 /odieresis 8#367 /divide +8#370 /oslash 8#371 /ugrave 8#372 /uacute 8#373 /ucircumflex +8#374 /udieresis 8#375 /yacute 8#376 /thorn 8#377 /ydieresis] def +/Courier-Bold /Courier-Bold-iso isovec ReEncode +/Times-Bold /Times-Bold-iso isovec ReEncode +/Times-Roman /Times-Roman-iso isovec ReEncode +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +10 setmiterlimit + 0.06000 0.06000 sc +% +% Fig objects follow +% +/Times-Roman-iso ff 150.00 scf sf +6600 1200 m +gs 1 -1 sc (www.metux.de) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 825 m +gs 1 -1 sc (+49 36207 51833) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 675 m +gs 1 -1 sc (+49 174 7066481) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +6600 1350 m +gs 1 -1 sc (contact @ metux.de) col8 sh gr +/Courier-Bold-iso ff 180.00 scf sf +1650 750 m +gs 1 -1 sc (Ihr innovativer IT-Dienstleister) col25 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 1200 m +gs 1 -1 sc ( Internet) col0 sh gr +/Times-Bold-iso ff 150.00 scf sf +5700 675 m +gs 1 -1 sc ( Telephon) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1350 m +gs 1 -1 sc (Advance Bank \(BLZ 702 300 00\), Kto-Nr: 200 72 64 206) col8 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1575 m +gs 1 -1 sc (Enrico Weigelt, Steuer-Nr: 154/286/05931) col8 sh gr +/Times-Bold-iso ff 300.00 scf sf +75 750 m +gs 1 -1 sc (metux ITS) col9 sh gr +/Courier-Bold-iso ff 150.00 scf sf +150 1350 m +gs 1 -1 sc (Bankverbindung:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +750 1575 m +gs 1 -1 sc (Inhaber:) col0 sh gr +/Courier-Bold-iso ff 150.00 scf sf +225 1125 m +gs 1 -1 sc (Hausanschrift:) col0 sh gr +/Times-Roman-iso ff 150.00 scf sf +1650 1125 m +gs 1 -1 sc (Heydaer Strasse 23 99338 Plaue) col8 sh gr +/Times-Roman-iso ff 180.00 scf sf +10125 300 m +gs 1 -1 sc (tricktext) col0 sh gr +$F2psEnd +rs diff -ruN htdocs.orig/templates/tex/default/resource/header.fig htdocs/templates/tex/default/resource/header.fig --- htdocs.orig/templates/tex/default/resource/header.fig 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/header.fig 2002-09-17 01:44:26.000000000 +0200 @@ -0,0 +1,24 @@ +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-2 +1200 2 +4 0 0 893 -1 14 10 -0.0000 4 135 1350 150 1350 Bankverbindung:\001 +4 0 0 890 -1 14 10 -0.0000 4 105 1260 225 1125 Hausanschrift:\001 +4 0 9 918 -1 2 20 0.0000 4 150 1005 75 750 metux ITS\001 +4 0 25 969 -1 14 12 -0.0000 4 135 3360 1650 750 Ihr innovativer IT-Dienstleister\001 +4 0 0 942 -1 2 10 0.0000 4 135 750 5700 675 Telephon\001 +4 0 8 991 -1 0 10 0.0000 4 105 1050 6600 675 +49 174 7066481\001 +4 0 8 997 -1 0 10 0.0000 4 105 1050 6600 825 +49 36207 51833\001 +4 0 8 999 -1 0 10 0.0000 4 105 990 6600 1200 www.metux.de\001 +4 0 0 946 -1 2 10 0.0000 4 105 765 5700 1200 Internet\001 +4 0 8 888 -1 0 10 0.0000 4 135 1935 1650 1125 Heydaer Strasse 23 99338 Plaue\001 +4 0 8 987 -1 0 10 0.0000 4 135 1230 6600 1350 contact @ metux.de\001 +4 0 8 933 -1 0 10 0.0000 4 135 3435 1650 1350 Advance Bank (BLZ 702 300 00), Kto-Nr: 200 72 64 206\001 +4 0 0 50 0 0 12 0.0000 4 135 645 10125 300 tricktext\001 +4 0 0 893 -1 14 10 0.0000 4 105 720 750 1575 Inhaber:\001 +4 0 8 933 -1 0 10 0.0000 4 135 2415 1650 1575 Enrico Weigelt, Steuer-Nr: 154/286/05931\001 diff -ruN htdocs.orig/templates/tex/default/resource/metux.tex htdocs/templates/tex/default/resource/metux.tex --- htdocs.orig/templates/tex/default/resource/metux.tex 1970-01-01 01:00:00.000000000 +0100 +++ htdocs/templates/tex/default/resource/metux.tex 2007-05-09 23:56:59.000000000 +0200 @@ -0,0 +1,76 @@ +% Variablen .... % +\def\metuxSignature{\epsfig{file=\ResourcePrefix/signature.png}} +\def\metuxName{metux IT service} +\def\metuxPhone{+49-36207-519931} +\def\metuxFax{+49-36207-519932} +\def\metuxEmail{weigelt at metux.de} +\def\metuxUrl{www.metux.de} +\def\metuxAddress{Heydaer Stra{\ss}e 23, 99338 Plaue} +\def\metuxBankAccount{0972596900} +\def\metuxBankCompany{Dresdner Bank AG} +\def\metuxBankCode{82080000} +\def\metuxBank{Kto: \metuxBankAccount, BLZ: \metuxBankCode, \metuxBankCompany} +\def\metuxStrnr{154/286/05931} +\def\metuxOwner{Enrico Weigelt} + +\def\nl{\ \\} +\def\metuxGeomLeft{2cm} +\def\metuxGeomRight{2cm} +\def\metuxGeomBottom{1cm} +\def\metuxGeomHead{1cm} +\def\metuxGeomTop{0.5cm} + +\newcommand\metuxFooter +{ + \hrule + ~\newline + \parbox[l]{180pt}{ + \small + \metuxName \\ + Inh. \metuxOwner \\ + \metuxAddress \\ + StNr: \metuxStrnr + } + \parbox[l]{180pt}{ + \small + Bankverbindung: \\ + Kto: \metuxBankAccount \\ + BLZ: \metuxBankCode \\ + \metuxBankCompany + } + \parbox[l]{180pt}{ + \small + Tel: \metuxPhone \\ + Fax: \metuxFax \\ + eMail: \metuxEmail \\ + WWW: \metuxUrl + } +} + +\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.png}} +%\newcommand\metuxHeader{\epsfig{file=\ResourcePrefix/logo.eps}} +\newcommand\metuxInit{ + \renewcommand{\headrulewidth}{0.5pt} + \renewcommand{\footrulewidth}{0.5pt} + \cfoot{\metuxFooter} + \chead{\metuxHeader} +} + +% \newcommand\Euro{Euro} + +\def\metuxMFG{% + \noindent Mit freundlichem Gru\ss + + \epsfig{\metuxSignature} + + \noindent Enrico Weigelt \\ + metux IT service +} + +\def\metuxMFGpriv{% + \noindent Mit freundlichem Gru\ss + + \metuxSignature + + \noindent Enrico Weigelt +} From prasad at vtiger.com Wed Sep 26 06:04:08 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:04:08 -0700 Subject: [Vtigercrm-developers] [PATCH] PearDatabase: some new methods In-Reply-To: <20070926122938.GC21523@nibiru.local> References: <20070926122938.GC21523@nibiru.local> Message-ID: <11541eacf30.1877912300598081527.-6328444782417676545@vtiger.com> this patch adds the methods run_query_field() and sql_concat() to the PearDatabase class ($adb variable), as already discussed Thank you for the patch. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment-0003.html -------------- next part -------------- A non-text attachment was scrubbed... Name: 09_nekrad_peardb-newfuncs.diff Type: application/octet-stream Size: 1024 bytes Desc: not available Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/a5011911/attachment-0003.obj From prasad at vtiger.com Wed Sep 26 06:08:22 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:08:22 -0700 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> Message-ID: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Hi David, thanks for you response, i installed that plug in, it is very good, but i need more complex management of asterisk. It would be good if you can talk to the project owner (developer) of http://forge.vtiger.com/projects/asterisk-integ/ You can share your ideas/requirements and if possible you can add the enhancements that project. If your project focus is completely different, you can create a new forge project and actively develop and contribute to community. Regards, Prasad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/350c4eb4/attachment-0003.html From prasad at vtiger.com Wed Sep 26 06:37:56 2007 From: prasad at vtiger.com (Prasad) Date: Wed, 26 Sep 2007 06:37:56 -0700 Subject: [Vtigercrm-developers] [PATH] fix missing __toString() methods In-Reply-To: <20070926123644.GD21523@nibiru.local> References: <20070926123644.GD21523@nibiru.local> Message-ID: <1154209c25d.-5265518081636982803.-7355899420341582097@vtiger.com> Hi Enrico, I have a small concern to share with the fix you have mentioned: this patch fixes some missing __toString() methods which cause vt to crash when certain objects are accessed as strings. PHP 5.2 requires __toString() method if an object should be contactenated with string, this was not the constraint with PHP 5.1 We use string contacts in debug statements, so adding __toString() to return a constant value from a object might not be a good way. Our patch for PHP 5.2 (vtiger 5.0.3) handles this problem by adding get_class($object) in the string concatenation, this way we don't change the class definition entirely. get_class($object) returns string which can be concatenated without problem. Some places we have replaced $user object with $user->user_name instead of get_class($user) because having user_name information is more useful. We have integrated such fix in our latest developement branch of vtiger 5.0.4. Hope this information was useful. Regards, Prasad vtiger Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/d339f42a/attachment-0003.html From aresolimpico at gmail.com Wed Sep 26 07:24:21 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 11:24:21 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> Message-ID: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> i think is a completely different. because that plug in is very good for a basic asterisk integration and a lot of users will want to kept it in that way. and if vam is another module any one can use both at the same time. so how i put vam on top of the page, in every page? (i change the name from vasterisk to vam vtiger asterisk manager) i don't know if i should create a new project until i have the info about how to put vam on top... with out that info all the project is useless. thanks!!!! David 2007/9/26, Prasad : > > Hi David, > > thanks for you response, i installed that plug in, it is very good, but i > need more complex management of asterisk. > > It would be good if you can talk to the project owner (developer) of > http://forge.vtiger.com/projects/asterisk-integ/ > > You can share your ideas/requirements and if possible you can add the > enhancements that project. > > If your project focus is completely different, you can create a new forge > project and > actively develop and contribute to community. > > Regards, > Prasad > > > _______________________________________________ > Reach hundreds of potential candidates - http://jobs.vtiger.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/988fc103/attachment-0003.html From aresolimpico at gmail.com Wed Sep 26 10:36:06 2007 From: aresolimpico at gmail.com (David fire) Date: Wed, 26 Sep 2007 14:36:06 -0300 Subject: [Vtigercrm-developers] help integrating asterisk and vtiger In-Reply-To: <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> References: <4c307cb60709260518k10aae0bfs385b8938765156bb@mail.gmail.com> <11541eeb0f2.-4369104610577914390.4793573809180509747@vtiger.com> <4c307cb60709260724i5c4a0fd6m9f0df5416ea02fb2@mail.gmail.com> Message-ID: <4c307cb60709261036u5b73b08cj4d533deee89a2e92@mail.gmail.com> hi i think no one know where is the place (file) to put a module over the main tab... so i am going to tell you. the file is Header.tpl ../Smarty/templates/Header.tpl below the line 56 which says
how to put vam on top... with out that info all the project is useless. > > thanks!!!! > > David > > > 2007/9/26, Prasad : > > > > Hi David, > > > > thanks for you response, i installed that plug in, it is very good, but > > i need more complex management of asterisk. > > > > It would be good if you can talk to the project owner (developer) of > > http://forge.vtiger.com/projects/asterisk-integ/ > > > > You can share your ideas/requirements and if possible you can add the > > enhancements that project. > > > > If your project focus is completely different, you can create a new > > forge project and > > actively develop and contribute to community. > > > > Regards, > > Prasad > > > > > > _______________________________________________ > > Reach hundreds of potential candidates - http://jobs.vtiger.com > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070926/0f79f3bb/attachment-0003.html From asha at vtiger.com Thu Sep 27 04:03:43 2007 From: asha at vtiger.com (Asha) Date: Thu, 27 Sep 2007 04:03:43 -0700 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build Message-ID: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070927/a47e0486/attachment-0003.html From minnie at vtiger.com Thu Sep 27 23:15:20 2007 From: minnie at vtiger.com (Minnie) Date: Fri, 28 Sep 2007 11:45:20 +0530 Subject: [Vtigercrm-developers] vtiger CRM 5.0.4 Validation build In-Reply-To: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> References: <11546a2eb4c.5474694468601178260.-938202290638772806@vtiger.com> Message-ID: <1154ac143e6.-1328666412968226924.9121420989952442347@vtiger.com> Download url for .bin package http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.bin Minnie. ----On Thu, 27 Sep 2007 Asha wrote ---- Hello vtigers! We would like to request your help in completing the validation testing of 5.0.4 release. From Sep 28th - October 5th, any Critical & Major issues that are found will be fixed in the 5.0.4 final release. We appreciate your support in this effort. Please report any issues you find on the Trac. Please note that this is a development build released only for testing purposes and not meant to be used in production. Release Notes: http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes 5.0.4 Online Demo: http://en.vtiger.com/wip/ Downloads: .exe package location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.exe .zip source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-5.0.4-validation-testbuild.tar.gz Firefox plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-firfox-plugin-5.0.4-validation-testbuild.xpi Office plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-office-plugin-5.0.4-validation-testbuild.exe Outlook plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-outlook-plugin-5.0.4-validation-testbuild.exe Thunderbird plugin source location http://64.14.15.24/archives/validation-testbuild/vtigercrm-tbird-plugin-5.0.4-validation-testbuild.xpi Customer Portal source http://64.14.15.24/archives/validation-testbuild/vtigercrm-customerportal-5.0.4-validation-testbuild.zip Webforms source http://64.14.15.24/archives/validation-testbuild/vtigercrm-webforms-5.0.4-validation-testbuild.zip Download links for .bin package is pending. Source: We have tagged the source in SVN with 'vtigercrm-5.0.4-rc'. It can be checked out from here http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/tags/vtigercrm-5.0.4-rc or from svn co http://trac.vtiger.com/svn/vtiger/vtigercrm/tags/vtigercrm-5.0.4-rc Pending Work: 1.Migration script for migration from other versions and patch zip for existing users 5.x will be completed shortly. Thanks again. Regards, Asha vtiger team _______________________________________________ Reach hundreds of potential candidates - http://jobs.vtiger.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070928/1bd77f2e/attachment-0003.html