Skip to content

Releases: GravityKit/GravityView

1.16.2.1

16 Feb 18:03
Compare
Choose a tag to compare
  • Fixed: Edit Entry calculation fields not being able to calculate values when the required fields weren't included in Edit Entry layout
  • Fixed: Prevent Section fields from being searchable
  • Fixed: Setting User Registration 3.0 "create" vs "update" feed type

1.16.2

15 Feb 22:36
Compare
Choose a tag to compare
  • Added: Support for Post Image field on the Edit Entry screen
  • Added: Now use any Merge Tags as [gravityview] parameters
  • Fixed: Support for User Registration Addon Version 3
  • Fixed: Support for rich text editor for Post Body fields
  • Fixed: Admin-only fields may get overwritten when fields aren't visible during entry edit by user (non-admin)
  • Fixed: Address fields displayed hidden inputs
  • Fixed: Merge Tag dropdown list can be too wide when field names are long
  • Fixed: When sorting, recent entries disappeared from results
  • Fixed: Searches that included apostrophes
 or ampersands returned no results
  • Fixed: Zero values not set in fields while in Edit Entry
  • Fixed: Re-calculate fields where calculation is enabled after entry is updated
  • Fixed: Warning message when Number fields not included in custom Edit Entry configurations
  • Translation updates:

Developer Notes:

  • Reminder: GravityView will soon require PHP 5.3
  • Added: gravityview/widgets/container_css_class filter to modify widget container <div> CSS class
    • Added gv-widgets-{zone} class to wrapper ({zone} will be either header or footer)
  • Fixed: Conflict with some plugins when ?action=delete is processed in the Admin (#624, reported by dcavins)
  • Fixed: Removed icon CSS class name from the table sorting icon links. Now just gv-icon instead of icon gv-icon.
  • Fixed: "Clear" search link now set to display: inline-block instead of display: block
  • Added: gravityview/common/get_entry/check_entry_display filter to disable validating whether to show entries or not against View filters
  • Fixed: GravityView_API::replace_variables no longer requires $form and $entry arguments

1.16.1

21 Jan 19:23
Compare
Choose a tag to compare
  • Fixed: GravityView prevented Gravity Forms translations from loading
  • Fixed: Field Width setting was visible in Edit Entry
  • Fixed: Don't display embedded Gravity Forms forms when editing an entry in GravityView

Developer Notes:

  • Added: gravityview_excerpt_more filter. Modify the "Read more" link used when "Maximum Words" setting is enabled and the output is truncated.
    • Removed: excerpt_more filter on textarea.php - many themes use permalink values to generate links.

1.16

14 Jan 18:48
Compare
Choose a tag to compare
  • Happy New Year! We have big things planned for GravityView in 2016, including a new View Builder. Stay tuned :-)
  • Added: Merge Tags. See all GravityView Merge Tags
    • {date_created} The date an entry was created. Read how to use it here.
    • {payment_date} The date the payment was received. Formatted using the same modifiers as {date_created}
    • {payment_status} The current payment status of the entry (ie "Processing", "Pending", "Active", "Expired", "Failed", "Cancelled", "Approved", "Reversed", "Refunded", "Voided")
    • {payment_method} The way the entry was paid for (ie "Credit Card", "PayPal", etc.)
    • {payment_amount} The payment amount, formatted as the currency (ie $75.25). Use {payment_amount:raw} for the un-formatted number (ie 75.25)
    • {currency} The currency with which the entry was submitted (ie "USD", "EUR")
    • {is_fulfilled} Whether the order has been fulfilled. Displays "Not Fulfilled" or "Fulfilled"
    • {transaction_id} the ID of the transaction returned by the payment gateway
    • {transaction_type} Indicates the transaction type of the entry/order. "Single Payment" or "Subscription".
  • Fixed: Custom merge tags not being replaced properly by GravityView
  • Fixed: Connected form links were not visible in the Data Source metabox
  • Fixed: Inaccurate "Key missing" error shown when license key is invalid
  • Fixed: Search Bar could show "undefined" search fields when security key has expired. Now, a helpful message will appear.
  • Tweak: Only show Add View button to users who are able to publish Views
  • Tweak: Reduce the number of database calls by fetching forms differently
  • Tweak: Only show license key notices to users who have capability to edit settings, and only on GravityView pages
  • Tweak: Improved load time of Views screen in the admin
  • Tweak: Make sure entry belongs to correct form before displaying
  • Tweak: Removed need for one database call per displayed entry
  • Translations, thanks to:

Developer Notes:

  • New: Added get_content() method to some GravityView_Fields subclasses. We plan on moving this to the parent class soon. This allows us to not use /templates/fields/ files for every field type.
  • New: GVCommon::format_date() function formats entry and payment dates in more ways than GFCommon::format_date
  • New: gravityview_get_terms_choices() function generates array of categories ready to be added to Gravity Forms $choices array
  • New: GVCommon::has_product_field() method to check whether a form has product fields
  • New: Added add_filter( 'gform_is_encrypted_field', '__return_false' ); before fetching entries
  • Added: gv-container-{view id} CSS class to gv_container_class() function output. This will be added to View container <div>s
  • Added: $group parameter to GravityView_Fields::get_all() to get all fields in a specified group
  • Added: gravityview_field_entry_value_{field_type}_pre_link filter to modify field values before "Show As Link" setting is applied
  • Added: Second parameter $echo (boolean) to gv_container_class()
  • Added: Use the $is_sortable GravityView_Field variable to define whether a field is sortable. Overrides using the gravityview/sortable/field_blacklist filter.
  • Fixed: gv_container_class() didn't return value
  • Fixed: Don't add link to empty field value
  • Fixed: Strip extra whitespace in gravityview_sanitize_html_class()
  • Fixed: Don't output widget structural HTML if there are no configured widgets
  • Fixed: Empty HTML <h4> label container output in List layout, even when "Show Label" was unchecked
  • Fixed: Fetching the current entry can improperly return an empty array when using GravityView_View->getCurrentEntry() in DataTables extension
  • Fixed: gravityview/sortable/formfield_{form}_{field_id} filter detailed here
  • Fixed: gravityview/sortable/field_blacklist filter docBlock fixed
  • Tweak: Set max-width: 50% for div.gv-list-view-content-image
  • Tweak: Moved gv_selected() to helper-functions.php from class-api.php

1.16-beta

08 Jan 22:30
Compare
Choose a tag to compare
1.16-beta Pre-release
Pre-release
  • Added: Merge Tags
    • {date_created} Merge Tag displays the date an entry was created. Read how to use it here.
    • {payment_date} displays Payment Date, formatted using the same modifiers as {date_created}
    • {payment_status} displays Payment Status value
    • {payment_method} displays Payment Method value
    • {payment_amount} displays Payment Amount formatted as a currency. Use {payment_amount:raw} for the unformatted number.
  • Fixed: Custom merge tags not being replaced properly by GravityView
  • Fixed: Connected form links were not visible in the Data Source metabox
  • Tweak: Only show Add View button to users who are able to publish Views
  • Tweak: Reduce the number of database calls by fetching forms differently
  • Fixed: Inaccurate "Key missing" error shown when license key is invalid
  • Fixed: Search Bar could show "undefined" search fields when security key has expired. Now, a helpful message will appear.
  • Tweak: Only show license key notices to users who have capability to edit settings, and only on GravityView pages
  • Tweak: Improved load time of Views screen in the admin
  • Tweak: Make sure entry belongs to correct form before displaying
  • Tweak: Removed need for one database call per entry

Developer Notes:

  • New: gravityview_get_terms_choices() function generates array of categories ready to be added to Gravity Forms $choices array
  • Tweak: Added gv-container-{view id} CSS class to gv_container_class() function output. This will be added to View container <div>s
  • Fixed: Fetching the current entry can improperly return an empty array when using GravityView_View->getCurrentEntry() in DataTables extension
  • New: GVCommon::has_product_field() method to check whether a form has product fields
  • New: Added add_filter( 'gform_is_encrypted_field', '__return_false' ); before fetching entries
  • Use the $is_sortable GravityView_Field variable to define whether a field is sortable. Override using the gravityview/sortable/field_blacklist filter.

1.15.2

03 Dec 08:01
Compare
Choose a tag to compare

1.15.2 on December 3

  • Fixed: Approval column not being added properly on the Form Entries screen for Gravity Forms 1.9.14.18+
  • Fixed: Select, multi-select, radio, checkbox, and post category field types should use exact match search
  • Fixed: Cannot delete entry notes from Gravity Forms Entry screen
  • Fixed: Date Range search field label not working
  • Fixed: Date Range searches did not include the "End Date" day
  • Fixed: Support Port docs not working on HTTPS sites
  • Fixed: When deleting an entry, only show "Entry Deleted" message for the deleted entry's View
  • Fixed: "Open link in a new tab or window?" setting for Paragraph Text fields
  • Fixed: Custom Labels not being used as field label in the View Configuration screen
    • Tweak: Custom Labels will be used as the field label, even when the "Show Label" checkbox isn't checked
  • Tweak: Show available plugin updates, even when license is expired
  • Tweak: Improve spacing of the Approval column on the Entries screen
  • Tweak: Added support for new accessibility labels added in WordPress 4.4

Developer Notes:

  • Fixed: Make gravityview/fields/fileupload/link_atts filter available when not using lightbox with File Uploads field
  • Renamed files:
    • includes/fields/class.field.php => includes/fields/class-gravityview-field.php
    • includes/class-logging.php => includes/class-gravityview-logging.php
    • includes/class-image.php => includes/class-gravityview-image.php
    • includes/class-migrate.php => includes/class-gravityview-migrate.php
    • includes/class-change-entry-creator.php => includes/class-gravityview-change-entry-creator.php
  • New: gravityview/delete-entry/verify_nonce Override Delete Entry nonce validation. Return true to declare nonce valid.
  • New: gravityview/entry_notes/add_note filter to modify GravityView note properties before being added
  • New: gravityview_post_type_supports filter to modify gravityview post type support values
  • New: gravityview_publicly_queryable filter to modify whether Views be accessible using example.com/?post_type=gravityview. Default: Whether the current user has read_private_gravityviews capability (Editor or Administrator by default)

1.15.1

27 Oct 23:31
Compare
Choose a tag to compare
  • New: Use {get} Merge Tags as [gravityview] attributes
  • Fixed: Edit Entry and Delete Entry links weren't working in DataTables
  • Fixed: Some Gravity Forms Merge Tags weren't working, like {embed_post:post_title}
  • Fixed: Display Checkbox and Radio field labels in the Search Bar
    • New: If you prefer how the searches looked before the labels were visible, you can set the "Label" for the search field to a blank space. That will hide the label.
    • Removed extra whitespace from search field <label>s
  • Fixed: Update the required Gravity Forms version to 1.9.9.10
  • Fixed: Section fields should not be affected by "Hide empty fields" View setting
  • Fixed: Add ability to check post custom fields for [gravityview] shortcode. This fixes issues with some themes and page builder plugins.
  • Fixed: Return type wasn't boolean for has_gravityview_shortcode() function
  • Tweak: Improve notifications logic
    • Only show notices to users with appropriate capabilities
    • Allow dismissing all notices
    • Clear dismissed notices when activating the plugin
    • Fixed showing notice to enter license key
  • Tweak: Added previously-supported {created_by:roles} Merge Tag to available tags dropdown
  • Tweak: Allow overriding gravityview_sanitize_html_class() function
  • Tweak: Make GravityView_Merge_Tags::replace_get_variables() method public
  • Tweak: Rename GravityView_Merge_Tags::_gform_replace_merge_tags() method GravityView_Merge_Tags::replace_gv_merge_tags() for clarity

1.15.00

27 Oct 23:36
Compare
Choose a tag to compare
Forgot to version bump!

1.15

17 Oct 03:29
Compare
Choose a tag to compare

= 1.15 on October 15 =

  • Added: {get} Merge Tag that allows passing data via URL to be safely displayed in Merge Tags. Learn how this works.
    • Example: When adding ?first-name=Floaty to a URL, the Custom Content My name is {get:first-name} would be replaced with My name is Floaty
  • Added: GravityView Capabilities: restrict access to GravityView functionality to certain users and roles. Learn more.
    • Fixed: Users without the ability to create Gravity Forms forms are able to create a new form via "Start Fresh"
    • Only add the Approve Entries column if user has the gravityview_moderate_entries capability (defaults to Editor role or higher)
    • Fixed: Contributors now have access to the GravityView "Getting Started" screen
  • Added: [gv_entry_link] shortcode to link directly to an entry. Learn more.
    • Existing [gv_delete_entry_link] and [gv_edit_entry_link] shortcodes will continue to work
  • Added: Ability to filter View by form in the Admin. Learn more.
  • Added: Option to delete GravityView data when the plugin is uninstalled, then deleted. Learn more.
  • Added: New support "Beacon" to easily search documentation and ask support questions
  • Added: Clear search button to the Search Widget (WP widget)
  • Fixed: number_format() PHP warning on blank Number fields
  • Fixed: {created_by} merge tags weren't being escaped using esc_html()
  • Fixed: Checkmark icons weren't always available when displaying checkbox input field
  • Fixed: When "Shorten Link Display" was enabled for Website fields, "Link Text" wasn't respected
  • Fixed: Only process "Create" Gravity Forms User Registration Addon feeds, by default the user role and the user display name format persist
  • Fixed: Error with List field Call to undefined method GF_Field::get_input_type()
  • Fixed: BuddyPress/bbPress bbp_setup_current_user() warning
  • Fixed: gravityview_is_admin_page() wasn't recognizing the Settings page as a GravityView admin page
  • Fixed: Custom Content Widgets didn't replace Merge Tags
  • Fixed: PHP Warnings
  • Fixed: WordPress Multisite fatal error when Gravity Forms not Network Activated
  • Tweak: Don't show Data Source column in Views screen to users who don't have permissions to see any of the data anyway
  • Tweak: Entry notes are now created using GravityView_Entry_Notes class
  • Tweak: Improved automated code testing
  • Tweak: Added gravityview/support_port/display filter to enable/disable displaying Support Port
  • Tweak: Added gravityview/support_port/show_profile_setting filter to disable adding the Support Port setting on User Profile pages
  • Tweak: Removed gravityview/admin/display_live_chat filter
  • Tweak: Removed gravityview_settings_capability filter
  • Tweak: Escape form name in dropdowns

1.14.3

17 Sep 18:02
Compare
Choose a tag to compare

Fixed: Issue affecting Gravity Forms User Registration Addon. Passwords were being reset when an user edited their own entry.