-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release enhances security, introduces support for LifterLMS, adds a new CSV/TSV export widget to the View editor along with the option to add Gravity Flow fields to the Search Bar, addresses PHP 8.2 deprecation notices, fixes a conflict with BuddyBoss Platform, and improves performance with updates to essential components. #### 🚀 Added * A View editor widget to export entries in CSV or TSV formats. * Support for SVG images. * Support for Gravity Flow's "Workflow User" and "Workflow Multi-User" fields inside the Search Bar. * Integration with LifterLMS that allows embedding Views inside Student Dashboards. * Notice to inform administrators that an embedded View was moved to "trash" and an option to restore it. * Click-to-copy shortcode functionality in the View editor and when listing existing Views. #### 🐛 Fixed * PHP 8.2 deprecation notices. * Fields linked to single entry layouts are now exported as plain text values, not hyperlinks, in CSV/TSV files. * Issue preventing the saving of pages/posts with GravityView Gutenberg blocks when BuddyBoss Platform is active. #### 🔐 Security * Enhanced security by adding a `secret` attribute to shortcodes and blocks connected to Views. #### 🔧 Updated * [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.11. - GravityKit product updates are now showing on the Plugins page. - Database options that are no longer used are now automatically removed. __Developer Updates:__ * Added: `gk/gravityview/widget/search/clear-button/params` filter to modify the parameters of the Clear button in the search widget.
- Loading branch information
Showing
75 changed files
with
2,679 additions
and
1,443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,4 +138,3 @@ workflows: | |
- run_php_72_unit_tests | ||
- run_php_80_unit_tests | ||
# - run_acceptance_tests | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* Responsible for copying the short codes from the list and edit page. | ||
* @since 2.21 | ||
*/ | ||
( function ( $ ) { | ||
$( document ).on( 'ready', function () { | ||
var shortcode_clipboard = new ClipboardJS( '.gv-shortcode input.code', { | ||
text: function ( trigger ) { | ||
return $( trigger ).val(); | ||
} | ||
} ); | ||
|
||
shortcode_clipboard.on('success', function (e) { | ||
var $el = $( e.trigger ).closest( '.gv-shortcode' ).find( '.copied' ); | ||
$el.show(); | ||
setTimeout( function () { | ||
$el.fadeOut(); | ||
}, 1000 ); | ||
}); | ||
|
||
// ClipBoardJS only listens to the `click` event, so we fake that here for `Enter`. | ||
$( '.gv-shortcode input.code' ).on( 'keydown', function ( e ) { | ||
if ( 'Enter' === e.key ) { | ||
e.preventDefault(); | ||
$( this ).trigger( 'click' ); | ||
} | ||
} ); | ||
} ); | ||
} )( jQuery ); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.