Skip to content

Commit 1430752

Browse files
author
Gravity Forms
committed
Updates to 1.7.0
1 parent 421a65a commit 1430752

File tree

7 files changed

+3058
-0
lines changed

7 files changed

+3058
-0
lines changed

capsulecrm.php

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?php
2+
3+
// don't load directly
4+
if ( ! defined( 'ABSPATH' ) ) {
5+
die();
6+
}
7+
8+
/**
9+
Plugin Name: Gravity Forms Capsule CRM Add-On
10+
Plugin URI: https://gravityforms.com
11+
Description: Integrates Gravity Forms with Capsule CRM, allowing form submissions to be automatically sent to your Capsule CRM account.
12+
Version: 1.7.0
13+
Author: Gravity Forms
14+
Author URI: https://gravityforms.com
15+
License: GPL-2.0+
16+
Text Domain: gravityformscapsulecrm
17+
Domain Path: /languages
18+
19+
------------------------------------------------------------------------
20+
Copyright 2009-2023 Rocketgenius, Inc.
21+
22+
This program is free software; you can redistribute it and/or modify
23+
it under the terms of the GNU General Public License as published by
24+
the Free Software Foundation; either version 2 of the License, or
25+
(at your option) any later version.
26+
27+
This program is distributed in the hope that it will be useful,
28+
but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30+
GNU General Public License for more details.
31+
32+
You should have received a copy of the GNU General Public License
33+
along with this program; if not, write to the Free Software
34+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
35+
*/
36+
37+
define( 'GF_CAPSULECRM_VERSION', '1.7.0' );
38+
39+
add_action( 'gform_loaded', array( 'GF_CapsuleCRM_Bootstrap', 'load' ), 5 );
40+
41+
/**
42+
* Bootstraps the Capsule CRM add-on.
43+
*
44+
* @package GF_CapsuleCRM_Bootstrap
45+
*/
46+
class GF_CapsuleCRM_Bootstrap {
47+
48+
/**
49+
* Loads the main class file and registers the add-on.
50+
*
51+
* @access public
52+
*
53+
* @uses GFAddOn::register()
54+
*
55+
* @return void
56+
*/
57+
public static function load() {
58+
require_once( 'class-gf-capsulecrm.php' );
59+
GFAddOn::register( 'GFCapsuleCRM' );
60+
}
61+
62+
}
63+
64+
/**
65+
* Gets an instance of the GFCapsuleCRM class.
66+
*
67+
* @return GFCapsuleCRM
68+
*/
69+
function gf_capsulecrm() {
70+
return GFCapsuleCRM::get_instance();
71+
}

change_log.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
### 1.7.0 | 2024-01-10
2+
- Added support for async (background) feed processing to improve form submission performance.
3+
- Updated the person details custom fields settings on the feed configuration page to use the generic_map type field instead of the deprecated dynamic_field_map type field.
4+
- Fixed an issue that causes a notice to be thrown on sites running PHP 8.1.
5+
- Fixed duplicate placeholder options in field map dropdowns.
6+
7+
### 1.6 | 2021-05-06
8+
- Added a form settings menu icon for Gravity Forms 2.5.
9+
- Updated instructions on the add-on settings page to better describe where to locate your personal access token.
10+
11+
12+
### 1.5 | 2020-09-16
13+
- Fixed a PHP fatal error which can occur if a request to the Capsule CRM API fails.
14+
- Fixed an issue where escaped HTML could be included in the name, description, and detail properties of cases, opportunities, persons, and tasks.
15+
- Fixed an issue where some error logging statements were echoing to the screen instead of writing to the add-on log.
16+
17+
18+
### 1.4 | 2020-03-31
19+
- Added translations for Hebrew, Hindi, Japanese, and Turkish.
20+
- Updated stylesheets to use minified versions.
21+
- Updated feed processing to log error explaining why address is not added to object.
22+
23+
24+
### 1.3 | 2018-04-09
25+
- Added security enhancements.
26+
- Added GPL to plugin header.
27+
- Updated Plugin URI and Author URI to use https.
28+
- Updated header to be consistent with other add-ons.
29+
30+
31+
### 1.2 | 2018-01-30
32+
- Updated API library to work with version 2.0 of Capsule CRM API.
33+
- Added *gform_capsulecrm_case* filter to modify the case object before it is created.
34+
- Added *gform_capsulecrm_opportunity* filter to modify the opportunity object before it is created.
35+
- Added *gform_capsulecrm_person* filter to modify the person object before it is created/updated.
36+
- Added *gform_capsulecrm_task* filter to modify the tasks object before it is created.
37+
- Fixed a fatal PHP error which would occur if a WP_Error is returned when making a request to the Capsule CRM API.
38+
- Fixed PHP notice.
39+
- Fixed strings for translations.
40+
41+
42+
### 1.1 | 2016-07-29
43+
- Added feed duplication support.
44+
- Added support for delaying feed processing until payment by PayPal Standard is successfully completed.
45+
- Updated Capsule CRM API library to use WordPress API functions.
46+
- Updated feed processing to abort person creation if email is empty or invalid.
47+
- Updated available field types for mapping to the person first name, last name, and email.
48+
- Fixed php warnings related to Milestone setting if only one milestone exists.
49+
50+
51+
### 1.0 | 2015-07-28
52+
- It's all new!

0 commit comments

Comments
 (0)