Releases: GravityKit/GravityView
Releases · GravityKit/GravityView
1.3
- Speed improvements - Learn more about GravityView caching
- Added caching functionality that saves results to be displayed
- Automatically clean up expired caches
- Reduce number of lookups for where template files are located
- Store the path to the permalink for future reference when rendering a View
- Improve speed of Gravity Forms fetching field values
- Modified: Allow
{all_fields}
and{pricing_fields}
Merge Tags in Custom Content field. See examples of how to use these fields. - Fixed: Message restored when creating a new View
- Fixed: Searching advanced input fields
- Fixed: Merge Tags available immediately when adding a new field
- Fixed: Issue where jQuery Cookie script wouldn't load due to
mod_security
issues. Learn more here - Fixed (hopefully): Auto-updates for WordPress Multisite
- Fixed: Clicking overlay to close field/widget settings no longer scrolls to top of page
- Fixed: Make sure Gravity Forms scripts are added when embedding Gravity Forms shortcodes in a Custom Field
- Fixed: Remove double images of Floaty in the warning message when Gravity View is disabled
- Fixed: PHP warnings related to Section field descriptions
- Fixed: When using an advanced input as a search field in the Search Bar, the label would always show the parent field's label (Eg: "Address" when it should have shown "City")
- Added:
gravityview_search_field_label
filter to allow modifying search bar labels
- Added:
- Fixed: Field label disappears on closing settings if the field title is empty
- Fixed: Sub-fields retain label after opening field settings in the View Configuration
- Modified: Allow passing an array of form IDs to
gravityview_get_entries()
- Tweak: If the View hasn't been configured yet, don't show embed shortcode in Publish metabox
- Tweak: Add version info to scripts and styles to clear caches with plugin updates
- Added: Swedish translation (thanks, @adamrehal)!
- Updated: Spanish (Mexican) translation by, @jorgepelaez, Dutch translation by @erikvanbeek, and Turkish translation by @suhakaralar
- Updated: Changed Turkish language code from
tr
totr_TR
to match WordPress locales
1.2
Wow, major update.
- Added: New Search Bar!
- No longer check boxes in each field to add a field to the search form
- Add any searchable form fields, not just fields added to the View
- Easy new drag & drop way to re-order fields
- Horizontal and Vertical layouts
- Choose how your search fields are displayed (if you have a checkbox field, for example, you can choose to have a drop-down, a multiselect field, checkboxes, radio buttons, or filter links)
- Existing search settings will be migrated over on upgrade
- Added: "Custom Content" field type
- Insert arbitrary text or HTML in a View
- Supports shortcodes (including Gravity Forms shortcodes)!
- Added: Support for Gravity Forms Section & HTML field types
- Added: Improved textarea field support. Instead of using line breaks, textareas now output with paragraphs.
- Added new
/templates/fields/textarea.php
file
- Added new
- Added: A new File Upload field setting. Force uploads to be displayed as links and not visually embedded by checking the "Display as a Link" checkbox.
- Added: Option to disable "Map It" link for the full Address field.
- New
gravityview_get_map_link()
function withgravityview_map_link
filter. To learn how to modify the map link, refer to this how-to article - The "Map It" string is now translatable
- New
- Added: When editing a View, there are now links in the Data Source box to easily access the Form: edit form, form entries, form settings and form preview
- Added: Additional information in the "Add Field" or "Add Widget" picker (also get details about an item by hovering over the name in the View Configuration)
- Added: Change Entry Creator functionality. Easily change the creator of an entry when editing the entry in the Gravity Forms Edit Entry page
- If you're using the plugin downloaded from the how-to page, you can de-activate it
- Modified: Changed translation textdomain to
gravityview
instead ofgravity-view
- Modified: Always show label by default, regardless of whether in List or Table View type
- Modified: It's now possible to override templates on a Form ID, Post ID, and View ID basis. This allows custom layouts for a specific View, rather than site-wide. See "Template File Hierarchy" in the override documentation to learn more.
- Modified: File Upload field output no longer run through
wpautop()
function - Modified: Audio and Video file uploads are now displayed using WordPress' built-in audio and video shortcodes (requires WordPress 3.6 or higher)
- Additional file type support
- Added
gravityview_video_settings
andgravityview_audio_settings
filters to modify the parameters passed to the shortcode
- Fixed: Shortcode attributes not overriding View defaults
- Fixed: Uploading and deleting files works properly in Edit Entry mode
- Fixed: Configurations get truncated when configuring Views with many fields
- Fixed: Empty
<span class="gv-field-label">
tags no longer output- Modified:
gv_field_label()
no longer returns the label with a trailing space. Instead, we use the.gv-field-label
CSS class to add spacing using CSS padding.
- Modified:
- Fixed: Conflict with Relevanssi plugin
- Fixed: If a date search isn't valid, remove the search parameter so it doesn't cause an error in Gravity Forms
- Fixed: Email field was displaying label even when email was empty.
- Settings page improvements
- When changing the license value and saving the form, GravityView now re-checks the license status
- Improved error messages
- Made license settings translatable
- Modified: Added support for Gravity Forms "Post Image" field captions, titles, and descriptions.
- Updated list of allowed image formats to include
.bmp
,.jpe
,.tiff
,.ico
- Modified:
/templates/fields/fileupload.php
file - removed the logic for how to output the different file types and moved it to thegravityview_get_files_array()
function inincludes/class-api.php
- Modified:
gv_value()
no longer needs the$field
parameter - Tweak: Fixed email setting description text.
- Tweak: Don't show Entry Link field output on single entry
- Tweak: Improved Javascript performance in the Admin
- Tweak: "Custom Label" is now shown as the field title in View Configuration
- Tweak: Fixed "Left Footer" box not properly cleared
- Tweak: Show warning if the Directory plugin is running
- Tweak: Use icon font in Edit Entry mode for the download/delete file buttons. Now stylable using
.gv-edit-entry-wrapper .dashicons
CSS class. - Updated: Turkish translation by @suhakaralar, Dutch translation by @leooosterloo, Portuguese translation by @luistinygod
1.1.6
- Fixed: Approve / Disapprove all entries using Gravity Forms bulk edit entries form (previously, only visible entries were affected)
- Added: Email field settings
- Email addresses are now encrypted by default to prevent scraping by spammers
- Added option to display email plaintext or as a link
- Added subject and body settings: when the link is clicked, you can choose to have these values pre-filled
- Added: Source URL field settings, including show as a link and custom link text
- Fixed: Empty truncated URLs no longer get shown
- Fixed: License Activation works when No-Conflict Mode is enabled
- Fixed: When creating a new View, "View Type" box was visible when there were no existing Gravity Forms
- Fixed: Fields not always saving properly when adding lots of fields with the "Add All Fields" button
- Fixed: Recognizing single entry when using WordPress "Default" Permalink setting
- Fixed: Date Created field now respects the blog's timezone setting, instead of using UTC time
- Fixed: Edit Entry issues
- Fixed form validation errors when a scheduled form has expired and also when a form has reached its entry limit
- Fixed PHP warning messages when editing entries
- When an Edit Entry form is submitted and there are errors, the submitted values stay in the form; the user won't need to fill in the form again.
- Fixed: Product sub-fields (Name, Quantity & Price) displayed properly
- Fixed: Empty entry display when using Job Board preset caused by incorrect template files being loaded
- Fixed: Files now can be deleted when a non-administrator is editing an entry
- Fixed: PHP Notices on Admin Views screen for users without edit all entries capabilities
- Modified: Added ability to customize and translate the Search Bar's date picker. You can now fully customize the date picker.
- Added: Full localization for datepicker calendar (translate the days of the week, month, etc)
- Modified: Changed year picker to +/- 5 years instead of +20/-100
- Tweak: Enabled Merge Tags for Table view "Custom CSS Class" field settings
- Tweak: In the Edit View screen, show a link icon when a field is being used as a link to the Single Entry mode
- Tweak: Added helper text when a new form is created by GravityView
- Tweak: Renamed "Description" drop zone to "Other Fields" to more accurately represent use
- Tweak: Remove all fields from a zone by holding down the Alt key while clicking the remove icon
Developers
- Modified:
template/fields/date_created.php
file - Added:
gravityview_date_created_adjust_timezone
filter to disable timezone support and use UTC (returns boolean) - Added:
get_settings()
andget_setting()
methods to theGravityView_Widget
class. This allows easier access to widget settings. - Modified: Added
gravityview_js_localization
filter to add Javascript localization - Added:
gravityview_datepicker_settings
filter to modify the datepicker settings using the setting names from the jQuery DatePicker options - Modified:
gravityview_entry_class
filter to modify the CSS class for each entry wrapper - Modified: Added
gravityview_widget_search_filters
filter to allow reordering search filters, so that they display in a different order in search widget - Modified: Addded
gravityview_default_page_size
filter to modify default page size for Views (25 by default) - Modified: Added actions to the
list-body.php
template file:gravityview_list_body_before
: Before the entry outputgravityview_entry_before
: Inside the entry wrappergravityview_entry_title_before
,gravityview_entry_title_after
: Before and after the entry title and subtitle outputgravityview_entry_content_before
,gravityview_entry_content_after
: Before and after the entry content area (image and description zones)gravityview_entry_footer_before
,gravityview_entry_footer_after
: Before and after the entry footergravityview_entry_after
: Before the entry wrapper closing taggravityview_list_body_after
: After entry output
- Modified: Added
gravityview_get_entry_ids()
function to fetch array of entry IDs (not full entry arrays) that match a search result - Tweak: Removed duplicate
GravityView_frontend::hide_field_check_conditions()
andGravityView_frontend::filter_fields()
methods - Modified: Added
get_cap_choices()
method to be used for fetching GravityView roles array
1.1.5
- Added: "Edit" link in Gravity Forms Entries screen
- Fixed: Show tooltips when No Conflict Mode is enabled
- Fixed: Merge Vars for labels in Single Entry table layouts
- Fixed: Duplicate "Edit Entry" fields in field picker
- Fixed: Custom date formatting for Date Created field
- Fixed: Searching full names or addresses now works as expected
- Fixed: Custom CSS classes are now added to cells in table-based Views
- Updated: Turkish translation by @suhakaralar
- Tweak: Redirect to Changelog instead of Getting Started if upgrading
1.1.3
1.1.2
- Added: Extensions framework to allow for extensions to auto-update
- Fixed: Entries not displaying in Visual Composer plugin editor
- Fixed: Allow using images as link to entry
- Fixed: Updated field layout in Admin to reflect actual layout of listings (full-width title and subtitle above image)
- Fixed: Editing entry updates the Approved status
- Fixed: When trying to access an entry that doesn't exist (it had been permanently deleted), don't throw an error
- Fixed: Default styles not being enqueued when embedded using the shortcode (fixes vertical pagination links)
- Fixed: Single entry queries were being run twice
- Fixed: Added Enhanced Display style in Edit Entry mode
- Modified: How single entries are accessed; now allows for advanced filtering. Converted
gravityview_get_entry()
to useGFAPI::get_entries()
instead ofGFAPI::get_entry()
- Modified: Form ID can be 0 in
gravityview_get_entries()
- Modified: Improved Edit Entry styling
- Modified: Convert to using
GravityView_View_Data::get_default_args()
instead of duplicating the settings arrays. Used for tooltips, insert shortcode dialog and View metaboxes. - Modified: Add a check for whether a view exists in
GravityView_View_Data::add_view()
- Modified: Convert
GravityView_Admin_Views::render_select_option()
to use the key as the value and the value as the label instead of using associative array withvalue
andlabel
keys. - Translation updates - thank you, everyone!
- Romanian translation by @ArianServ
- Finnish translation by @harjuja
- Spanish translation by @jorgepelaez
1.1.1
- We fixed license validation and auto-updates. Sorry for the inconvenience!
- Added: View Setting to allow users to edit only entries they created.
- Fixed: Could not edit an entry with Confirm Email fields
- Fixed: Field setting layouts not persisting
- Updated: Bengali translation by @tareqhi
- Fixed: Logging re-enabled in Admin
- Fixed: Multi-upload field button width no longer cut off
- Tweak: Added links to View Type picker to live demos of presets.
- Tweak: Added this "List of Changes" tab.
1.1
Public Launch!
- Refactored (re-wrote) View data handling. Now saves up to 10 queries on each page load.
- Fixed: Infinite loop for rendering
post_content
fields - Fixed: Page length value now respected for DataTables
- Fixed: Formatting of DataTables fields is now processed the same way as other fields. Images now work, for example.
- Modified: Removed redundant
gravityview_hide_empty_fields
filters - Fixed/Modified: Enabled "wildcard" search instead of strict search for field searches.
- Added:
gravityview_search_operator
filter to modify the search operator used by the search. - Added:
gravityview_search_criteria
filter to modify all search criteria before being passed to Gravity Forms - Added: Website Field setting to display shortened link instead of full URL
- Fixed: Form title gets replaced properly in merge tags
- Modified: Tweaked preset templates
1.0.9-beta
Forgot to tag this!
1.0.9 on July 18
- Added: Time field support, with date format default and options
- Added: "Event Listings" View preset
- Added: "Show Entry On Website" Gravity Forms form button. This is meant to be an opt-in checkbox that the user sees and can control, unlike the "Approve/Reject" button, which is designed for adminstrators to manage approval.
- Modified: Improved horizontal search widget layout
- Modified: Improved "Start Fresh" and "Switch View" visual logic when Starting Fresh and switching forms
- Fixed: Single Entry showing 404 errors
- Fixed: PHP notice on WooCommerce pages
- Fixed: Don't display empty date/time value
- Fixed: Only show Edit Entry link to logged-in users
- Fixed: Re-enabled "Minimum Gravity Forms Version" error message
- Updated: Dutch translation by @leooosterloo (100% coverage, thank you!)
- Tweak: Added "Preview" link to Data Source
- Modified: Created new
class-post-types.php
include file to handle post type & URL rewrite actions.
1.0.8.1-beta
- Fixed: DataTables
- Restored pageSize
- Prevented double-initilization
- FixedHeader & FixedColumns work (now prevent scrolling)
- Changed default Scroller height from 400 to 500px
- Fixed: Filtering by date
- Fixed: PHP warning in
gv_class()
- Fixed: Debug Bar integration not printing Warnings
- Removed settings panel tracking script
- Fixed: 1.0.8 fixes an issue accessing single entries that was introduced in 1.0.7