Skip to content

Commit

Permalink
Updates to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravity Forms committed May 16, 2024
1 parent c6ecc03 commit 69c257f
Show file tree
Hide file tree
Showing 30 changed files with 72 additions and 51 deletions.
7 changes: 6 additions & 1 deletion change_log.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
## 2.1.0 | 2024-05-15
- Added Gravity Forms license key to the oAuth process.
- Added support for async (background) feed processing to improve form submission performance.
- Fixed an issue that causes a PHP deprecation notice to display on the Settings page when using PHP 8.1.

## 2.0 | 2021-07-07
- Updated authentication method for enhanced security. Important: Manual re-authentication in the add-on suggested.
- Fixed an issue where the Add-on icon is missing on the Form Settings page for Gravity Forms 2.5.
- Deprecated old authentication method. Authentication will continue to work until removed.
- Deprecated old authentication method. Authentication will continue to work until removed.


### 1.4 | 2020-09-09
Expand Down
16 changes: 16 additions & 0 deletions class-gf-trello.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,15 @@ class GFTrello extends GFFeedAddOn {
*/
protected $trello_app_key;

/**
* Enabling background feed processing to prevent performance issues delaying form submission completion.
*
* @since 2.1
*
* @var bool
*/
protected $_async_feed_processing = true;

/**
* Version of this add-on which requires re authentication with the API.
*
Expand Down Expand Up @@ -341,6 +350,12 @@ private function save_access_token( $token ) {
}

$settings = $this->get_plugin_settings();

// Here $settings could be set to false, if so then will be converted to an array.
if ( ! is_array( $settings ) ) {
$settings = array();
}

$settings['authToken'] = $token;
$settings['reauth_version'] = self::LAST_REAUTHENTICATION_VERSION; // Set the API authentication version.
$this->update_plugin_settings( $settings );
Expand Down Expand Up @@ -570,6 +585,7 @@ private function get_auth_url() {
array(
'redirect_to' => urlencode( admin_url( 'admin.php?page=gf_settings&subview=' . $this->_slug ) ),
'state' => $nonce,
'license' => GFCommon::get_key(),
),
$this->get_gravity_api_url( '/auth/trello' )
);
Expand Down
2 changes: 1 addition & 1 deletion js/admin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed languages/gravityformstrello-ar.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-ca.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-da_DK.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-de_DE.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-de_DE_formal.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-en_AU.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-en_GB.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-es_ES.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-fi.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-fr_CA.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-fr_FR.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-he_IL.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-hi_IN.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-hu_HU.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-it_IT.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-ja.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-nb_NO.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-nl_BE.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-nl_NL.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-pt_BR.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-pt_PT.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-ru_RU.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-sv_SE.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-tr_TR.mo
Binary file not shown.
Binary file removed languages/gravityformstrello-zh_CN.mo
Binary file not shown.
92 changes: 46 additions & 46 deletions languages/gravityformstrello.pot
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Copyright (C) 2021 Gravity Forms
# Copyright (C) 2024 Gravity Forms
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: Gravity Forms Trello Add-On 2.0\n"
"Project-Id-Version: Gravity Forms Trello Add-On 2.1.0\n"
"Report-Msgid-Bugs-To: https://gravityforms.com/support\n"
"Last-Translator: Gravity Forms <support@gravityforms.com>\n"
"Language-Team: Gravity Forms <support@gravityforms.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2021-07-07T14:33:00+00:00\n"
"POT-Creation-Date: 2024-05-15T16:01:02+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.4.0\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: gravityformstrello\n"

#. Plugin Name of the plugin
Expand All @@ -31,153 +31,153 @@ msgstr ""
msgid "Gravity Forms"
msgstr ""

#: class-gf-trello.php:209
#: class-gf-trello.php:218
msgid "Create Trello card only when payment is received."
msgstr ""

#: class-gf-trello.php:247
#: class-gf-trello.php:256
msgid "Access denied."
msgstr ""

#: class-gf-trello.php:277
#: class-gf-trello.php:286
msgid "Unable to revoke token at Trello."
msgstr ""

#: class-gf-trello.php:304
#: class-gf-trello.php:313
msgid "Unable to connect to Trello due to mismatched state."
msgstr ""

#: class-gf-trello.php:311
#: class-gf-trello.php:320
msgid "Unable to connect your Trello account."
msgstr ""

#: class-gf-trello.php:466
#: class-gf-trello.php:481
msgid "Authorize with Trello"
msgstr ""

#: class-gf-trello.php:518
#: class-gf-trello.php:533
msgid "Click here to authenticate your Trello account."
msgstr ""

#: class-gf-trello.php:523
#: class-gf-trello.php:538
msgid "Trello has been authenticated with your account."
msgstr ""

#: class-gf-trello.php:527
#: class-gf-trello.php:542
msgid "De-Authorize Trello"
msgstr ""

#: class-gf-trello.php:608
#: class-gf-trello.php:624
msgid "Feed Name"
msgstr ""

#: class-gf-trello.php:615
#: class-gf-trello.php:649
#: class-gf-trello.php:1123
#: class-gf-trello.php:631
#: class-gf-trello.php:665
#: class-gf-trello.php:1139
msgid "Name"
msgstr ""

#: class-gf-trello.php:616
#: class-gf-trello.php:632
msgid "Enter a feed name to uniquely identify this setup."
msgstr ""

#: class-gf-trello.php:621
#: class-gf-trello.php:1124
#: class-gf-trello.php:637
#: class-gf-trello.php:1140
msgid "Trello Board"
msgstr ""

#: class-gf-trello.php:626
#: class-gf-trello.php:642
msgid "You must have at least one Trello board in your account."
msgstr ""

#: class-gf-trello.php:630
#: class-gf-trello.php:1125
#: class-gf-trello.php:646
#: class-gf-trello.php:1141
msgid "Trello List"
msgstr ""

#: class-gf-trello.php:636
#: class-gf-trello.php:652
msgid "You must select a Trello board containing lists."
msgstr ""

#: class-gf-trello.php:641
#: class-gf-trello.php:657
msgid "Card Settings"
msgstr ""

#: class-gf-trello.php:657
#: class-gf-trello.php:673
msgid "Description"
msgstr ""

#: class-gf-trello.php:662
#: class-gf-trello.php:678
msgid "Due Date"
msgstr ""

#: class-gf-trello.php:663
#: class-gf-trello.php:679
msgid "days after today"
msgstr ""

#: class-gf-trello.php:670
#: class-gf-trello.php:686
msgid "Labels"
msgstr ""

#: class-gf-trello.php:676
#: class-gf-trello.php:692
msgid "Members"
msgstr ""

#: class-gf-trello.php:682
#: class-gf-trello.php:698
msgid "Feed Conditional Logic"
msgstr ""

#: class-gf-trello.php:688
#: class-gf-trello.php:693
#: class-gf-trello.php:704
#: class-gf-trello.php:709
msgid "Conditional Logic"
msgstr ""

#: class-gf-trello.php:689
#: class-gf-trello.php:705
msgid "Enable"
msgstr ""

#: class-gf-trello.php:690
#: class-gf-trello.php:706
msgid "Export to Trello if"
msgstr ""

#: class-gf-trello.php:694
#: class-gf-trello.php:710
msgid "When conditional logic is enabled, form submissions will only be exported to Trello when the condition is met. When disabled, all form submissions will be posted."
msgstr ""

#: class-gf-trello.php:711
#: class-gf-trello.php:727
msgid "Attachments"
msgstr ""

#: class-gf-trello.php:772
#: class-gf-trello.php:788
msgid "Select a Board"
msgstr ""

#: class-gf-trello.php:842
#: class-gf-trello.php:858
msgid "Select a List"
msgstr ""

#: class-gf-trello.php:1226
#: class-gf-trello.php:1242
msgid "Card was not created because API could not be initialized."
msgstr ""

#: class-gf-trello.php:1296
#: class-gf-trello.php:1312
msgid "Card could not be created because no name was provided."
msgstr ""

#: class-gf-trello.php:1313
#: class-gf-trello.php:1322
#: class-gf-trello.php:1329
#: class-gf-trello.php:1338
msgid "Card could not be created."
msgstr ""

#: class-gf-trello.php:1347
#: class-gf-trello.php:1363
msgid "Label could not be added to card."
msgstr ""

#: class-gf-trello.php:1389
#: class-gf-trello.php:1405
msgid "File \"%s\" could not be attached to card. %s"
msgstr ""

#. translators: 1: open <a> tag, 2: close </a> tag
#: class-gf-trello.php:1417
#: class-gf-trello.php:1433
msgid "Gravity Forms Trello requires re-authentication; %1$sPlease disconnect and re-connect%2$s to continue using this add-on."
msgstr ""
6 changes: 3 additions & 3 deletions trello.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
Plugin Name: Gravity Forms Trello Add-On
Plugin URI: https://gravityforms.com
Description: Integrates Gravity Forms with Trello
Version: 2.0
Version: 2.1.0
Author: Gravity Forms
Author URI: https://gravityforms.com
License: GPL-2.0+
Text Domain: gravityformstrello
Domain Path: /languages
------------------------------------------------------------------------
Copyright 2009-2020 Rocketgenius, Inc.
Copyright 2009-2024 Rocketgenius, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -34,7 +34,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

define( 'GF_TRELLO_VERSION', '2.0' );
define( 'GF_TRELLO_VERSION', '2.1.0' );

// If Gravity Forms is loaded, bootstrap the Trello Add-On.
add_action( 'gform_loaded', array( 'GF_Trello_Bootstrap', 'load' ), 5 );
Expand Down

0 comments on commit 69c257f

Please sign in to comment.