添加到 trunk
+YUCHENG HU+ git-svn-id: https://svn.code.sf.net/p/hawebs/svn@246 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,172 @@
|
||||
The vtiger Public License Version 1.1 is based on the Mozilla Public License Version 1.1
|
||||
|
||||
vtiger Public License
|
||||
Version 1.1
|
||||
|
||||
Copyright (c) 2004-2005 www.vtiger.com All rights reserved.
|
||||
|
||||
PLEASE READ THE FOLLOWING LICENSE AGREEMENT CAREFULLY. ANY USE OF SOFTWARE DOWNLOADED OR ORDERED FROM VTIGER IS PERMITTED ONLY UNDER LICENSE WITH VTIGER. BY DOWNLOADING THIS SOFTWARE YOU AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE AGREEMENT.
|
||||
|
||||
1. Definitions.
|
||||
|
||||
1.0.1. "Commercial Use" means distribution or otherwise making the Covered Code available to a third party.
|
||||
|
||||
1.1. ''Contributor'' means each entity that creates or contributes to the creation of Modifications.
|
||||
|
||||
1.2. ''Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor.
|
||||
|
||||
1.3. ''Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof.
|
||||
|
||||
1.4. ''Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data.
|
||||
|
||||
1.5. ''Executable'' means Covered Code in any form other than Source Code.
|
||||
|
||||
1.6. ''Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A.
|
||||
|
||||
1.7. ''Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.
|
||||
|
||||
1.8. ''License'' means this document.
|
||||
|
||||
1.8.1. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
|
||||
|
||||
1.9. ''Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is:
|
||||
A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications.
|
||||
|
||||
B. Any new file that contains any part of the Original Code or previous Modifications.
|
||||
|
||||
1.10. ''Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License.
|
||||
|
||||
1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
|
||||
|
||||
1.11. ''Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge.
|
||||
|
||||
1.12. "You'' (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, "You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
|
||||
|
||||
2. Source Code License.
|
||||
|
||||
2.1.The Initial Developer Grant.
|
||||
The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims:
|
||||
(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, and/or as part of a Larger Work; and
|
||||
|
||||
(b) under Patents Claims infringed by the making, using or selling of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Code (or portions thereof).
|
||||
(c) the licenses granted in this Section 2.1(a) and (b) are effective on the date Initial Developer first distributes Original Code under the terms of this License.
|
||||
|
||||
(d) Notwithstanding Section 2.1(b) above, no patent license is granted: 1) for code that You delete from the Original Code; 2) separate from the Original Code; or 3) for infringements caused by: i) the modification of the Original Code or ii) the combination of the Original Code with other software or devices.
|
||||
|
||||
2.2. Contributor Grant.
|
||||
Subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license
|
||||
|
||||
(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor, to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger Work; and
|
||||
|
||||
(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor (or portions thereof); and 2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
|
||||
|
||||
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first makes Commercial Use of the Covered Code.
|
||||
|
||||
(d) Notwithstanding Section 2.2(b) above, no patent license is granted: 1) for any code that Contributor has deleted from the Contributor Version; 2) separate from the Contributor Version; 3) for infringements caused by: i) third party modifications of Contributor Version or ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code in the absence of Modifications made by that Contributor.
|
||||
|
||||
3. Distribution Obligations.
|
||||
|
||||
3.1. Application of License.
|
||||
The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5.
|
||||
|
||||
3.2. Availability of Source Code.
|
||||
Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party.
|
||||
|
||||
3.3. Description of Modifications.
|
||||
You must cause all Covered Code to which You contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code.
|
||||
|
||||
3.4. Intellectual Property Matters
|
||||
(a) Third Party Claims.
|
||||
If Contributor has knowledge that a license under a third party's intellectual property rights is required to exercise the rights granted by such Contributor under Sections 2.1 or 2.2, Contributor must include a text file with the Source Code distribution titled "LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If Contributor obtains such knowledge after the Modification is made available as described in Section 3.2, Contributor shall promptly modify the LEGAL file in all copies Contributor makes available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained.
|
||||
|
||||
(b)Contributor APIs.
|
||||
If Contributor's Modifications include an application programming interface and Contributor has knowledge of patent licenses which are reasonably necessary to implement that API, Contributor must also include this information in the LEGAL file.
|
||||
|
||||
(c)Representations.
|
||||
Contributor represents that, except as disclosed pursuant to Section 3.4(a) above, Contributor believes that Contributor's Modifications are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the rights conveyed by this License.
|
||||
|
||||
|
||||
3.5. Required Notices.
|
||||
You must duplicate the notice in Exhibit A in each file of the Source Code. If it is not possible to put such notice in a particular Source Code file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. If You created one or more Modification(s) You may add your name as a Contributor to the notice described in Exhibit A. You must also duplicate this License in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
|
||||
|
||||
3.6. Distribution of Executable Versions.
|
||||
You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code or ownership rights under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
|
||||
|
||||
3.7. Larger Works.
|
||||
You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation.
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it.
|
||||
|
||||
5. Application of this License.
|
||||
|
||||
This License applies to code to which the Initial Developer has attached the notice in Exhibit A and to related Covered Code.
|
||||
|
||||
6. Versions of the License.
|
||||
|
||||
6.1. New Versions.
|
||||
vtiger may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number.
|
||||
|
||||
6.2. Effect of New Versions.
|
||||
Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by vtiger. No one other than vtiger has the right to modify the terms applicable to Covered Code created under this License.
|
||||
|
||||
6.3. Derivative Works.
|
||||
If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases ''vtiger'or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the vtiger Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.)
|
||||
|
||||
7. DISCLAIMER OF WARRANTY.
|
||||
|
||||
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
|
||||
|
||||
8. TERMINATION.
|
||||
|
||||
8.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
|
||||
|
||||
8.2. If You initiate litigation by asserting a patent infringement claim (excluding declatory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You file such action is referred to as "Participant") alleging that:
|
||||
|
||||
(a) such Participant's Contributor Version directly or indirectly infringes any patent, then any and all rights granted by such Participant to You under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively, unless if within 60 days after receipt of notice You either: (i) agree in writing to pay Participant a mutually agreeable reasonable royalty for Your past and future use of Modifications made by such Participant, or (ii) withdraw Your litigation claim with respect to the Contributor Version against such Participant. If within 60 days of notice, a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Participant to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of the 60 day notice period specified above.
|
||||
|
||||
(b) any software, hardware, or device, other than such Participant's Contributor Version, directly or indirectly infringes any patent, then any rights granted to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective as of the date You first made, used, sold, distributed, or had made, Modifications made by that Participant.
|
||||
|
||||
8.3. If You assert a patent infringement claim against Participant alleging that such Participant's Contributor Version directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
|
||||
|
||||
8.4. In the event of termination under Sections 8.1 or 8.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination.
|
||||
|
||||
9. LIMITATION OF LIABILITY.
|
||||
|
||||
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
10. U.S. GOVERNMENT END USERS.
|
||||
|
||||
The Covered Code is a ''commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ''commercial computer software'' and ''commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein.
|
||||
|
||||
11. MISCELLANEOUS.
|
||||
|
||||
This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by Indian laws (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in India, any litigation relating to this License shall be subject to the jurisdiction of the Courts in Chennai, with venue lying in Tamil Nadu State, India, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License.
|
||||
|
||||
12. RESPONSIBILITY FOR CLAIMS.
|
||||
|
||||
As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
|
||||
|
||||
13. MULTIPLE-LICENSED CODE.
|
||||
|
||||
Initial Developer may designate portions of the Covered Code as “Multiple-Licensed”. “Multiple-Licensed” means that the Initial Developer permits you to utilize portions of the Covered Code under Your choice of the MPL or the alternative licenses, if any, specified by the Initial Developer in the file described in Exhibit A.
|
||||
|
||||
|
||||
EXHIBIT A -vtiger Public License.
|
||||
|
||||
"The contents of this file are subject to the vtiger Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License."
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
||||
|
||||
The Original Code is vtiger Outlook Plug-in.
|
||||
|
||||
The Initial Developer of the Original Code is vtiger. Portions created by vtiger are Copyright (C) www.vtiger.com. All Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________.
|
||||
|
||||
[NOTE: The text of this Exhibit A may differ slightly from the text of the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications.]
|
||||
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,234 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="en"><head><title>vtiger CRM 5 : Release Notes</title>
|
||||
|
||||
<style>
|
||||
p { font-family: Arial, Helvetica, sans-serif; font-size: 10pt}
|
||||
td{ font-family: Arial, Helvetica, sans-serif; font-size: 10pt}
|
||||
li{ font-family: Arial, Helvetica, sans-serif; font-size: 10pt; margin-top: 12pt}
|
||||
h1{ font-family: Arial, Helvetica, sans-serif; font-size: 16pt}
|
||||
h2{ font-family: Arial, Helvetica, sans-serif; font-size: 14pt}
|
||||
h3{ font-family: Arial, Helvetica, sans-serif; font-size: 12pt}
|
||||
.background{
|
||||
background-image: url(themes/images/vtiger-paw.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom center;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
.style4 {
|
||||
color: #006600;
|
||||
font-weight: bold;
|
||||
}
|
||||
.style5 {color: #0000FF}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="background">
|
||||
<p><img src="themes/images/vtiger.jpg" width="112" height="48"></p>
|
||||
<h1>vtiger CRM 5.0.4: Release Notes</h1>
|
||||
<p><b>Date: March 10, 2008</b></p>
|
||||
<p>Welcome to <b>vtiger CRM!</b></p>
|
||||
<p>We are happy to announce the release of vtiger CRM 5.0.4. In this release, our core focus was on the security, UTF-8 support, stability of the existing features and enhancements in user experience. </p>
|
||||
|
||||
<p>For a detailed explanation <a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_-_Release_Notes" target="_blank"><strong>Click Here</strong></a></p>
|
||||
<p><b><a name="TOC4" id="TOC3"></a>Table of Contents</b></p>
|
||||
<ol>
|
||||
<li><a href="#summary5">Summary</a></li>
|
||||
<li><a href="#key-stats">Key Statistics</a></li>
|
||||
<li><a href="#bugfix5">Bug Fixes</a></li>
|
||||
<li><a href="#int-patches">Integrated Patches</a></li>
|
||||
<li><a href="#ki">Known Issues</a></li>
|
||||
<li><a href="#Limitations">Limitations</a></li>
|
||||
<li><a href="#patch">Upgrading Procedure</a></li>
|
||||
<li><a href="#Past_Releases">Past Releases</a></li>
|
||||
<li><a href="#Contact">Contact Information</a> </li>
|
||||
</ol>
|
||||
<h2><a name="summary5"></a>1. Summary</h2>
|
||||
<table border="1" cellpadding="5" cellspacing="0" width="73%">
|
||||
<tbody>
|
||||
<tr bgcolor="#ccccff">
|
||||
<td width="8%"><b><font color="#990000">S. No</font></b></td>
|
||||
<td width="37%"><b><font color="#990000">Item</font></b></td>
|
||||
<td width="55%"><b><font color="#990000">Status</font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="8%">1 </td>
|
||||
<td width="37%">Bug Fixes</td>
|
||||
<td width="55%"><strong>900+ <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/query?status=closed&groupdesc=1&group=type&milestone=5.0.4&type=defect&type=Need+More+Info&order=priority&desc=1" target="_blank">Click Here </a></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="8%">2</td>
|
||||
<td width="37%">Product Size</td>
|
||||
<td width="55%"><ul>
|
||||
<li><b>Platform Independent - 12 MB</b></li>
|
||||
<li><b> Windows (EXE) - 32 MB</b></li>
|
||||
<li><b> Linux (BIN) - 50 MB</b></li>
|
||||
</ul></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="8%">3</td>
|
||||
<td width="37%">Database Migration</td>
|
||||
<td width="55%"><span class="style4">Available for migrating data from 4.2.3, 5.0.0, 5.0.1, 5.0.2, 5.0.3 RC 2, 5.0.3, 5.0.4-rc to 5.0.4.</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>4</td>
|
||||
<td>Product Download </td>
|
||||
<td><a href="http://www.vtiger.com/index.php?option=com_content&task=view&id=30&Itemid=57" target="_blank"><strong>Click Here</strong></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="8%">5</td>
|
||||
<td width="37%">vtiger CRM - PHP Documentation</td>
|
||||
<td width="55%"> URL: <a href="http://api.vtiger.com/index.php" target="_blank"><strong>Click Here</strong></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="8%">6</td>
|
||||
<td width="37%">Product Documentation</td>
|
||||
<td width="55%">
|
||||
<p>Available at <a href="http://wiki.vtiger.com"><strong>vtiger Wiki</strong></a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><a name="key-stats" id="key-stats"></a>2. Key Statistics </h2>
|
||||
<table width="80%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td bordercolor="#333333" scope="col" width="30%">
|
||||
<img title="vtiger CRM 5.0.4 - Tickets Closed by Type - http://sheet.zoho.com" alt="vtiger CRM 5.0.4 - Tickets Closed by Type - http://sheet.zoho.com" src="http://sheet.zoho.com/publicgraphs/86990000000020003.png"></td>
|
||||
<td bordercolor="#333333" scope="col" width="30%"> </td>
|
||||
<td scope="col" align="top" width="30%"><div align="center"><img title="vtiger CRM 5.0.4 - Bug Fixes By Priority - http://sheet.zoho.com" alt="vtiger CRM 5.0.4 - Bug Fixes By Priority - http://sheet.zoho.com" src="http://sheet.zoho.com/publicgraphs/86990000000020005.png"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p></p>
|
||||
<h2><a name="bugfix5">3</a>. Bug Fixes</h2>
|
||||
<p>We have fixed about 900+ issues in the current release. Following list will give you a better idea on the issues addressed in various modules.</p>
|
||||
<p><strong>Top 10 - Bug Fixes:</strong></p>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5126"><strong>5156</strong></a> Serious Security Issue</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/2107"><strong>2107</strong></a> Huge security hole</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4102"><strong>4102</strong></a> Passwords stored in clear text</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4123"><strong>4123</strong></a> HTTP_POST_VARS in Save Report</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4437"><strong>4437</strong></a> Negative Rule Filters Output Wrong Result</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4143"><strong>4143</strong></a> Custom sharing rules not working properly</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4050"><strong>4050</strong></a> Error on lead conversion</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4061"><strong>4061</strong></a> Problem with .info TLD</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4439"><strong>4439</strong></a> Image Upload Detection Failure</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4158"><strong>4158</strong></a> i18n issue at PDF output reports</li>
|
||||
</ul>
|
||||
|
||||
<p>For a complete list of bug fixes, please refer: <strong><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/query?status=closed&groupdesc=1&group=type&milestone=5.0.4&type=defect&type=Need+More+Info&order=priority&desc=1" target="_blank">vtiger Bug Tracker</a></strong></p>
|
||||
|
||||
<h2><a name="int-patches">4</a>. Integrated Patches</h2>
|
||||
<p>We have integrated around 50 patches in the current release, contributed by our Community. </p>
|
||||
<p><strong>Top 10 - Integrated Patches:</strong></p>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/3283"><strong>3283</strong></a> i18n issue at calendar (all events and tasks)</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/2279"><strong>2279</strong></a> Role assignment upon user creation broken</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/2318"><strong>2318</strong></a> RTF document merge instead of word merge</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/2346"><strong>2346</strong></a> Calendar Week View Action button displays improperly</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/2350"><strong>2350</strong></a> Navigation dropdown problem in IE (and Safari?)</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/2404"><strong>2404</strong></a> Problem with HTML Tags in AltBody(Text) on Email, (umlaute)</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/2730"><strong>2730</strong></a> Problem in Search and Tag Search when modules are disabled for a profile</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/3004"><strong>3004</strong></a> Patches to log entries for php 5.2</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/3719"><strong>3719</strong></a> Error causing blank screen problem - fix</li>
|
||||
<li><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/3832"><strong>3832</strong></a> Picklist encoding problem</li>
|
||||
</ul>
|
||||
|
||||
<p>For a complete list of patches integrated, please refer: <strong><a href="http://trac.vtiger.com/cgi-bin/trac.cgi/query?status=closed&milestone=5.0.4&type=patch&order=priority&desc=1">vtiger Integrated Patches</a></strong></p>
|
||||
|
||||
<h2><a name="ki">5</a>. Known Issues</h2>
|
||||
<p>We have fixed many more issues in the present release. However at the end-of-the-day we have some known issues left open, which will be addressed in the subsequent releases.</p>
|
||||
<p><strong><b>Few Known issues: </b></strong> </p>
|
||||
|
||||
<ul>
|
||||
<li>Field length validation is not available.</li>
|
||||
<li>System details information will not be complete, if operating system applies restriction.</li>
|
||||
<li>Created Time and Modified Time depends on the timezone format set in php configuration or server.</li>
|
||||
<li>Pagination is not supported in Global Search.</li>
|
||||
</ul>
|
||||
|
||||
<p>For a complete list of known issues, see: <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/query?status=new&status=assigned&status=reopened&groupdesc=1&group=type&milestone=5.1.0&type=defect&type=Need+More+Info&order=priority&desc=1" target="_blank"><b>vtiger Bug Tracker</b></a></p>
|
||||
|
||||
<h2><a name="Limitations" id="Limitations">6</a>. Limitations</h2>
|
||||
|
||||
<ul>
|
||||
<li>Limited Field Level Security in Inventory PDF and Dashboards.</li>
|
||||
<li>Chat does not work during the heavy load in the server.</li>
|
||||
<li>In future release, week view UI will be changed, so all the events are displayed at start time of the event.</li>
|
||||
<li>If events start time is lesser than the Calendar start time, it will not be displayed in the calendar view.</li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="patch">7</a>.Upgrading Procedure</b></h2>
|
||||
<p>This section is only for the existing vtiger CRM users. If you are planning to use vtiger CRM first time, please skip this section. </p>
|
||||
<p><strong>Important Note:</strong> </p>
|
||||
<ul>
|
||||
<li>We recommend users to take a backup of the existing database and source code before migrating to vtiger CRM 5.0.4. </li>
|
||||
<li>If you have customized the source code and database, please contact your developers or write to us at <a href="mailto:[email protected]">[email protected]</a> so that we can suggest a proper migration path.</li>
|
||||
</ul>
|
||||
<p><strong>Step 1: </strong>Copy <em>vtiger CRM 5.0.4 - Patch</em> files in to your vtiger CRM root directory.</p>
|
||||
<p><b>Step 2: </b>Migrate your database from earlier version to the latest version.</p>
|
||||
<p><strong>To upgrade from v4.2.3, 5.0.0, 5.0.1, 5.0.2, 5.0.3-rc2, 5.0.3, 5.0.4-rc to v5.0.4</strong></p>
|
||||
<ol>
|
||||
<li> Select <strong>Settings --> Other Settings --> Migration Wizard</strong></li>
|
||||
<li> Make the recommended changes if any for your install before proceeding,<i> if you need utf-8 support.</i></li>
|
||||
<li> In the Migration Wizard, select the options according to your requirements </li>
|
||||
<li> It will take some time to migrate the data. Kindly do not close the browser during migration process.</li>
|
||||
</ol>
|
||||
|
||||
<hr />
|
||||
<h2><a name="Past_Releases" id="Past_Releases">8</a>. Past Releases </h2>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.4_RC_-_Release_Notes">vtiger CRM 5.0.4 RC - Release Notes</a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://www.vtiger.com/products/crm/vtigercrm-503-Release-Notes.pdf">vtiger CRM 5.0.3 - Release Notes</a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.2_-_Release_Notes">vtiger CRM 5.0.2 - Release Notes</a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.1_-_Release_Notes">vtiger CRM 5.0.1 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0.0_-_Release_Notes">vtiger CRM 5.0.0 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_5.0_RC_-_Release_Notes">vtiger CRM 5.0 RC - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_4.2_GA_-_Release_Notes">vtiger CRM 4.2 GA - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_4.2_Alpha_-_Release_Notes">vtiger CRM 4.2 Alpha - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_4.0.1_-_Release_Notes">vtiger CRM 4.0.1 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_4.0_-_Release_Notes">vtiger CRM 4.0 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_4.0_Beta_-_Release_Notes">vtiger CRM 4.0 Beta - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_3.2.1_-_Release_Notes">vtiger CRM 3.2.1 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_3.2_-_Release_Notes">vtiger CRM 3.2 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_3.0_-_Release_Notes">vtiger CRM 3.0 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_2.0_-_Release_Notes">vtiger CRM 2.0 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong><a href="http://wiki.vtiger.com/index.php/Vtiger_CRM_1.0_-_Release_Notes">vtiger CRM 1.0 - Release Notes </a></strong></li>
|
||||
</ul>
|
||||
<h2><a name="Contact" id="Contact"></a>9. Contact Information</h2>
|
||||
<p> Check the details <a href="http://vtiger.com/index.php?option=com_content&task=view&id=26&Itemid=54">here</a>.<br />
|
||||
<br/>
|
||||
Email: <a href="mailto:[email protected]">[email protected]</a></p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,279 @@
|
||||
<?php
|
||||
////////////////////////////////////////////////////
|
||||
// PHPMailer - PHP email class
|
||||
//
|
||||
// Class for sending email using either
|
||||
// sendmail, PHP mail(), or SMTP. Methods are
|
||||
// based upon the standard AspEmail(tm) classes.
|
||||
//
|
||||
// Copyright (C) 2001 - 2003 Brent R. Matzelle
|
||||
//
|
||||
// License: LGPL, see LICENSE
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* PHPMailer - PHP email transport class
|
||||
* @package PHPMailer
|
||||
* @author Brent R. Matzelle
|
||||
* @copyright 2001 - 2003 Brent R. Matzelle
|
||||
*/
|
||||
|
||||
|
||||
//file modified by richie
|
||||
require_once('include/utils/utils.php');
|
||||
require("modules/Emails/class.phpmailer.php");
|
||||
require_once('include/logging.php');
|
||||
require("config.php");
|
||||
|
||||
// Set the default sender email id
|
||||
global $HELPDESK_SUPPORT_EMAIL_ID;
|
||||
$from = $HELPDESK_SUPPORT_EMAIL_ID;
|
||||
if(empty($from)) {
|
||||
// default configuration is empty?
|
||||
$from = "[email protected]";
|
||||
}
|
||||
|
||||
// Get the list of activity for which reminder needs to be sent
|
||||
|
||||
global $adb;
|
||||
global $log;
|
||||
$log =& LoggerManager::getLogger('SendReminder');
|
||||
$log->debug(" invoked SendReminder ");
|
||||
|
||||
// retrieve the translated strings.
|
||||
$app_strings = return_application_language($current_language);
|
||||
|
||||
//modified query for recurring events -Jag
|
||||
$query="select vtiger_crmentity.crmid,vtiger_seactivityrel.crmid as setype,vtiger_activity.*,vtiger_activity_reminder.reminder_time,vtiger_activity_reminder.reminder_sent,vtiger_activity_reminder.recurringid,vtiger_recurringevents.recurringdate from vtiger_activity inner join vtiger_crmentity on vtiger_crmentity.crmid=vtiger_activity.activityid inner join vtiger_activity_reminder on vtiger_activity.activityid=vtiger_activity_reminder.activity_id left outer join vtiger_recurringevents on vtiger_activity.activityid=vtiger_recurringevents.activityid left outer join vtiger_seactivityrel on vtiger_seactivityrel.activityid = vtiger_activity.activityid where DATE_FORMAT(vtiger_activity.date_start,'%Y-%m-%d, %H:%i:%s') >= '".date('Y-m-d')."' and vtiger_crmentity.crmid != 0 and vtiger_activity.eventstatus = 'Planned' and vtiger_activity_reminder.reminder_sent = 0 group by vtiger_activity.activityid,vtiger_recurringevents.recurringid";
|
||||
$result = $adb->pquery($query, array());
|
||||
|
||||
if($adb->num_rows($result) >= 1)
|
||||
{
|
||||
while($result_set = $adb->fetch_array($result))
|
||||
{
|
||||
$date_start = $result_set['date_start'];
|
||||
$time_start = $result_set['time_start'];
|
||||
$reminder_time = $result_set['reminder_time'];
|
||||
$curr_time = strtotime(date("Y-m-d H:i"))/60;
|
||||
$activity_id = $result_set['activityid'];
|
||||
$activitymode = ($result_set['activitytype'] == "Task")?"Task":"Events";
|
||||
$parent_type = $result_set['setype'];
|
||||
$activity_sub = $result_set['subject'];
|
||||
$to_addr='';
|
||||
|
||||
if($parent_type!='')
|
||||
$parent_content = getParentInfo($parent_type)."\n";
|
||||
else
|
||||
$parent_content = "";
|
||||
//code included for recurring events by jaguar starts
|
||||
$recur_id = $result_set['recurringid'];
|
||||
$current_date=date('Y-m-d');
|
||||
if($recur_id == 0)
|
||||
{
|
||||
$date_start = $result_set['date_start'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$date_start = $result_set['recurringdate'];
|
||||
}
|
||||
//code included for recurring events by jaguar ends
|
||||
|
||||
$activity_time = strtotime(date("$date_start $time_start"))/60;
|
||||
|
||||
if (($activity_time - $curr_time) > 0 && ($activity_time - $curr_time) <= $reminder_time)
|
||||
{
|
||||
$log->debug(" InSide REMINDER");
|
||||
$query_user="SELECT vtiger_users.email1,vtiger_salesmanactivityrel.smid FROM vtiger_salesmanactivityrel inner join vtiger_users on vtiger_users.id=vtiger_salesmanactivityrel.smid where vtiger_salesmanactivityrel.activityid =? and vtiger_users.deleted=0";
|
||||
$user_result = $adb->pquery($query_user, array($activity_id));
|
||||
if($adb->num_rows($user_result)>=1)
|
||||
{
|
||||
while($user_result_row = $adb->fetch_array($user_result))
|
||||
{
|
||||
if($user_result_row['email1']!='' || $user_result_row['email1'] !=NULL)
|
||||
{
|
||||
$to_addr[] = $user_result_row['email1'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Retriving the Subject and message from reminder table
|
||||
$sql = "select active,notificationsubject,notificationbody from vtiger_notificationscheduler where schedulednotificationid=8";
|
||||
$result_main = $adb->pquery($sql, array());
|
||||
|
||||
$subject = $app_strings['Reminder'].$result_set['activitytype']." @ ".$result_set['date_start']." ".$result_set['time_start']."] ".$adb->query_result($result_main,0,'notificationsubject');
|
||||
|
||||
//Set the mail body/contents here
|
||||
$contents = nl2br($adb->query_result($result_main,0,'notificationbody')) ."\n\n ".$app_strings['Subject']." : ".$activity_sub."\n ". $parent_content ." ".$app_strings['Date & Time']." : ".$date_start." ".$time_start."\n\n ".$app_strings['Visit_Link']." <a href='".$site_URL."/index.php?action=DetailView&module=Calendar&record=".$activity_id."&activity_mode=".$activitymode."'>".$app_strings['Click here']."</a>";
|
||||
|
||||
if(count($to_addr) >=1)
|
||||
{
|
||||
send_mail($to_addr,$from,$subject,$contents,$mail_server,$mail_server_username,$mail_server_password);
|
||||
$upd_query = "UPDATE vtiger_activity_reminder SET reminder_sent=1 where activity_id=?";
|
||||
$upd_params = array($activity_id);
|
||||
|
||||
if($recur_id!=0)
|
||||
{
|
||||
$upd_query.=" and recurringid =?";
|
||||
array_push($upd_params, $recur_id);
|
||||
}
|
||||
|
||||
$adb->pquery($upd_query, $upd_params);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
This function is used to assign parameters to the mail object and send it.
|
||||
It takes the following as parameters.
|
||||
$to as string - to address
|
||||
$from as string - from address
|
||||
$subject as string - subject if the mail
|
||||
$contents as text - content of the mail
|
||||
$mail_server as string - sendmail server name
|
||||
$mail_server_username as string - sendmail server username
|
||||
$mail_server_password as string - sendmail server password
|
||||
|
||||
*/
|
||||
function send_mail($to,$from,$subject,$contents,$mail_server,$mail_server_username,$mail_server_password)
|
||||
{
|
||||
global $adb;
|
||||
global $log;
|
||||
$log->info("This is send_mail function in SendReminder.php(vtiger home).");
|
||||
global $root_directory;
|
||||
|
||||
$mail = new PHPMailer();
|
||||
|
||||
|
||||
$mail->Subject = $subject;
|
||||
$mail->Body = nl2br($contents);//"This is the HTML message body <b>in bold!</b>";
|
||||
|
||||
|
||||
$mail->IsSMTP(); // set mailer to use SMTP
|
||||
|
||||
$mailserverresult=$adb->pquery("select * from vtiger_systems where server_type='email'", array());
|
||||
$mail_server = $adb->query_result($mailserverresult,0,'server');
|
||||
$mail_server_username = $adb->query_result($mailserverresult,0,'server_username');
|
||||
$mail_server_password = $adb->query_result($mailserverresult,0,'server_password');
|
||||
$smtp_auth = $adb->query_result($mailserverresult,0,'smtp_auth');
|
||||
|
||||
$_REQUEST['server']=$mail_server;
|
||||
$log->info("Mail Server Details => '".$mail_server."','".$mail_server_username."','".$mail_server_password."'");
|
||||
|
||||
|
||||
$mail->Host = $mail_server; // specify main and backup server
|
||||
if($smtp_auth == 'true')
|
||||
$mail->SMTPAuth = true;
|
||||
else
|
||||
$mail->SMTPAuth = false;
|
||||
$mail->Username = $mail_server_username ; // SMTP username
|
||||
$mail->Password = $mail_server_password ; // SMTP password
|
||||
$mail->From = $from;
|
||||
$mail->FromName = $initialfrom;
|
||||
$log->info("Mail sending process : From Name & email id => '".$initialfrom."','".$from."'");
|
||||
foreach($to as $pos=>$addr)
|
||||
{
|
||||
$mail->AddAddress($addr); // name is optional
|
||||
$log->info("Mail sending process : To Email id = '".$addr."' (set in the mail object)");
|
||||
|
||||
}
|
||||
$mail->WordWrap = 50; // set word wrap to 50 characters
|
||||
|
||||
$mail->IsHTML(true); // set email format to HTML
|
||||
|
||||
$mail->AltBody = "This is the body in plain text for non-HTML mail clients";
|
||||
|
||||
$flag = MailSend($mail);
|
||||
$log->info("After executing the mail->Send() function.");
|
||||
}
|
||||
|
||||
/**
|
||||
This function is used to ensure mail has been sent sucessfully with out error.
|
||||
It takes the mail object as the input and returns true if sucess else an error messaget.
|
||||
*/
|
||||
function MailSend($mail)
|
||||
{
|
||||
global $log;
|
||||
if(!$mail->Send())
|
||||
{
|
||||
$log->info("Error in Mail Sending : Error log = '".$mail->ErrorInfo."'");
|
||||
$msg = $mail->ErrorInfo;
|
||||
}
|
||||
else
|
||||
{
|
||||
$log->info("Mail has been sent from the vtigerCRM system : Status : '".$mail->ErrorInfo."'");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
This function is used to get the Parent mail id
|
||||
It takes the input returnmodule as string and parentid as integer, returns the parent mailid as string.
|
||||
*/
|
||||
function getParentMailId($returnmodule,$parentid)
|
||||
{
|
||||
global $adb;
|
||||
if($returnmodule == 'Leads')
|
||||
{
|
||||
$tablename = 'vtiger_leaddetails';
|
||||
$idname = 'leadid';
|
||||
}
|
||||
if($returnmodule == 'Contacts' || $returnmodule == 'HelpDesk')
|
||||
{
|
||||
if($returnmodule == 'HelpDesk')
|
||||
$parentid = $_REQUEST['contact_id'];
|
||||
$tablename = 'vtiger_contactdetails';
|
||||
$idname = 'contactid';
|
||||
}
|
||||
if($parentid != '')
|
||||
{
|
||||
$query = 'select * from '.$tablename.' where '.$idname.' = ?';
|
||||
$res = $adb->pquery($query, array($parentid));
|
||||
$mailid = $adb->query_result($res,0,'email');
|
||||
}
|
||||
if($mailid == '' && $returnmodule =='Contacts')
|
||||
{
|
||||
$mailid = $adb->query_result($res,0,'otheremail');
|
||||
if($mailid == '')
|
||||
$mailid = $adb->query_result($res,0,'yahooid');
|
||||
}
|
||||
return $mailid;
|
||||
}
|
||||
|
||||
/**
|
||||
This function is used to get the Parent type and its Name
|
||||
It takes the input integer - crmid and returns the parent type and its name as string.
|
||||
*/
|
||||
function getParentInfo($value)
|
||||
{
|
||||
global $adb;
|
||||
$parent_module = getSalesEntityType($value);
|
||||
if($parent_module == "Leads")
|
||||
{
|
||||
$sql = "select * from vtiger_leaddetails where leadid=?";
|
||||
$result = $adb->pquery($sql, array($value));
|
||||
$first_name = $adb->query_result($result,0,"firstname");
|
||||
$last_name = $adb->query_result($result,0,"lastname");
|
||||
|
||||
$parent_name = $last_name.' '.$first_name;
|
||||
}
|
||||
elseif($parent_module == "Accounts")
|
||||
{
|
||||
$sql = "select * from vtiger_account where accountid=?";
|
||||
$result = $adb->pquery($sql, array($value));
|
||||
$account_name = $adb->query_result($result,0,"accountname");
|
||||
|
||||
$parent_name =$account_name;
|
||||
}
|
||||
elseif($parent_module == "Potentials")
|
||||
{
|
||||
$sql = "select * from vtiger_potential where potentialid=?";
|
||||
$result = $adb->pquery($sql, array($value));
|
||||
$potentialname = $adb->query_result($result,0,"potentialname");
|
||||
|
||||
$parent_name =$potentialname;
|
||||
}
|
||||
return $parent_module ." : ".$parent_name;
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
////////////////////////////////////////////////////
|
||||
// PHPMailer - PHP email class
|
||||
//
|
||||
// Class for sending email using either
|
||||
// sendmail, PHP mail(), or SMTP. Methods are
|
||||
// based upon the standard AspEmail(tm) classes.
|
||||
//
|
||||
// Copyright (C) 2001 - 2003 Brent R. Matzelle
|
||||
//
|
||||
// License: LGPL, see LICENSE
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* PHPMailer - PHP email transport class
|
||||
* @package PHPMailer
|
||||
* @author Brent R. Matzelle
|
||||
* @copyright 2001 - 2003 Brent R. Matzelle
|
||||
*/
|
||||
|
||||
|
||||
require_once('include/utils/utils.php');
|
||||
require("modules/Emails/mail.php");
|
||||
require_once('include/logging.php');
|
||||
require("config.php");
|
||||
|
||||
|
||||
global $adb;
|
||||
global $log;
|
||||
global $HELPDESK_SUPPORT_EMAIL_ID,$HELPDESK_SUPPORT_NAME;
|
||||
$log =& LoggerManager::getLogger('SendSupportNotification');
|
||||
$log->debug(" invoked SendSupportNotification ");
|
||||
|
||||
// retrieve the translated strings.
|
||||
$app_strings = return_application_language($current_language);
|
||||
|
||||
|
||||
//To send email notification before a week
|
||||
$query="select vtiger_contactdetails.contactid,vtiger_contactdetails.email,vtiger_contactdetails.firstname,vtiger_contactdetails.lastname,contactid from vtiger_customerdetails inner join vtiger_crmentity on vtiger_crmentity.crmid=vtiger_customerdetails.customerid inner join vtiger_contactdetails on vtiger_contactdetails.contactid=vtiger_customerdetails.customerid where vtiger_crmentity.deleted=0 and support_end_date=DATE_ADD(now(), INTERVAL 1 WEEK)";
|
||||
$result = $adb->pquery($query, array());
|
||||
|
||||
|
||||
if($adb->num_rows($result) >= 1)
|
||||
{
|
||||
while($result_set = $adb->fetch_array($result))
|
||||
{
|
||||
|
||||
$content=getcontent_week($result_set["contactid"]);
|
||||
$body=$content["body"];
|
||||
$body = str_replace('$logo$','<img src="cid:logo" />',$body);
|
||||
$subject=$content["subject"];
|
||||
|
||||
$status=send_mail("Support",$result_set["email"],$HELPDESK_SUPPORT_NAME,$HELPDESK_SUPPORT_EMAIL_ID,$subject,$body,'',$HELPDESK_SUPPORT_EMAIL_ID
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
//comment / uncomment this line if you want to hide / show the sent mail status
|
||||
//showstatus($status);
|
||||
$log->debug(" Send Support Notification Befoe a week - Status: ".$status);
|
||||
|
||||
//To send email notification before a month
|
||||
$query="select vtiger_contactdetails.contactid,vtiger_contactdetails.email,vtiger_contactdetails.firstname,vtiger_contactdetails.lastname,contactid from vtiger_customerdetails inner join vtiger_crmentity on vtiger_crmentity.crmid=vtiger_customerdetails.customerid inner join vtiger_contactdetails on vtiger_contactdetails.contactid=vtiger_customerdetails.customerid where vtiger_crmentity.deleted=0 and support_end_date=DATE_ADD(now(), INTERVAL 1 MONTH)";
|
||||
$result = $adb->pquery($query, array());
|
||||
|
||||
|
||||
if($adb->num_rows($result) >= 1)
|
||||
{
|
||||
while($result_set = $adb->fetch_array($result))
|
||||
{
|
||||
$content=getcontent_month($result_set["contactid"]);
|
||||
$body=$content["body"];
|
||||
$body = str_replace('$logo$','<img src="cid:logo" />',$body);
|
||||
$subject=$content["subject"];
|
||||
|
||||
$status=send_mail("Support",$result_set["email"],$HELPDESK_SUPPORT_NAME,$HELPDESK_SUPPORT_EMAIL_ID,$subject,$body,'',$HELPDESK_SUPPORT_EMAIL_ID);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//comment / uncomment this line if you want to hide / show the sent mail status
|
||||
//showstatus($status);
|
||||
$log->debug(" Send Support Notification Befoe a Month - Status: ".$status);
|
||||
|
||||
//used to dispaly the sent mail status
|
||||
function showstatus($status)
|
||||
{
|
||||
|
||||
if($status == 1)
|
||||
echo "Mails sent successfully";
|
||||
else if($status == "")
|
||||
echo "No contacts matched";
|
||||
else
|
||||
echo "Error while sending mails: ".$status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//function used to get the header and body content of the mail to be sent.
|
||||
function getcontent_month($id)
|
||||
{
|
||||
global $adb;
|
||||
$query='select vtiger_emailtemplates.subject,vtiger_emailtemplates.body from vtiger_notificationscheduler inner join vtiger_emailtemplates on vtiger_emailtemplates.templateid=vtiger_notificationscheduler.notificationbody where schedulednotificationid=7';
|
||||
$result = $adb->pquery($query, array());
|
||||
$body=$adb->query_result($result,0,'body');
|
||||
$body=getMergedDescription($body,$id,"Contacts");
|
||||
$body=getMergedDescription($body,$id,"Users");
|
||||
$res_array["subject"]=$adb->query_result($result,0,'subject');
|
||||
$res_array["body"]=$body;
|
||||
return $res_array;
|
||||
|
||||
}
|
||||
|
||||
//function used to get the header and body content of the mail to be sent.
|
||||
function getcontent_week($id)
|
||||
{
|
||||
global $adb;
|
||||
$query='select vtiger_emailtemplates.subject,vtiger_emailtemplates.body from vtiger_notificationscheduler inner join vtiger_emailtemplates on vtiger_emailtemplates.templateid=vtiger_notificationscheduler.notificationbody where schedulednotificationid=6';
|
||||
$result = $adb->pquery($query, array());
|
||||
$body=$adb->query_result($result,0,'body');
|
||||
$body=getMergedDescription($body,$id,"Contacts");
|
||||
$body=getMergedDescription($body,$id,"Users");
|
||||
$res_array["subject"]=$adb->query_result($result,0,'subject');
|
||||
$res_array["body"]=$body;
|
||||
return $res_array;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* The contents of this file are subject to the SugarCRM Public License Version 1.1.2
|
||||
* ("License"); You may not use this file except in compliance with the
|
||||
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
|
||||
* the specific language governing rights and limitations under the License.
|
||||
* The Original Code is: SugarCRM Open Source
|
||||
* The Initial Developer of the Original Code is SugarCRM, Inc.
|
||||
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________.
|
||||
********************************************************************************/
|
||||
/*********************************************************************************
|
||||
* $Header: /advent/projects/wesat/vtiger_crm/sugarcrm/graph.php,v 1.1 2004/08/18 12:22:54 gjayakrishnan Exp $
|
||||
* Description: Main file and starting point for the application. Calls the
|
||||
* theme header and footer files defined for the user as well as the module as
|
||||
* defined by the input parameters.
|
||||
********************************************************************************/
|
||||
|
||||
require_once('config.php');
|
||||
require_once('include/logging.php');
|
||||
require_once('include/utils/utils.php');
|
||||
|
||||
global $default_language;
|
||||
|
||||
$log =& LoggerManager::getLogger('graph');
|
||||
$log->debug($_REQUEST);
|
||||
|
||||
if(isset($_REQUEST['action']) && isset($_REQUEST['module']))
|
||||
{
|
||||
$action = $_REQUEST['action'];
|
||||
$current_module_file = 'modules/'.$_REQUEST['module'].'/'.$action.'.php';
|
||||
$current_module = $_REQUEST['module'];
|
||||
}
|
||||
elseif(isset($_REQUEST['module']))
|
||||
{
|
||||
$current_module = $_REQUEST['module'];
|
||||
$current_module_file = 'modules/'.$_REQUEST['module'].'/Charts.php';
|
||||
}
|
||||
else {
|
||||
exit();
|
||||
}
|
||||
|
||||
$current_language = $default_language;
|
||||
if(isset($_REQUEST['current_language']))
|
||||
{
|
||||
$current_language = $_REQUEST['current_language'];
|
||||
}
|
||||
|
||||
// retrieve the translated strings.
|
||||
$app_strings = return_application_language($current_language);
|
||||
|
||||
if(isset($app_strings['LBL_CHARSET']))
|
||||
{
|
||||
$charset = $app_strings['LBL_CHARSET'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$charset = $default_charset;
|
||||
}
|
||||
|
||||
$log->info("current langugage is $current_language");
|
||||
$log->info("current module is $current_module ");
|
||||
$log->info("including $current_module_file");
|
||||
|
||||
checkFileAccess($current_module_file);
|
||||
require_once($current_module_file);
|
||||
$draw_this = new jpgraph();
|
||||
|
||||
if (isset($_REQUEST['graph'])) $graph = $_REQUEST['graph'];
|
||||
else $graph = 'default';
|
||||
|
||||
if (isset($_REQUEST['flat_array1'])) $flat_array1 = $_REQUEST['flat_array1'];
|
||||
else $flat_array1="foo,bar";
|
||||
if (isset($_REQUEST['flat_array2'])) $flat_array2 = $_REQUEST['flat_array2'];
|
||||
else $flat_array2="1,2";
|
||||
if (isset($_REQUEST['title'])) $title = $_REQUEST['title'];
|
||||
else $title="the title";
|
||||
if (isset($_REQUEST['subtitle'])) $subtitle = $_REQUEST['subtitle'];
|
||||
else $subtitle="the subtitle";
|
||||
|
||||
$log->debug("draw_this->$graph");
|
||||
$log->debug("flat_array1 is ".$flat_array1);
|
||||
$log->debug("flat_array2 is ".$flat_array2);
|
||||
$log->debug("title is ".$title);
|
||||
$log->debug("subtitle is ".$subtitle);
|
||||
|
||||
$array1 = explode(",", $flat_array1);
|
||||
$array2 = explode(",", $flat_array2);
|
||||
|
||||
$draw_this->$graph($array1, $array2, $title, $subtitle);
|
||||
?>
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*+**********************************************************************************
|
||||
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* The Original Code is: vtiger CRM Open Source
|
||||
* The Initial Developer of the Original Code is vtiger.
|
||||
* Portions created by vtiger are Copyright (C) vtiger.
|
||||
* All Rights Reserved.
|
||||
************************************************************************************/
|
||||
|
||||
include('adodb/adodb.inc.php');
|
||||
|
||||
if(version_compare(phpversion(), '5.0') < 0) {
|
||||
require_once('phpversionfail.php');
|
||||
die();
|
||||
}
|
||||
|
||||
/** Function to return a string with backslashes stripped off
|
||||
* @param $value -- value:: Type string
|
||||
* @returns $value -- value:: Type string array
|
||||
*/
|
||||
function stripslashes_checkstrings($value){
|
||||
if(is_string($value)){
|
||||
return stripslashes($value);
|
||||
}
|
||||
return $value;
|
||||
|
||||
}
|
||||
if(get_magic_quotes_gpc() == 1){
|
||||
$_REQUEST = array_map("stripslashes_checkstrings", $_REQUEST);
|
||||
$_POST = array_map("stripslashes_checkstrings", $_POST);
|
||||
$_GET = array_map("stripslashes_checkstrings", $_GET);
|
||||
|
||||
}
|
||||
|
||||
//Run command line if no web var detected
|
||||
if (!isset($_SERVER['REQUEST_METHOD'])) {
|
||||
require('install/CreateTables.inc.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!empty($_REQUEST['file'])) $the_file = $_REQUEST['file'];
|
||||
else $the_file = "welcome.php";
|
||||
|
||||
installCheckFileAccess("install/".$the_file);
|
||||
include("install/".$the_file);
|
||||
|
||||
/** Function to check the file access is made within web root directory. */
|
||||
function installCheckFileAccess($filepath) {
|
||||
global $root_directory;
|
||||
// Set the base directory to compare with
|
||||
$use_root_directory = $root_directory;
|
||||
if(empty($use_root_directory)) {
|
||||
$use_root_directory = realpath(dirname(__FILE__).'/.');
|
||||
}
|
||||
|
||||
$realfilepath = realpath($filepath);
|
||||
|
||||
/** Replace all \\ with \ first */
|
||||
$realfilepath = str_replace('\\\\', '\\', $realfilepath);
|
||||
$rootdirpath = str_replace('\\\\', '\\', $use_root_directory);
|
||||
|
||||
/** Replace all \ with / now */
|
||||
$realfilepath = str_replace('\\', '/', $realfilepath);
|
||||
$rootdirpath = str_replace('\\', '/', $rootdirpath);
|
||||
|
||||
if(stripos($realfilepath, $rootdirpath) !== 0) {
|
||||
die("Sorry! Attempt to access restricted file.");
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,225 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* The Original Code is: vtiger CRM Open Source
|
||||
* The Initial Developer of the Original Code is vtiger.
|
||||
* Portions created by vtiger are Copyright (C) vtiger.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
********************************************************************************/
|
||||
-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta content="">
|
||||
<style>
|
||||
body{
|
||||
font-family: Verdana;
|
||||
font-size:11px;
|
||||
line-height: 14px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor='white'>
|
||||
<strong>
|
||||
<p style='font-size:15px;font-family:Verdana;'>Vtiger Public Licence</p>
|
||||
</strong>
|
||||
<br>
|
||||
The vtiger Public License Version 1.1 is based on the Mozilla Public License Version 1.1
|
||||
<br>
|
||||
vtiger Public License
|
||||
Version 1.1
|
||||
<br><br>
|
||||
Copyright (c) 2004-2005 www.vtiger.com All rights reserved.
|
||||
<br><br>
|
||||
PLEASE READ THE FOLLOWING LICENSE AGREEMENT CAREFULLY. ANY USE OF SOFTWARE DOWNLOADED OR ORDERED FROM VTIGER IS PERMITTED ONLY UNDER LICENSE WITH VTIGER. BY DOWNLOADING THIS SOFTWARE YOU AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE AGREEMENT.
|
||||
<ol>
|
||||
<li>Definitions.
|
||||
<dl>
|
||||
<dd>1.0. "Commercial Use" means distribution or otherwise making the Covered Code available to a third party.
|
||||
|
||||
</dd><br><dd>1.1. ''Contributor'' means each entity that creates or contributes to the creation of Modifications.
|
||||
|
||||
</dd><br><dd>1.2. ''Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor.
|
||||
|
||||
</dd><br><dd>1.3. ''Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof.
|
||||
|
||||
</dd><br><dd>1.4. ''Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data.
|
||||
|
||||
</dd><br><dd>1.5. ''Executable'' means Covered Code in any form other than Source Code.
|
||||
|
||||
</dd><br><dd>1.6. ''Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A.
|
||||
|
||||
</dd><br><dd>1.7. ''Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.
|
||||
|
||||
</dd><br><dd>1.8. ''License'' means this document.
|
||||
<dl>
|
||||
<dd>1.8.1. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
|
||||
</dd></dl>
|
||||
</dd><br><dd>1.9. ''Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is:
|
||||
<dl>
|
||||
<dd>A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications.</dd>
|
||||
|
||||
<dd>B. Any new file that contains any part of the Original Code or previous Modifications.</dd>
|
||||
</dl>
|
||||
</dd><br><dd>1.10. ''Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License.
|
||||
|
||||
</dd><br><dd>1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
|
||||
|
||||
</dd><br><dd>1.11. ''Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge.
|
||||
|
||||
</dd><br><dd>1.12. "You'' (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, "You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
Source Code License.
|
||||
<br>
|
||||
<dl>
|
||||
<dd> 2.1.The Initial Developer Grant.<br>
|
||||
The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims:
|
||||
<dl>
|
||||
<dd>(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, and/or as part of a Larger Work; and
|
||||
|
||||
</dd><dd>(b) under Patents Claims infringed by the making, using or selling of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Code (or portions thereof).
|
||||
</dd><dd>(c) the licenses granted in this Section 2.1(a) and (b) are effective on the date Initial Developer first distributes Original Code under the terms of this License.
|
||||
|
||||
</dd><dd>(d) Notwithstanding Section 2.1(b) above, no patent license is granted: 1) for code that You delete from the Original Code; 2) separate from the Original Code; or 3) for infringements caused by: i) the modification of the Original Code or ii) the combination of the Original Code with other software or devices.
|
||||
</dd></dl>
|
||||
</dd><br><dd> 2.2. Contributor Grant.
|
||||
Subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license
|
||||
<dl>
|
||||
<dd>(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor, to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger Work; and
|
||||
|
||||
</dd><dd>(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor (or portions thereof); and 2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
|
||||
|
||||
</dd><dd>(c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first makes Commercial Use of the Covered Code.
|
||||
|
||||
</dd><dd>(d) Notwithstanding Section 2.2(b) above, no patent license is granted: 1) for any code that Contributor has deleted from the Contributor Version; 2) separate from the Contributor Version; 3) for infringements caused by: i) third party modifications of Contributor Version or ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code in the absence of Modifications made by that Contributor.
|
||||
</dd></dl>
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
Distribution Obligations.
|
||||
<br>
|
||||
<dl><dd>3.1. Application of License.
|
||||
The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5.
|
||||
|
||||
</dd><br><dd> 3.2. Availability of Source Code.
|
||||
Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party.
|
||||
|
||||
</dd><br><dd> 3.3. Description of Modifications.
|
||||
You must cause all Covered Code to which You contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code.
|
||||
|
||||
</dd><br><dd> 3.4. Intellectual Property Matters
|
||||
<dl>
|
||||
<dd>(a) Third Party Claims.
|
||||
If Contributor has knowledge that a license under a third party's intellectual property rights is required to exercise the rights granted by such Contributor under Sections 2.1 or 2.2, Contributor must include a text file with the Source Code distribution titled "LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If Contributor obtains such knowledge after the Modification is made available as described in Section 3.2, Contributor shall promptly modify the LEGAL file in all copies Contributor makes available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained.
|
||||
|
||||
</dd><dd>(b)Contributor APIs.
|
||||
If Contributor's Modifications include an application programming interface and Contributor has knowledge of patent licenses which are reasonably necessary to implement that API, Contributor must also include this information in the LEGAL file.
|
||||
|
||||
</dd><dd>(c)Representations.
|
||||
Contributor represents that, except as disclosed pursuant to Section 3.4(a) above, Contributor believes that Contributor's Modifications are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the rights conveyed by this License.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</dd><br><dd> 3.5. Required Notices.
|
||||
You must duplicate the notice in Exhibit A in each file of the Source Code. If it is not possible to put such notice in a particular Source Code file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. If You created one or more Modification(s) You may add your name as a Contributor to the notice described in Exhibit A. You must also duplicate this License in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
|
||||
|
||||
</dd><br><dd> 3.6. Distribution of Executable Versions.
|
||||
You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code or ownership rights under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
|
||||
|
||||
</dd><br><dd> 3.7. Larger Works.
|
||||
You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
Inability to Comply Due to Statute or Regulation.
|
||||
<br>
|
||||
<dl><dd>If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
Application of this License.
|
||||
<br><dl><dd>
|
||||
This License applies to code to which the Initial Developer has attached the notice in Exhibit A and to related Covered Code.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
Versions of the License.
|
||||
<br>
|
||||
<dl><dd> 6.1. New Versions.
|
||||
vtiger may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number.
|
||||
|
||||
</dd><br><dd> 6.2. Effect of New Versions.
|
||||
Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by vtiger. No one other than vtiger has the right to modify the terms applicable to Covered Code created under this License.
|
||||
|
||||
</dd><br><dd> 6.3. Derivative Works.
|
||||
If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases ''vtiger'or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the vtiger Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.)
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
DISCLAIMER OF WARRANTY.
|
||||
<dl><dd>
|
||||
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
TERMINATION.
|
||||
|
||||
<dl><dd>
|
||||
8.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
|
||||
|
||||
</dd><br><dd> 8.2. If You initiate litigation by asserting a patent infringement claim (excluding declatory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You file such action is referred to as "Participant") alleging that:
|
||||
|
||||
(a) such Participant's Contributor Version directly or indirectly infringes any patent, then any and all rights granted by such Participant to You under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively, unless if within 60 days after receipt of notice You either: (i) agree in writing to pay Participant a mutually agreeable reasonable royalty for Your past and future use of Modifications made by such Participant, or (ii) withdraw Your litigation claim with respect to the Contributor Version against such Participant. If within 60 days of notice, a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Participant to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of the 60 day notice period specified above.
|
||||
|
||||
(b) any software, hardware, or device, other than such Participant's Contributor Version, directly or indirectly infringes any patent, then any rights granted to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective as of the date You first made, used, sold, distributed, or had made, Modifications made by that Participant.
|
||||
|
||||
</dd><br><dd> 8.3. If You assert a patent infringement claim against Participant alleging that such Participant's Contributor Version directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
|
||||
|
||||
</dd><br><dd> 8.4. In the event of termination under Sections 8.1 or 8.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
LIMITATION OF LIABILITY.
|
||||
<br><dl><dd>
|
||||
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
U.S. GOVERNMENT END USERS.
|
||||
<br><dl><dd>
|
||||
The Covered Code is a ''commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ''commercial computer software'' and ''commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
MISCELLANEOUS.
|
||||
<br><dl><dd>
|
||||
This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by Indian laws (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in India, any litigation relating to this License shall be subject to the jurisdiction of the Courts in Chennai, with venue lying in Tamil Nadu State, India, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
RESPONSIBILITY FOR CLAIMS.
|
||||
<br><dl><dd>
|
||||
As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
|
||||
</dd></dl><br>
|
||||
</li><li>
|
||||
MULTIPLE-LICENSED CODE.
|
||||
<br><dl><dd>
|
||||
Initial Developer may designate portions of the Covered Code as �Multiple-Licensed�. �Multiple-Licensed� means that the Initial Developer permits you to utilize portions of the Covered Code under Your choice of the MPL or the alternative licenses, if any, specified by the Initial Developer in the file described in Exhibit A.
|
||||
</dd></dl><br>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
EXHIBIT A -vtiger Public License.
|
||||
<br><br>
|
||||
"The contents of this file are subject to the vtiger Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License."
|
||||
<br><br>
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
||||
<br><br>
|
||||
The Original Code is vtiger Outlook Plug-in.
|
||||
<br><br>
|
||||
The Initial Developer of the Original Code is vtiger. Portions created by vtiger are Copyright (C) www.vtiger.com. All Rights Reserved.
|
||||
<br><br>
|
||||
Contributor(s): ______________________________________.
|
||||
<br><br>
|
||||
[NOTE: The text of this Exhibit A may differ slightly from the text of the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications.]
|
||||
|
||||
<br><br>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,62 @@
|
||||
log4php.logger.SECURITY=FATAL,A2
|
||||
log4php.appender.A2=LoggerAppenderRollingFile
|
||||
log4php.appender.A2.MaxFileSize=3MB
|
||||
log4php.appender.A2.MaxBackupIndex=10
|
||||
log4php.appender.A2.layout=LoggerLayoutTTCC
|
||||
log4php.appender.A2.layout.ContextPrinting="true"
|
||||
log4php.appender.A2.layout.DateFormat="%c"
|
||||
log4php.appender.A2.File=logs/security.log
|
||||
|
||||
log4php.logger.INSTALL=DEBUG,A3
|
||||
log4php.appender.A3=LoggerAppenderRollingFile
|
||||
log4php.appender.A3.MaxFileSize=3MB
|
||||
log4php.appender.A3.MaxBackupIndex=10
|
||||
log4php.appender.A3.layout=LoggerLayoutTTCC
|
||||
log4php.appender.A3.layout.ContextPrinting="true"
|
||||
log4php.appender.A3.layout.DateFormat="%c"
|
||||
log4php.appender.A3.File=logs/installation.log
|
||||
|
||||
log4php.rootLogger=DEBUG,A1
|
||||
log4php.appender.A1=LoggerAppenderRollingFile
|
||||
log4php.appender.A1.MaxFileSize=3MB
|
||||
log4php.appender.A1.MaxBackupIndex=10
|
||||
log4php.appender.A1.layout=LoggerLayoutTTCC
|
||||
log4php.appender.A1.layout.ContextPrinting="true"
|
||||
log4php.appender.A1.layout.DateFormat="%c"
|
||||
log4php.appender.A1.File=logs/vtigercrm.log
|
||||
|
||||
log4php.logger.MIGRATION=DEBUG,A4
|
||||
log4php.appender.A4=LoggerAppenderRollingFile
|
||||
log4php.appender.A4.MaxFileSize=3MB
|
||||
log4php.appender.A4.MaxBackupIndex=10
|
||||
log4php.appender.A4.layout=LoggerLayoutTTCC
|
||||
log4php.appender.A4.layout.ContextPrinting="true"
|
||||
log4php.appender.A4.layout.DateFormat="%c"
|
||||
log4php.appender.A4.File=logs/migration.log
|
||||
|
||||
log4php.logger.SOAP=FATAL,A5
|
||||
log4php.appender.A5=LoggerAppenderRollingFile
|
||||
log4php.appender.A5.MaxFileSize=3MB
|
||||
log4php.appender.A5.MaxBackupIndex=10
|
||||
log4php.appender.A5.layout=LoggerLayoutTTCC
|
||||
log4php.appender.A5.layout.ContextPrinting="true"
|
||||
log4php.appender.A5.layout.DateFormat="%c"
|
||||
log4php.appender.A5.File=logs/soap.log
|
||||
|
||||
log4php.logger.PLATFORM=INFO,A6
|
||||
log4php.appender.A6=LoggerAppenderRollingFile
|
||||
log4php.appender.A6.MaxFileSize=3MB
|
||||
log4php.appender.A6.MaxBackupIndex=10
|
||||
log4php.appender.A6.layout=LoggerLayoutTTCC
|
||||
log4php.appender.A6.layout.ContextPrinting="true"
|
||||
log4php.appender.A6.layout.DateFormat="%c"
|
||||
log4php.appender.A6.File=logs/platform.log
|
||||
|
||||
log4php.logger.SQLTIME=INFO,A7
|
||||
log4php.appender.A7=LoggerAppenderRollingFile
|
||||
log4php.appender.A7.MaxFileSize=3MB
|
||||
log4php.appender.A7.MaxBackupIndex=10
|
||||
log4php.appender.A7.layout=LoggerLayoutTTCC
|
||||
log4php.appender.A7.layout.ContextPrinting="true"
|
||||
log4php.appender.A7.layout.DateFormat="%c"
|
||||
log4php.appender.A7.File=logs/sqltime.log
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,54 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* The Original Code is: vtiger CRM Open Source
|
||||
* The Initial Developer of the Original Code is vtiger.
|
||||
* Portions created by vtiger are Copyright (C) vtiger.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
********************************************************************************/
|
||||
-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta content="">
|
||||
<style>
|
||||
body{
|
||||
font-family: Verdana;
|
||||
font-size:11px;
|
||||
line-height: 14px;
|
||||
}
|
||||
.helpmessagebox {
|
||||
background-color: #FFFBCF;
|
||||
padding: 2px;
|
||||
margin: 2px 0 2px 0;
|
||||
border: 1px solid yellow;
|
||||
}
|
||||
dl, dd {
|
||||
padding: 5px 0 5px 10px;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor='white'>
|
||||
|
||||
<p style='font-size:15px;font-family:Verdana;'><b>Pre Migration Notes:</b> <span style='color: red; font-size: 11px;'>[Important]</span></p>
|
||||
|
||||
<b>Backup Your Database</b><br><hr noshade size=1>
|
||||
<dl>
|
||||
<dd> Please make sure to backup your database before proceeding with migration.
|
||||
</dd><dd> <pre class='helpmessagebox'>Example:
|
||||
mysqldump <database> -P <port> -u <username> -p > vtigerdbdump.sql</pre></dd></dl>
|
||||
|
||||
<b>Setup New Database</b> <span style='color: green; font-size: 11px;'>[Recommended]</span> <br><hr noshade size=1>
|
||||
<dl><dd>If you want to keep your working installation un-disturbed, setup new database and <br>copy the data from your earlier install. Provide this new database name during the migration step.
|
||||
</dd><dd><pre class='helpmessagebox'>Example: mysql -P <port> -u <username> -p
|
||||
mysql> CREATE DATABASE newdatabase DEFAULT CHARSET UTF8;
|
||||
mysql> USE newdatabase
|
||||
mysql> source path_to_vtigerdbdump.sql</pre></dd></dl>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
|
||||
//This file contains the commonly used variables
|
||||
|
||||
$parent_tab_info_array=array(1=>'My Home Page',2=>'Marketing',3=>'Sales',4=>'Support',5=>'Analytics',6=>'Inventory',7=>'Tools',8=>'Settings');
|
||||
|
||||
|
||||
$parent_child_tab_rel_array=array(1=>array(3,9,28,),2=>array(26,6,4,28,7,9,8,),3=>array(7,6,4,2,20,22,23,19,8,9,),4=>array(13,15,6,4,8,28,9,31,),5=>array(25,1,),6=>array(14,18,19,21,22,20,23,32,),7=>array(24,27,8,30,35,),8=>array(),);
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,112 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* The contents of this file are subject to the SugarCRM Public License Version 1.1.2
|
||||
* ("License"); You may not use this file except in compliance with the
|
||||
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
|
||||
* the specific language governing rights and limitations under the License.
|
||||
* The Original Code is: SugarCRM Open Source
|
||||
* The Initial Developer of the Original Code is SugarCRM, Inc.
|
||||
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________.
|
||||
********************************************************************************/
|
||||
/*********************************************************************************
|
||||
* $Header: /advent/projects/wesat/vtiger_crm/sugarcrm/phprint.php,v 1.5 2005/03/14 07:50:04 samk Exp $
|
||||
* Description: Main file and starting point for the application. Calls the
|
||||
* theme header and footer files defined for the user as well as the module as
|
||||
* defined by the input parameters.
|
||||
********************************************************************************/
|
||||
|
||||
if (substr(phpversion(), 0, 1) == "5") {
|
||||
ini_set("zend.ze1_compatibility_mode", "1");
|
||||
}
|
||||
|
||||
if (ini_get("allow_url_fopen") != 1) {
|
||||
die("You must have the allow_url_fopen directive in your php.ini file enabled");
|
||||
}
|
||||
|
||||
$data_print['start_tag'] = "<!-- startscrmprint -->";
|
||||
$data_print['stop_tag'] = "<!-- stopscrmprint -->";
|
||||
$data_print['default_charset'] = "utf-8";
|
||||
|
||||
require_once("config.inc.php");
|
||||
require_once("include/utils/utils.php");
|
||||
|
||||
/** Function to set, character set in the header, as given in include/language/*_lang.php
|
||||
*/
|
||||
function insert_charset_header()
|
||||
{
|
||||
global $app_strings, $default_charset;
|
||||
$charset = $default_charset;
|
||||
|
||||
if(isset($app_strings['LBL_CHARSET']))
|
||||
{
|
||||
$charset = $app_strings['LBL_CHARSET'];
|
||||
}
|
||||
header('Content-Type: text/html; charset='. $charset);
|
||||
}
|
||||
|
||||
if (!isset($_GET['action']) || !isset($_GET['module'])) {
|
||||
die("Error: invalid print link");
|
||||
}
|
||||
$record = (isset($_GET['record'])) ? $_GET['record'] : "";
|
||||
//Added activity mode for events or tasks for Back
|
||||
if($_GET['module'] == 'Activities')
|
||||
{
|
||||
$activity_mode = '&activity_mode='.vtlib_purify($_REQUEST['activity_mode']);
|
||||
}
|
||||
$url = $site_URL . "/index.php?module={$_GET['module']}&action={$_GET['action']}&record=$record$activity_mode";
|
||||
$lang_crm = (empty($_GET['lang_crm'])) ? $default_language : $_GET['lang_crm'];
|
||||
$app_strings = return_application_language($lang_crm);
|
||||
insert_charset_header();
|
||||
|
||||
$fp = @fopen($url . "&PHPSESSID=" . $_GET['jt'], "rb") or die("Error opening $url<br><br>Is your \$site_URL correct in config.php?");
|
||||
|
||||
$get = $page_str = FALSE;
|
||||
while ($data = fgets($fp, 4096)) {
|
||||
if (strpos($data, "<meta http-equiv=\"Content-Type") !== FALSE) {
|
||||
// Found character set to use
|
||||
$charset = $data;
|
||||
}
|
||||
if (strpos($data, $data_print['start_tag']) !== FALSE) {
|
||||
// Found start tag, begin collecting data
|
||||
$get = TRUE;
|
||||
}
|
||||
if ($get) {
|
||||
// Collect data into $page_str to be later processed
|
||||
$page_str .= $data;
|
||||
}
|
||||
if (strpos($data, $data_print['stop_tag']) !== FALSE) {
|
||||
// Found stop tag, stop collecting data
|
||||
$get = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
fclose($fp);
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<?php
|
||||
if (isset($charset)) {
|
||||
echo $charset . "\n";
|
||||
}
|
||||
else {
|
||||
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . $data_print['default_charset'] . "\">\n";
|
||||
}
|
||||
?>
|
||||
<style type="text/css" media="all">
|
||||
IMG { display: none; }
|
||||
.bodySmall{display: none;}
|
||||
input{ display:none; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--a href="<?php echo $url; ?>"><< <?php echo $app_strings['LBL_BACK']; ?></a><br><br-->
|
||||
<?php
|
||||
echo $page_str;
|
||||
?>
|
||||
<br><br><!--a href="<?php echo $url; ?>"><< <?php echo $app_strings['LBL_BACK']; ?></a-->
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/*+*******************************************************************************
|
||||
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* The Original Code is: vtiger CRM Open Source
|
||||
* The Initial Developer of the Original Code is vtiger.
|
||||
* Portions created by vtiger are Copyright (C) vtiger.
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>vtiger CRM 5 - PHP Version Check</title>
|
||||
<link href="include/install/install.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
|
||||
<body class="small cwPageBg" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
|
||||
|
||||
<br><br><br>
|
||||
<table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
|
||||
<tr>
|
||||
<td class="cwHeadBg" align=left> </td>
|
||||
<td class="cwHeadBg" align=right><img src="include/install/images/vtigercrm5.gif" alt="vtiger CRM 5" title="vtiger CRM 5"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
|
||||
<tr>
|
||||
<td background="include/install/images/topInnerShadow.gif" align=left><img src="include/install/images/topInnerShadow.gif" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=10 width=80% align=center>
|
||||
<tr>
|
||||
<td class="small" bgcolor="#FFFFFF" align=center>
|
||||
PHP 5.0.x or above is required. Your current PHP version is <?php echo phpversion() ?> <br/>
|
||||
Kindly upgrade the PHP installation, any try again! <br/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
|
||||
<tr>
|
||||
<td background="include/install/images/topInnerShadow.gif" align=left><img src="include/install/images/topInnerShadow.gif" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
|
||||
<tr>
|
||||
<td background="include/install/images/bottomGradient.gif"><img src="include/install/images/bottomGradient.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
|
||||
<tr>
|
||||
<td align=center><img src="include/install/images/bottomShadow.jpg"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
|
||||
|
||||
<tr>
|
||||
<td class=small align=center> <a href="http://www.vtiger.com" target="_blank">www.vtiger.com</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,21 +1,13 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* The Original Code is: vtiger CRM Open Source
|
||||
* The Initial Developer of the Original Code is vtiger.
|
||||
* Portions created by vtiger are Copyright (C) vtiger.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
//This file contains the commonly used variables
|
||||
|
||||
$tab_info_array=array('Dashboard'=>1,'Potentials'=>2,'Home'=>3,'Contacts'=>4,'Accounts'=>6,'Leads'=>7,'Documents'=>8,'Calendar'=>9,'Emails'=>10,'HelpDesk'=>13,'Products'=>14,'Faq'=>15,'Events'=>16,'Vendors'=>18,'PriceBooks'=>19,'Quotes'=>20,'PurchaseOrder'=>21,'SalesOrder'=>22,'Invoice'=>23,'Rss'=>24,'Reports'=>25,'Campaigns'=>26,'Portal'=>27,'Webmails'=>28,'Users'=>29,);
|
||||
$tab_info_array=array('Dashboard'=>1,'Potentials'=>2,'Home'=>3,'Contacts'=>4,'Accounts'=>6,'Leads'=>7,'Documents'=>8,'Calendar'=>9,'Emails'=>10,'HelpDesk'=>13,'Products'=>14,'Faq'=>15,'Events'=>16,'Vendors'=>18,'PriceBooks'=>19,'Quotes'=>20,'PurchaseOrder'=>21,'SalesOrder'=>22,'Invoice'=>23,'Rss'=>24,'Reports'=>25,'Campaigns'=>26,'Portal'=>27,'Webmails'=>28,'Users'=>29,'PBXManager'=>30,'ServiceContracts'=>31,'Services'=>32,'CustomerPortal'=>33,'FieldFormulas'=>34,'RecycleBin'=>35,'Tooltip'=>36,'Webforms'=>37,'Mobile'=>38,);
|
||||
|
||||
$tab_seq_array=array('1'=>0,'2'=>0,'3'=>0,'4'=>0,'6'=>0,'7'=>0,'8'=>0,'9'=>0,'10'=>0,'13'=>0,'14'=>0,'15'=>0,'16'=>2,'18'=>0,'19'=>0,'20'=>0,'21'=>0,'22'=>0,'23'=>0,'24'=>0,'25'=>0,'26'=>0,'27'=>0,'28'=>0,'29'=>0,);
|
||||
$tab_seq_array=array('1'=>0,'2'=>0,'3'=>0,'4'=>0,'6'=>0,'7'=>0,'8'=>0,'9'=>0,'10'=>0,'13'=>0,'14'=>0,'15'=>0,'16'=>2,'18'=>0,'19'=>0,'20'=>0,'21'=>0,'22'=>0,'23'=>0,'24'=>0,'25'=>0,'26'=>0,'27'=>0,'28'=>0,'29'=>0,'30'=>0,'31'=>0,'32'=>0,'33'=>0,'34'=>0,'35'=>0,'36'=>0,'37'=>0,'38'=>0,);
|
||||
|
||||
$tab_ownedby_array=array('1'=>1,'2'=>0,'3'=>1,'4'=>0,'6'=>0,'7'=>0,'8'=>0,'9'=>0,'10'=>1,'13'=>0,'14'=>1,'15'=>1,'16'=>0,'18'=>1,'19'=>1,'20'=>0,'21'=>0,'22'=>0,'23'=>0,'24'=>1,'25'=>1,'26'=>0,'27'=>1,'28'=>1,'29'=>1,);
|
||||
$tab_ownedby_array=array('1'=>1,'2'=>0,'3'=>1,'4'=>0,'6'=>0,'7'=>0,'8'=>0,'9'=>0,'10'=>1,'13'=>0,'14'=>1,'15'=>1,'16'=>0,'18'=>1,'19'=>1,'20'=>0,'21'=>0,'22'=>0,'23'=>0,'24'=>1,'25'=>1,'26'=>0,'27'=>1,'28'=>1,'29'=>1,'30'=>0,'31'=>0,'32'=>1,'33'=>0,'34'=>0,'35'=>0,'36'=>0,'37'=>0,'38'=>0,);
|
||||
|
||||
$action_id_array=array('Save'=>0,'SavePriceBook'=>0,'SaveVendor'=>0,'DetailViewAjax'=>1,'EditView'=>1,'PriceBookEditView'=>1,'QuickCreate'=>1,'VendorEditView'=>1,'Delete'=>2,'DeletePriceBook'=>2,'DeleteVendor'=>2,'index'=>3,'Popup'=>3,'DetailView'=>4,'PriceBookDetailView'=>4,'TagCloud'=>4,'VendorDetailView'=>4,'Import'=>5,'Export'=>6,'Merge'=>8,'ConvertLead'=>9,'DuplicatesHandling'=>10);
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*+*******************************************************************************
|
||||
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* The Original Code is: vtiger CRM Open Source
|
||||
* The Initial Developer of the Original Code is vtiger.
|
||||
* Portions created by vtiger are Copyright (C) vtiger.
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
|
||||
/** Load the configuration file common to cron tasks. */
|
||||
require_once('cron/config.cron.php');
|
||||
global $VTIGER_CRON_CONFIGURATION;
|
||||
|
||||
/**
|
||||
* To make sure we can work with command line and direct browser invocation.
|
||||
*/
|
||||
if($argv) {
|
||||
if(!isset($_REQUEST)) $_REQUEST = Array();
|
||||
|
||||
for($index = 0; $index < count($argv); ++$index) {
|
||||
$value = $argv[$index];
|
||||
if(strpos($value, '=') === false) continue;
|
||||
|
||||
$keyval = split('=', $value);
|
||||
if(!isset($_REQUEST[$keyval[0]])) {
|
||||
$_REQUEST[$keyval[0]] = $keyval[1];
|
||||
}
|
||||
}
|
||||
|
||||
/* If app_key is not set, pick the value from cron configuration */
|
||||
if(empty($_REQUEST['app_key'])) $_REQUEST['app_key'] = $VTIGER_CRON_CONFIGURATION['app_key'];
|
||||
}
|
||||
|
||||
/** All service invocation needs have valid app_key parameter sent */
|
||||
require_once('config.inc.php');
|
||||
|
||||
/** Verify the script call is from trusted place. */
|
||||
global $application_unique_key;
|
||||
if($_REQUEST['app_key'] != $application_unique_key) {
|
||||
echo "Access denied!";
|
||||
exit;
|
||||
}
|
||||
|
||||
/** Include the service file */
|
||||
$service = $_REQUEST['service'];
|
||||
if($service == 'MailScanner') {
|
||||
include_once('cron/MailScanner.service');
|
||||
}
|
||||
if($service == 'RecurringInvoice') {
|
||||
include_once('cron/modules/SalesOrder/RecurringInvoice.service');
|
||||
}
|
||||
|
||||
if($service == 'com_vtiger_workflow'){
|
||||
include_once('cron/modules/com_vtiger_workflow/com_vtiger_workflow.service');
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/*+*******************************************************************************
|
||||
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* The Original Code is: vtiger CRM Open Source
|
||||
* The Initial Developer of the Original Code is vtiger.
|
||||
* Portions created by vtiger are Copyright (C) vtiger.
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
ini_set (error_reporting,E_ALL & ~E_NOTICE );
|
||||
if(isset($_REQUEST['service']))
|
||||
{
|
||||
if($_REQUEST['service'] == "outlook")
|
||||
{
|
||||
include("soap/vtigerolservice.php");
|
||||
}
|
||||
elseif($_REQUEST['service'] == "customerportal")
|
||||
{
|
||||
include("soap/customerportal.php");
|
||||
}
|
||||
elseif($_REQUEST['service'] == "webforms")
|
||||
{
|
||||
include("soap/webforms.php");
|
||||
}
|
||||
elseif($_REQUEST['service'] == "firefox")
|
||||
{
|
||||
include("soap/firefoxtoolbar.php");
|
||||
}
|
||||
elseif($_REQUEST['service'] == "wordplugin")
|
||||
{
|
||||
include("soap/wordplugin.php");
|
||||
}
|
||||
elseif($_REQUEST['service'] == "thunderbird")
|
||||
{
|
||||
include("soap/thunderbirdplugin.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "No Service Configured for $_REQUEST[service]";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<h1>vtigerCRM Soap Services</h1>";
|
||||
echo "<li>vtigerCRM Outlook Plugin EndPoint URL -- Click <a href='vtigerservice.php?service=outlook'>here</a></li>";
|
||||
echo "<li>vtigerCRM Word Plugin EndPoint URL -- Click <a href='vtigerservice.php?service=wordplugin'>here</a></li>";
|
||||
echo "<li>vtigerCRM ThunderBird Extenstion EndPoint URL -- Click <a href='vtigerservice.php?service=thunderbird'>here</a></li>";
|
||||
echo "<li>vtigerCRM Customer Portal EndPoint URL -- Click <a href='vtigerservice.php?service=customerportal'>here</a></li>";
|
||||
echo "<li>vtigerCRM WebForm EndPoint URL -- Click <a href='vtigerservice.php?service=webforms'>here</a></li>";
|
||||
echo "<li>vtigerCRM FireFox Extension EndPoint URL -- Click <a href='vtigerservice.php?service=firefox'>here</a></li>";
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user