Skip to content

Commit 5df9cfe

Browse files
author
Gravity Forms
committed
Updates to 1.6.0
1 parent 19fc13d commit 5df9cfe

30 files changed

+81
-63
lines changed

change_log.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 1.6.0 | 2024-05-21
2+
- Added support for async (background) feed processing to improve form submission performance.
3+
- Fixed an issue that allows users to skip the client folder field when configuring the plugin.
4+
- Fixed a PHP 8.2 creation of dynamic property deprecation notice that occurs on the settings page.
5+
16
### 1.5 | 2020-09-08
27
- Added support for Gravity Forms 2.5.
38
- Fixed a PHP fatal error which occurs when accessing an existing feed which was created by a different iContact account.
@@ -41,4 +46,4 @@
4146

4247

4348
### 1.0 | 2015-05-20
44-
- It's all new!
49+
- It's all new!

class-gf-icontact.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ class GFiContact extends GFFeedAddOn {
3535
/* Members plugin integration */
3636
protected $_capabilities = array( 'gravityforms_icontact', 'gravityforms_icontact_uninstall' );
3737

38+
/**
39+
* Enabling background feed processing to prevent performance issues delaying form submission completion.
40+
*
41+
* @since 1.6
42+
*
43+
* @var bool
44+
*/
45+
protected $_async_feed_processing = true;
46+
3847
/**
3948
* Get instance of this class.
4049
*
@@ -146,6 +155,7 @@ public function plugin_settings_fields() {
146155
'name' => 'client_folder',
147156
'label' => esc_html__( 'Client Folder', 'gravityformsicontact' ),
148157
'type' => 'select',
158+
'required' => true,
149159
'choices' => version_compare( GFForms::$version, '2.5-dev-1', '>=' ) ? array( $this, 'client_folders_for_plugin_setting' ) : $this->client_folders_for_plugin_setting(),
150160
'dependency' => array( $this, 'initialize_api' ),
151161
'no_choices' => esc_html__( 'Unable to retrieve Client Folders.', 'gravityformsicontact' ),

icontact.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
Plugin Name: Gravity Forms iContact Add-On
1010
Plugin URI: https://gravityforms.com
1111
Description: Integrates Gravity Forms with iContact, allowing form submissions to be automatically sent to your iContact account.
12-
Version: 1.5
12+
Version: 1.6.0
1313
Author: Gravity Forms
1414
Author URI: https://gravityforms.com
1515
License: GPL-2.0+
1616
Text Domain: gravityformsicontact
1717
Domain Path: /languages
1818
1919
------------------------------------------------------------------------
20-
Copyright 2009-2020 rocketgenius
20+
Copyright 2009-2024 rocketgenius
2121
2222
2323
This program is free software; you can redistribute it and/or modify
@@ -35,7 +35,7 @@
3535
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3636
*/
3737

38-
define( 'GF_ICONTACT_VERSION', '1.5' );
38+
define( 'GF_ICONTACT_VERSION', '1.6.0' );
3939

4040
add_action( 'gform_loaded', array( 'GF_iContact_Bootstrap', 'load' ), 5 );
4141

includes/class-icontact.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ class iContact {
55
protected $api_url = 'https://app.icontact.com/icp/a/';
66
protected $account_id = null;
77
protected $client_folder_id = null;
8+
protected $api_username = null;
9+
protected $api_password = null;
10+
protected $app_id = null;
811

912
public function __construct( $app_id, $api_username, $api_password, $client_folder_id = null ) {
1013

-514 Bytes
Binary file not shown.
-1.49 KB
Binary file not shown.
-6.09 KB
Binary file not shown.
-6.31 KB
Binary file not shown.
-868 Bytes
Binary file not shown.
-5.96 KB
Binary file not shown.

0 commit comments

Comments
 (0)