Skip to content

Commit 69c257f

Browse files
author
Gravity Forms
committed
Updates to 2.1.0
1 parent c6ecc03 commit 69c257f

30 files changed

+72
-51
lines changed

change_log.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
## 2.1.0 | 2024-05-15
2+
- Added Gravity Forms license key to the oAuth process.
3+
- Added support for async (background) feed processing to improve form submission performance.
4+
- Fixed an issue that causes a PHP deprecation notice to display on the Settings page when using PHP 8.1.
5+
16
## 2.0 | 2021-07-07
27
- Updated authentication method for enhanced security. Important: Manual re-authentication in the add-on suggested.
38
- Fixed an issue where the Add-on icon is missing on the Form Settings page for Gravity Forms 2.5.
4-
- Deprecated old authentication method. Authentication will continue to work until removed.
9+
- Deprecated old authentication method. Authentication will continue to work until removed.
510

611

712
### 1.4 | 2020-09-09

class-gf-trello.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,15 @@ class GFTrello extends GFFeedAddOn {
161161
*/
162162
protected $trello_app_key;
163163

164+
/**
165+
* Enabling background feed processing to prevent performance issues delaying form submission completion.
166+
*
167+
* @since 2.1
168+
*
169+
* @var bool
170+
*/
171+
protected $_async_feed_processing = true;
172+
164173
/**
165174
* Version of this add-on which requires re authentication with the API.
166175
*
@@ -341,6 +350,12 @@ private function save_access_token( $token ) {
341350
}
342351

343352
$settings = $this->get_plugin_settings();
353+
354+
// Here $settings could be set to false, if so then will be converted to an array.
355+
if ( ! is_array( $settings ) ) {
356+
$settings = array();
357+
}
358+
344359
$settings['authToken'] = $token;
345360
$settings['reauth_version'] = self::LAST_REAUTHENTICATION_VERSION; // Set the API authentication version.
346361
$this->update_plugin_settings( $settings );
@@ -570,6 +585,7 @@ private function get_auth_url() {
570585
array(
571586
'redirect_to' => urlencode( admin_url( 'admin.php?page=gf_settings&subview=' . $this->_slug ) ),
572587
'state' => $nonce,
588+
'license' => GFCommon::get_key(),
573589
),
574590
$this->get_gravity_api_url( '/auth/trello' )
575591
);

js/admin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

languages/gravityformstrello-ar.mo

-512 Bytes
Binary file not shown.

languages/gravityformstrello-ca.mo

-3.61 KB
Binary file not shown.
-3.5 KB
Binary file not shown.
-3.64 KB
Binary file not shown.
-866 Bytes
Binary file not shown.
-3.44 KB
Binary file not shown.
-3.44 KB
Binary file not shown.

0 commit comments

Comments
 (0)