Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 3fd0c27

Browse files
Merge pull request #4011 from YetiForceCompany/developer
YetiForce CRM ver. 4.0.0
2 parents d0cb31c + 18db534 commit 3fd0c27

File tree

4,078 files changed

+138620
-295585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,078 files changed

+138620
-295585
lines changed

.gitignore

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
/.settings
33
/.project
44
/.buildpath
5+
/_private
56
README.md
7+
/user_privileges/cron.php
68
/cache/templates_c
79
/config/csrf_secret.php
810
/config/config_override.php
@@ -13,4 +15,12 @@ README.md
1315
/libraries/mPDF/
1416
/modules/OSSMail/roundcube/
1517
/libraries/PHPExcel/
16-
/libraries/AJAXChat/
18+
/libraries/AJAXChat/
19+
/libraries/gantt/
20+
/vendor/rmccue/
21+
/vendor/smarty/
22+
/vendor/phpmailer/
23+
/vendor/ezyang/
24+
/vendor/symfony/
25+
/vendor/doctrine/
26+
/vendor/simshaun/

.htaccess

+10-13
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RedirectMatch 403 (?i).*\.log$
1010
RewriteRule ^favicon.ico layouts/basic/skins/images/favicon.ico [L,NC]
1111
RewriteRule ^api/webservice/(.*)/(.*)/(.*)$ api/webservice.php?module=$1&action=$2&record=$3 [QSA,NC,L]
1212
RewriteRule ^api/webservice/(.*)/(.*)$ api/webservice.php?module=$1&action=$2 [QSA,NC,L]
13-
RewriteRule ^api/webservice/(.*)$ api/webservice.php?module=$1 [QSA,NC,L]
13+
RewriteRule ^api/webservice/(.*)$ api/webservice.php?action=$1 [QSA,NC,L]
1414

1515
RewriteRule ^\.well-known/carddav /api/dav.php/addressbooks/ [R]
1616
RewriteRule ^\.well-known/caldav /api/dav.php/calendars/ [R]
@@ -19,23 +19,27 @@ RedirectMatch 403 (?i).*\.log$
1919
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
2020
</ifModule>
2121
<IfModule mod_php5.c>
22-
php_flag log_errors Off
22+
#Error: 337 ,Error + Warning: 5111
23+
#php_flag error_reporting 337
24+
php_flag log_errors On
2325
php_flag display_errors Off
26+
php_value error_log cache/logs/phpError.log
2427
php_value memory_limit 512M
2528
php_flag output_buffering On
2629
php_flag zlib.output_compression Off
2730
php_flag file_uploads On
31+
php_value upload_max_filesize 100M
32+
php_value post_max_size 50M
2833

2934
#php_value max_execution_time 600
30-
#php_value max_input_time 600
31-
32-
php_flag magic_quotes_gpc Off
33-
php_flag magic_quotes_runtime Off
35+
php_value max_input_time 600
3436

3537
php_value suhosin.request.max_vars 5000
3638
php_value suhosin.post.max_vars 5000
3739
php_flag suhosin.session.encrypt Off
3840

41+
php_flag session.cookie_httponly On
42+
#php_flag session.cookie_secure On
3943
php_flag session.auto_start Off
4044
# 86400 = 3600*24
4145
php_value session.gc_maxlifetime 86400
@@ -44,13 +48,6 @@ RedirectMatch 403 (?i).*\.log$
4448
php_value session.gc_divisor 500
4549
php_value session.gc_probability 1
4650
php_value session.save_path cache/session
47-
php_value error_log cache/logs/phpError.log
48-
</IfModule>
49-
<IfModule fcgid_module.c>
50-
FcgidIOTimeout 600
51-
FcgidConnectTimeout 600
52-
FcgidBusyTimeout 600
53-
FcgidIdleTimeout 600
5451
</IfModule>
5552
########################
5653
# <FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$">

.travis.yml

+26-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
language: php
22

33
php:
4-
- 5.6
4+
- 7.1
55
- 7.0
6-
- hhvm
6+
- 5.6
77
- nightly
8+
- hhvm
89

910
matrix:
1011
fast_finish: true
1112
allow_failures:
1213
- php: hhvm
1314
- php: nightly
1415

16+
branches:
17+
only:
18+
- developer
19+
1520
services:
1621
- mysql
1722

@@ -21,30 +26,35 @@ mysql:
2126
encoding: utf8
2227

2328
before_script:
24-
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-add tests/travis.php.ini; fi
25-
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then cat tests/travis.php.ini >> /etc/hhvm/php.ini; fi
29+
- composer install
2630
- sudo wget https://phar.phpunit.de/phpunit.phar
2731
- sudo chmod +x phpunit.phar
2832
- sudo mv phpunit.phar /usr/local/bin/phpunit
2933
- phpunit --version
34+
- sudo wget https://scrutinizer-ci.com/ocular.phar
35+
- sudo chmod +x ocular.phar
36+
- sudo mv ocular.phar /usr/local/bin/ocular
3037
- mysql -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION'"
3138
- mysql -e "create database IF NOT EXISTS yetiforce;" -uroot
32-
- cp tests/copy/config.inc.php config/config.inc.php
33-
- cp tests/copy/debug.php config/debug.php
39+
- cp tests/config.inc.txt config/config.inc.php
40+
- cp tests/debug.txt config/debug.php
41+
- cp tests/developer.txt config/developer.php
3442
- cp tests/.htaccess .htaccess
3543

3644
script:
3745
- cd tests
3846
- phpunit --debug --verbose --coverage-text --coverage-clover=coverage.clover
3947

40-
after_success:
41-
- cat LoginPage.txt
42-
- cat DetailView.txt
43-
- cat ListView.txt
44-
- cat EditView.txt
48+
after_script:
49+
- cd ..
50+
- cat tests/LoginPage.txt
51+
- cat tests/DetailView.txt
52+
- cat tests/ListView.txt
53+
- cat tests/EditView.txt
54+
- cat tests/records.log
55+
- cat cache/logs/request.log
56+
- cat cache/logs/phpError.log
57+
- cat cache/logs/system.log
58+
- cat cache/logs/Importer.log
59+
- php ocular code-coverage:upload --format=php-clover coverage.clover
4560
- bash <(curl -s https://codecov.io/bash)
46-
- codecov
47-
48-
branches:
49-
only:
50-
- developer

README.md

+21-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
## YetiForceCRM [![Build Status](https://travis-ci.org/YetiForceCompany/YetiForceCRM.svg?branch=developer)](https://travis-ci.org/YetiForceCompany/YetiForceCRM) [![HHVM Status](https://img.shields.io/badge/hhvm-tested-green.svg)](https://travis-ci.org/YetiForceCompany/YetiForceCRM) [![Analytics](https://ga-beacon.appspot.com/UA-81376231-1/welcome-page)](https://github.com/igrigorik/ga-beacon) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/995e8799-f471-4d45-9e06-6d6691480b17/mini.png)](https://insight.sensiolabs.com/projects/995e8799-f471-4d45-9e06-6d6691480b17) [![Scrutinizer](https://scrutinizer-ci.com/g/YetiForceCompany/YetiForceCRM/badges/quality-score.png?b=developer)](https://scrutinizer-ci.com/g/YetiForceCompany/YetiForceCRM/)
2+
## YetiForceCRM
3+
[![Build Status](https://travis-ci.org/YetiForceCompany/YetiForceCRM.svg?branch=developer)](https://travis-ci.org/YetiForceCompany/YetiForceCRM) [![HHVM Status](https://img.shields.io/badge/hhvm-tested-green.svg)](https://travis-ci.org/YetiForceCompany/YetiForceCRM) [![Analytics](https://ga-beacon.appspot.com/UA-81376231-1/welcome-page)](https://github.com/igrigorik/ga-beacon) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/189f9068-d777-44a7-9164-9242e81df88c/mini.png)](https://insight.sensiolabs.com/projects/189f9068-d777-44a7-9164-9242e81df88c) [![Scrutinizer](https://scrutinizer-ci.com/g/YetiForceCompany/YetiForceCRM/badges/quality-score.png?b=developer)](https://scrutinizer-ci.com/g/YetiForceCompany/YetiForceCRM/) [![codecov](https://codecov.io/gh/YetiForceCompany/YetiForceCRM/branch/developer/graph/badge.svg)](https://codecov.io/gh/YetiForceCompany/YetiForceCRM)
4+
35

46
We design an innovative CRM system that is dedicated for large and medium sized companies. We dedicate it to everyone who values open source software, security and innovation. YetiForce was built on a rock-solid Vtiger foundation, but has hundreds of changes that help to accomplish even the most challenging tasks in the simplest way. Every function within the system was thought through and automated to ensure that all of them work together seamlessly and form a coherent integrity. We looked at the entire sales process and consequently refined the system, module by module. We have years of experience creating tailor made CRM software for a variety of different companies. Download it and have a first-hand experience.
57

@@ -12,22 +14,30 @@ Read the [documentation] (https://yetiforce.com/en/documentation.html) to learn
1214

1315
Join our [LinkedIn group] (https://www.linkedin.com/groups/8177576) and connect with other users and community members to discuss topics surrounding CRM and YetiForce.
1416

15-
Follow us on [Twitter](https://twitter.com/YetiForceEN) to get real-time info about new articles and functionalities.
17+
Follow us on [Twitter](https://twitter.com/YetiForceEN) or like on [FaceBook] (https://www.facebook.com/YetiForce-CRM-158646854306054/?ref=aymt_homepage_panel) to get real-time info about new articles and functionalities.
1618

17-
YetiForce CRM was orginally forked from Vtiger CRM and has mechanisms that allow to easily migrate from Vtiger to YetiForce.
19+
Visit our [online store] (https://shop.yetiforce.com/en/) with commercial modules and support packages.
1820

19-
Gallery:
21+
Where else can you find YetiForce?
22+
- [Sourceforge] (https://sourceforge.net/projects/yetiforce/)
23+
- [Softaculous] (http://www.softaculous.com/apps/erp/YetiForce)
2024

21-
![](https://yetiforce.com/images/yeti/Home_page_1.png)
25+
1. The lists of changes for previous versions of YetiForce CRM are available at [our website] (https://yetiforce.com/en/developer-documentation/changes.html).
26+
2. Check Milestone to verify release due date
27+
https://github.com/YetiForceCompany/YetiForceCRM/milestones
28+
3. Update PKG link.
29+
https://github.com/YetiForceCompany/UpdatePackages
30+
31+
YetiForce CRM was orginally forked from Vtiger CRM and has mechanisms that allow to easily migrate from Vtiger to YetiForce.
2232

23-
![](https://yetiforce.com/images/yeti/Home_page_3.png)
33+
![](https://yetiforce.com/images/yeti/1_Home_page.png)
2434

25-
![](https://yetiforce.com/images/yeti/Calendar_2.png)
35+
![](https://yetiforce.com/images/yeti/3_Home_page.png)
2636

27-
![](https://yetiforce.com/images/yeti/List_Accounts.png)
37+
![](https://yetiforce.com/images/yeti/4_Calendar.png)
2838

29-
![](https://yetiforce.com/images/yeti/Detail_Accounts.png)
39+
![](https://yetiforce.com/images/yeti/8_List_Accounts.png)
3040

31-
![](https://yetiforce.com/images/yeti/Detail_Projects_Gantt_Months.png)
41+
![](https://yetiforce.com/images/yeti/9_Detail_Accounts.png)
3242

33-
The lists of changes for previous versions of YetiForce CRM are available at [our website] (https://yetiforce.com/en/developer-documentation/changes.html).
43+
![](https://yetiforce.com/images/yeti/24_Detail_Projects_Gantt_Months.png)

api.php

+26-45
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,40 @@
11
<?php
2-
/*+*******************************************************************************
2+
/* +*******************************************************************************
33
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
44
* ("License"); You may not use this file except in compliance with the License
55
* The Original Code is: vtiger CRM Open Source
66
* The Initial Developer of the Original Code is vtiger.
77
* Portions created by vtiger are Copyright (C) vtiger.
88
* All Rights Reserved.
99
* Contributor(s): YetiForce.com
10-
********************************************************************************/
10+
* ****************************************************************************** */
1111
require_once 'config/api.php';
12-
$service = $_REQUEST['service'];
12+
$service = strip_tags($_REQUEST['service']);
1313

14-
if(isset($service))
15-
{
16-
if(!in_array($service,$enabledServices)){
17-
echo $service.' - Service is not active';
14+
if (isset($service)) {
15+
if (!in_array($service, $enabledServices)) {
16+
echo "$service - Service is not active";
1817
return;
19-
}
20-
if($service == "customerportal")
21-
{
22-
include("api/customerportal.php");
23-
}
24-
elseif($service == "mobile")
25-
{
26-
include("api/mobile.php");
2718
}
28-
elseif($service == "yetiportal")
29-
{
30-
include("api/yetiportal.php");
31-
}
32-
elseif($service == "firefox")
33-
{
34-
include("api/firefoxtoolbar.php");
35-
}
36-
elseif($service == "wordplugin")
37-
{
38-
include("api/wordplugin.php");
39-
}
40-
elseif($service == "thunderbird")
41-
{
42-
include("api/thunderbirdplugin.php");
43-
}
44-
else
45-
{
46-
echo "No Service Configured for ". strip_tags($service);
19+
20+
if ($service == "firefox") {
21+
include('api/firefoxtoolbar.php');
22+
} elseif ($service == "wordplugin") {
23+
include('api/wordplugin.php');
24+
} elseif ($service == "thunderbird") {
25+
include('api/thunderbirdplugin.php');
26+
} else {
27+
echo "No Service Configured for $service";
4728
}
48-
}
49-
else
50-
{
51-
echo "<h1>YetiForceCRM API Services</h1>";
52-
echo "<li>YetiForceCRM Yeti Portal EndPoint URL -- Click <a href='api.php?service=yetiportal'>here</a></li>";
53-
echo "<li>YetiForceCRM Outlook Plugin EndPoint URL -- Click <a href='api.php?service=outlook'>here</a></li>";
54-
echo "<li>YetiForceCRM Word Plugin EndPoint URL -- Click <a href='api.php?service=wordplugin'>here</a></li>";
55-
echo "<li>YetiForceCRM ThunderBird Extenstion EndPoint URL -- Click <a href='api.php?service=thunderbird'>here</a></li>";
56-
echo "<li>YetiForceCRM Customer Portal EndPoint URL -- Click <a href='api.php?service=customerportal'>here</a></li>";
57-
echo "<li>YetiForceCRM WebForm EndPoint URL -- Click <a href='api.php?service=webforms'>here</a></li>";
58-
echo "<li>YetiForceCRM FireFox Extension EndPoint URL -- Click <a href='api.php?service=firefox'>here</a></li>";
29+
} else {
30+
/*
31+
echo "<h1>YetiForceCRM API Services</h1>";
32+
echo "<li>YetiForceCRM Yeti Portal EndPoint URL -- Click <a href='api.php?service=yetiportal'>here</a></li>";
33+
echo "<li>YetiForceCRM Outlook Plugin EndPoint URL -- Click <a href='api.php?service=outlook'>here</a></li>";
34+
echo "<li>YetiForceCRM Word Plugin EndPoint URL -- Click <a href='api.php?service=wordplugin'>here</a></li>";
35+
echo "<li>YetiForceCRM ThunderBird Extenstion EndPoint URL -- Click <a href='api.php?service=thunderbird'>here</a></li>";
36+
echo "<li>YetiForceCRM Customer Portal EndPoint URL -- Click <a href='api.php?service=customerportal'>here</a></li>";
37+
echo "<li>YetiForceCRM WebForm EndPoint URL -- Click <a href='api.php?service=webforms'>here</a></li>";
38+
echo "<li>YetiForceCRM FireFox Extension EndPoint URL -- Click <a href='api.php?service=firefox'>here</a></li>";
39+
*/
5940
}

api/.htaccess

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
</IfModule>
1515
</Files>
1616
<IfModule mod_php5.c>
17-
php_flag display_errors Off
17+
#php_flag display_errors Off
1818
</IfModule>
1919
<Files webservice.php>
2020
<IfModule mod_rewrite.c>
2121
RewriteEngine On
2222
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
23-
RewriteRule (.*) webservice.php [L]
23+
RewriteRule .* - [E=HTTP_CONTENT_TYPE:%{HTTP:Content-Type},L]
24+
RewriteRule (.*) webservice.php [QSA,NC,L]
2425
</IfModule>
2526
</Files>

api/mobile.php

-32
This file was deleted.

0 commit comments

Comments
 (0)