Skip to content

Releases: GravityKit/GravityView

1.20

24 Feb 19:00
Compare
Choose a tag to compare

1.20 on February 24, 2017

  • Added: Product Fields are now editable
    • Quantity,
    • Product fields are hidden if the entry contains external transaction data
    • Support for Coupon Addon
  • Fixed: Single Entry not accessible when filtering by a Checkbox field in the Advanced Filters Extension
  • Fixed: WPML links to Single Entry not working if using directory or sub-domain URL formats
  • Fixed: Product field prices not always formatted as a currency
  • Fixed: Product fields sometimes appeared twice in the Add Field field picker
  • Fixed: PHP warning when updating entries. Thanks for reporting, Werner!
  • Modified: Don't show CAPTCHA fields in Edit Entry
  • Fixed: "Trying to get property of non-object" bug when updating an entry connected to Gravity Forms User Registration
  • Fixed: Yoast SEO scripts and styles not loading properly on Edit View screen
  • Updated: Minimum version of Gravity Forms User Registration updated to 3.2

Developer Notes:

  • Added: GVCommon::entry_has_transaction_data() to check whether entry array contains payment gateway transaction information
  • Added: gravityview/edit_entry/hide-coupon-fields to modify whether to hide Coupon fields in Edit Entry (default: false)
  • Added: GravityView_frontend::get_view_entries_parameters() method to get the final entry search parameters for a View without fetching the entries as well
  • Added: GVCommon::get_product_field_types() to fetch Gravity Forms product field types array
  • Added: gravityview/edit_entry/field_blacklist filter to modify what field types should not be shown in Edit Entry
  • Added: GravityView_Plugin_Hooks_Gravity_Forms_Coupon class
  • Added: Third GravityView_Edit_Entry_Render parameter to gravityview/edit_entry/field_value, gravityview/edit_entry/field_value_{field_type} filters and gravityview/edit_entry/after_update action
  • Updated: list-body.php and list-single.php template files to prevent empty <div> from rendering (and looking bad) when there are no fields configured for the zones
  • Updated: fields/product.php template file
  • Updated: Flexibility library for IE CSS flexbox support
  • Modified: gravityview/edit_entry/hide-product-fields default will now be determined by whether entry has gateway transaction information
  • Modified: Only print errors when running the unit tests if the --debug setting is defined, like phpunit --debug --verbose
  • Modified: If overriding get_field_input() using GravityView_Field, returning empty value will now result in the default GF_Field input being used
  • Modified: GravityView_Edit_Entry_User_Registration::restore_display_name() now returns a value instead of void
  • Tweak: Edit Entry links no longer require page=gf_entries&view=entry at the end of the URL (in case you noticed)

1.19.4

20 Jan 05:15
Compare
Choose a tag to compare
  • GravityView requirements will soon be updated: Gravity Forms Version 2.0+, PHP 5.3+
  • Updated: GravityView now requires WordPress 4.0 or newer
  • Fixed: Search Bar search not working for states in the United States
  • Fixed: WPML conflict where Single Entry or Edit Entry screens are inaccessible
  • Fixed: Prevent PHP error when displaying GravityView using get_gravityview()
  • Updated translations:
    • 🇩🇰 Danish 100% translated
    • 🇳🇴 Norwegian 100% translated
    • 🇸🇪 Swedish translation updated

Developer Notes:

  • New: We're starting the migration to a new wrapper API that will awesome. We will be rolling out new functionality and documentation over time. For now, we are just using it to load the plugin. Very exciting time!
  • Fixed: Issue fetching image sizes when using GravityView_Image class and fetching from a site with invalid SSL cert.
  • Added: gravityview_directory_link to modify the URL to the View directory context (in GravityView_API::directory_link())

1.19.3

10 Jan 20:33
Compare
Choose a tag to compare

First update of 2017! We've got great things planned for GravityView and our Extensions. As always, contact us with any questions or feedback. We don't bite!

  • Fixed: List field inputs not loading in Edit Entry when values were empty or the field was hidden initially because of Conditional Logic
  • Fixed: Prevent Approve Entry and Delete Entry fields from being added to Edit Entry field configuration
  • Fixed: Don't render Views outside "the loop", prevents conflicts with other plugins that run the_content filter outside normal places
  • Fixed: Only display "You have attempted to view an entry that is not visible or may not exist." warning once when multiple Views are embedded on a page
  • Fixed: The [gravityview] shortcode would not be parsed properly due to HTML encoding when using certain page builders, including OptimizePress
  • Fixed: Potential errors when non-standard form fields are added to Edit Entry configurations ("Creating default object from empty value" and "Cannot use object of type stdClass as array")
  • Updated translations:
    • 🇨🇳 Chinese 100% translated (thank you, Michael Edi!)
    • 🇫🇷 French 100% translated
    • 🇧🇷 Brazilian Portuguese 100% translated (thanks, Rafael!)
    • 🇳🇱 Dutch translation updated (thank you, Erik van Beek!)
    • 🇸🇪 Swedish translation updated
    • Updated Spanish (Spain + Mexican) and German (de + de_DE) with each other

Developer Notes:

  • GVCommon::get_form_from_entry_id() now correctly fetches forms with any status
  • Moved GravityView_Support_Port::get_related_plugins_and_extensions() to GV_License_Handler class
  • Updated the install.sh bash script
    • The 6th parameter now prevents database creation, and the 7th is the Gravity Forms source file
    • Script no longer breaks if there is a space in a directory name
    • /tmp/ is no longer created in the GravityView directory; it's installed in the server's /tmp/ directory
  • Fixed Travis CI integration

1.19.2

22 Dec 17:12
Compare
Choose a tag to compare
  • Added: Search Bar now supports displaying State and Country fields as Select, List, or Radio input types (before, only text fields)
  • Fixed: Single entries not accessible when a View has filters based on Gravity Forms "Advanced" fields like Address and Name
  • Added: There is now a warning when a View tab has not been configured. The question "Why aren't my entries showing up?" is often due to a lack of configuration.
  • Added: Notice for future PHP requirements.
    • Reminder: GravityView will soon require PHP 5.3. 97.6% of sites are already compatible.
  • Fixed: Conflict with another plugin that prevented the Field Settings from being reachable in the Edit View screen
  • Fixed: GravityView widgets repeating twice for some customers

Developer Notes:

  • Added: GravityView_View::getContextFields() method allows fetching the fields configured for each View context (directory, single, edit)
    • Modified: templates/list-body.php and templates/list-single.php to add a check for context fields before rendering
  • Added: $field_id as fourth argument passed to gravityview/extension/search/input_type filter
  • Added: Added $cap and $object_id parameters to GVCommon::generate_notice() to be able to check caps before displaying a notice

1.19.1

15 Nov 22:42
Compare
Choose a tag to compare
  • Fixed: When creating a new View, the "form doesn't exist" warning would display

1.19

14 Nov 23:05
Compare
Choose a tag to compare
  • New: Front-end entry moderation! You can now approve and disapprove entries from the front of a View - learn how to use front-end entry approval
    • Add entry moderation to your View with the new "Approve Entries" field
    • Displaying the current approval status by using the new "Approval Status" field
    • Views have a new "Show all entries to administrators" setting. This allows administrators to see entries with any approval status. Learn how to use this new setting
  • Fixed: Approval values not updating properly when using the "Approve/Reject" and "User Opt-In" fields
  • Tweak: Show inactive forms in the Data Source form dropdown
  • Tweak: If a View is connected to a form that is in the trash or does not exist, an error message is now shown
  • Tweak: Don't show "Lost in space?" message when searching existing Views
  • Added: New Russian translation - thank you, George Kovalev!

Developer Notes:

  • Added: field-approval.css CSS file. Learn how to override the design here.
  • Modified: Removed the bottom border on the "No Results" text (.gv-no-results CSS selector)
  • Fixed: Deprecated get_bloginfo() usage

1.18.1

03 Nov 22:20
Compare
Choose a tag to compare
  • Updated: 100% Chinese translation—thank you Michael Edi!
  • Fixed: Entry approval not working when using custom entry slugs
  • Fixed: Undefined index: is_active warning is shown when editing entries with User Registration Addon active
  • Fixed: Strip extra whitespace in Entry Note field templates

1.18

12 Oct 05:24
Compare
Choose a tag to compare
  • Updated minimum requirements: WordPress 3.5, Gravity Forms 1.9.14
  • Modified: Entries that are unapproved (not approved or disapproved) are shown as yellow circles
  • Added: Shortcut to create a View for an existing form
  • Added: Entry Note emails now have a message "This note was sent from {url}" to provide context for the note recipient
  • Fixed: Edit Entry did not save other field values when Post fields were in the Edit Entry form
  • Fixed: When using "Start Fresh" View presets, form fields were not being added to the "Add Field" field picker
  • Fixed: Hidden visible inputs were showing in the "Add Field" picker (for example, the "Middle Name" input was hidden in the Name field, but showing as an option)
  • Fixed: Fatal error when editing Post Content and Post Image fields
  • Fixed: Lightbox images not loading
  • Fixed: Lightbox loading indicator displaying below the overlay
  • Fixed: "New form created" message was not shown when saving a draft using a "Start Fresh" View preset
  • Gravity Forms User Registration Addon changes:
    • Gravity Forms User Registration 2.0 is no longer supported
    • Fixed Processing "Update User" feeds
    • Fixed: Inactive User Registration feeds were being processed
    • Fixed: User Registration "Update User" feeds were being processed, even if the Update Conditions weren't met
    • Fixed: Unable to use gravityview/edit_entry/user_registration/trigger_update filter
  • Fixed: Prevent negative entry counts when approving and disapproving entries
  • Fixed: PHP notice when WooCommerce Memberships is active
  • Tweak: Entry Note emails now have paragraphs automatically added to them
  • Tweak: When the global "Show Support Port" setting is "Hide", always hide; if set to "Show", respect each user's Support Port display preference
  • Updated: Complete German translation—thank you hubert123456!

Developer Notes

  • Migrated is_approved entry meta values; statuses are now managed by the GravityView_Entry_Approval_Status class
    • "Approved" => 1, use GravityView_Entry_Approval_Status::APPROVED constant
    • "0" => 2, use GravityView_Entry_Approval_Status::DISAPPROVED constant
    • Use $new_value = GravityView_Entry_Approval_Status::maybe_convert_status( $old_value ) to reliably translate meta values
  • Added: GVCommon::get_entry_id() method to get the entry ID from a slug or ID
  • Added: gravityview_go_back_url filter to modify the link URL used for the single entry back-link in gravityview_back_link() function
  • Added: gravityview/field/notes/wpautop_email filter to disable wpautop() on Entry Note emails
  • Added: $email_footer to the gravityview/field/notes/email_content filter content
  • Modified: note-add-note.php template: added current-url hidden field
  • Modified: list-single.php template file: added .gv-grid-col-1-3 CSS class to the .gv-list-view-content-image container
  • Fixed: Mask the Entry ID in the link to lightbox files

1.17.4

07 Sep 21:41
Compare
Choose a tag to compare
  • Added: Support for editing Gravity Perks Unique ID fields
  • Fixed: Issue searching and sorting fields with multiple inputs (like names)
  • Fixed: Restore Gravity Forms Quiz Addon details in the field picker

Developer Notes

  • Added: gravityview_get_directory_widgets(), gravityview_set_directory_widgets() wrapper functions to get and set View widget configurations
  • Added: Second $apply_filter parameter to GVCommon::get_directory_fields() function to set whether or not to apply the gravityview/configuration/fields filter

1.17.3

31 Aug 21:01
Compare
Choose a tag to compare
  • Added: Search Bar support for Gravity Forms Survey fields: filter by survey responses
  • Added: Search Bar support for Gravity Flow: search entries by the current Step, Step Status, or Workflow Status
  • Added: [gvlogic] and other shortcodes now can be used inside Email field settings content
  • Added: Support for embedding Views in the front page of a site; the GravityView - Allow Front Page Views plugin is no longer required
  • Tweak: In Edit View, holding down the option (or alt) key while switching forms allows you to change forms without resetting field configurations - this is useful if you want to switch between duplicate forms
  • Fixed: Restored correct Gravity Flow status and workflow values
  • Fixed: Conflict when editing an entry in Gravity Flow
  • Fixed: Tooltip title text of the field and widget "gear" icon
  • Changed the plugin author from "Katz Web Services, Inc." to "GravityView" - it seemed like it was time!

Developer Notes

  • Modified: gravityview_get_forms() function and GVCommon::get_forms() method to be compatible with GFAPI::get_forms(). Now accepts $active and $trash arguments, as well as returning all form data (not just id and title keys)
  • Modified: template/fields/post_image.php file to use gravityview_get_link() to generate the anchor link
  • Modified: rel="noopener noreferrer" now added to all links generated using gravityview_get_link() with target="_blank". This fixes a generic security issue (not specific to GravityView) when displaying links to submitted websites and "Open link in new window" is checked - read more about it here
  • Modified: Don't convert underscores to periods if not numeric in GravityView_Widget_Search::prepare_field_filter() - this fixes searching entry meta
  • Modified: Added third gravityview_search_field_label parameter: $field - it's the field configuration array passed by the Search Bar
  • Modified: HTML tags are now stripped from Email field body and subject content
  • Modified: Moved GravityView_Admin_View_Item, GravityView_Admin_View_Field, and GravityView_Admin_View_Widget to their own files
  • Added: Deprecation notices for methods that haven't been used since Version 1.2!